Ticket #7329: admin_classes.diff
File admin_classes.diff, 1.1 KB (added by , 16 years ago) |
---|
-
django/contrib/flatpages/models.py
26 26 (None, {'fields': ('url', 'title', 'content', 'sites')}), 27 27 (_('Advanced options'), {'classes': 'collapse', 'fields': ('enable_comments', 'registration_required', 'template_name')}), 28 28 ) 29 list_filter = ('sites',) 29 list_display = ('url', 'title') 30 list_filter = ('sites', 'enable_comments', 'registration_required') 30 31 search_fields = ('url', 'title') 31 32 32 33 def __unicode__(self): -
django/contrib/redirects/models.py
17 17 ordering = ('old_path',) 18 18 19 19 class Admin: 20 list_display = ('old_path', 'new_path') 20 21 list_filter = ('site',) 21 22 search_fields = ('old_path', 'new_path')