From 5843ceb89bdc7476541244a2d865ce8dcf124492 Mon Sep 17 00:00:00 2001 From: yomguy Date: Thu, 3 Jan 2013 10:05:49 +0100 Subject: [PATCH] add admin search feilds for seminars --- teleforma/admin.py | 4 +++- teleforma/locale/fr/LC_MESSAGES/django.mo | Bin 11963 -> 11963 bytes teleforma/locale/fr/LC_MESSAGES/django.po | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/teleforma/admin.py b/teleforma/admin.py index c1a88651..423595f1 100644 --- a/teleforma/admin.py +++ b/teleforma/admin.py @@ -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',) } diff --git a/teleforma/locale/fr/LC_MESSAGES/django.mo b/teleforma/locale/fr/LC_MESSAGES/django.mo index 0c31e6d119682af092bf3eb46c97497098586310..e82761a721e241e07832a19578ad9d35aca839d3 100644 GIT binary patch delta 37 tcmdlTyE}HnVtE!zD^t_W%jGXK@%iPK7Aqv@=anQTm!uYL?ocx30RR^Q4g>%I delta 37 tcmdlTyE}HnVtE!LD?^LT%jGXK@j2(`l_VyYq*m$X<(C$3?ocx30RR_p4iNwV diff --git a/teleforma/locale/fr/LC_MESSAGES/django.po b/teleforma/locale/fr/LC_MESSAGES/django.po index 57dcdd52..8bf1cc70 100644 --- a/teleforma/locale/fr/LC_MESSAGES/django.po +++ b/teleforma/locale/fr/LC_MESSAGES/django.po @@ -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 \n" "Language-Team: LANGUAGE \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 -- 2.39.5