X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/4e8ded7cb86a9f5fe5a3dc00de3a62967fcaffc7..9eaf434d4f4cb1c33e0df21bbc2af1136f1d3317:/events/admin.py?ds=inline diff --git a/events/admin.py b/events/admin.py index 794fa52..2d85789 100644 --- a/events/admin.py +++ b/events/admin.py @@ -4,13 +4,13 @@ # from django.conf import settings from django.contrib import admin +from fnpdjango.utils.models.translation import translated_fields from events.models import Event -from migdal.helpers import translated_fields class EventAdmin(admin.ModelAdmin): fieldsets = ( - (None, {'fields': ('date', 'link')}), + (None, {'fields': ('date', 'date_end', 'link')}), ) + tuple( (ln, {'fields': ( ('published_%s' % lc),