X-Git-Url: https://git.mdrn.pl/django-migdal.git/blobdiff_plain/d57965a38ccf06862015247092906eaa90fcfb5a..336f39228c9206e9ff728b65f14d838076452a13:/migdal/admin.py diff --git a/migdal/admin.py b/migdal/admin.py index a03d16c..cf1c514 100644 --- a/migdal/admin.py +++ b/migdal/admin.py @@ -46,7 +46,7 @@ def filtered_entry_admin(typ): (None, { 'fields': _promo_if_necessary + ( 'in_stream', 'author', 'author_email', 'canonical_url', 'image', - 'date', 'first_published_at', 'changed_at') + 'date', 'first_published_at', 'changed_at', 'gallery') }), ) + tuple( (ln, {'fields': ( @@ -56,6 +56,8 @@ def filtered_entry_admin(typ): 'slug_%s' % lc, 'lead_%s' % lc, 'body_%s' % lc, + 'place_%s' % lc, + 'time_%s' % lc, )}) for lc, ln in app_settings.OBLIGATORY_LANGUAGES ) + tuple( @@ -66,6 +68,8 @@ def filtered_entry_admin(typ): 'slug_%s' % lc, 'lead_%s' % lc, 'body_%s' % lc, + 'place_%s' % lc, + 'time_%s' % lc, )}) for lc, ln in app_settings.OPTIONAL_LANGUAGES )