]> git.parisson.com Git - teleforma.git/commitdiff
add admin search feilds for seminars
authoryomguy <yomguy@parisson.com>
Thu, 3 Jan 2013 09:05:49 +0000 (10:05 +0100)
committeryomguy <yomguy@parisson.com>
Thu, 3 Jan 2013 09:05:49 +0000 (10:05 +0100)
teleforma/admin.py
teleforma/locale/fr/LC_MESSAGES/django.mo
teleforma/locale/fr/LC_MESSAGES/django.po

index c1a88651418459e3fdb23e283945f851c0ca6259..423595f1ca36fcf26694260089bb8e575671f34b 100644 (file)
@@ -71,7 +71,9 @@ class SeminarAdmin(admin.ModelAdmin):
     inlines = [SeminarQuestionInline,]
     filter_horizontal = ['professor', 'media', 'media_preview', 
                          'docs_1', 'docs_2', 'docs_correct']
-
+    ordering = ['course', 'rank']
+    search_fields = ['course__title', 'title', 'sub_title']
+    
     class Media:
         css = { 'all': ('admin/extra.css',) }
 
index 0c31e6d119682af092bf3eb46c97497098586310..e82761a721e241e07832a19578ad9d35aca839d3 100644 (file)
Binary files a/teleforma/locale/fr/LC_MESSAGES/django.mo and b/teleforma/locale/fr/LC_MESSAGES/django.mo differ
index 57dcdd525c6ee0cd6bc77caa437f0e9187bd5ad9..8bf1cc709ab685d5291934b07db301cb6b3a02bd 100644 (file)
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-01-03 02:18+0100\n"
+"POT-Creation-Date: 2013-01-03 09:55+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Guillaume Pellerin <yomguy@parisson.com>\n"
 "Language-Team: LANGUAGE <lists@parisson.com>\n"
@@ -1249,7 +1249,7 @@ msgstr "Bureau"
 
 #: templates/telemeta/base.html:104
 msgid "Contact us"
-msgstr "Contactez-nous"
+msgstr "Nous contacter"
 
 #: templates/telemeta/base.html:107 templates/telemeta/users.html:6
 #: templates/telemeta/users.html.py:43