From: Radek Czajka Date: Fri, 7 Sep 2012 11:41:01 +0000 (+0200) Subject: Minor changes X-Git-Url: https://git.mdrn.pl/prawokultury.git/commitdiff_plain/4e8ded7cb86a9f5fe5a3dc00de3a62967fcaffc7?ds=sidebyside;hp=7a47f04940f28745309716d725b63a8278b29e62 Minor changes --- diff --git a/events/admin.py b/events/admin.py index 0cac1e0..794fa52 100644 --- a/events/admin.py +++ b/events/admin.py @@ -21,9 +21,10 @@ class EventAdmin(admin.ModelAdmin): for lc, ln in settings.LANGUAGES ) list_display = translated_fields( - ('title', 'place', 'organizer'), settings.LANGUAGES + ('title', 'place', 'organizer', 'published'), settings.LANGUAGES ) + ('date',) date_hierarchy = 'date' + list_filter = translated_fields(('published',)) admin.site.register(Event, EventAdmin) diff --git a/prawokultury/helpers.py b/prawokultury/helpers.py index 5877e0b..bc11990 100644 --- a/prawokultury/helpers.py +++ b/prawokultury/helpers.py @@ -19,7 +19,7 @@ def textile_pl(text): def textile_restricted_pl(text): return TextilePL(restricted=True, lite=True, - noimage=True, auto_link=False).textile( + noimage=True, auto_link=True).textile( text, rel='nofollow')