From 4e8ded7cb86a9f5fe5a3dc00de3a62967fcaffc7 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 7 Sep 2012 13:41:01 +0200 Subject: [PATCH] Minor changes --- events/admin.py | 3 ++- prawokultury/helpers.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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') -- 2.20.1