1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

newforms-admin: Fixed #6185. Removed submit_date from FreeComment ModelAdmin as it is not an editable field.

git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Brian Rosner 2008-03-10 17:50:30 +00:00
parent dac6f2d37b
commit ac4f5efc4f

View File

@ -307,7 +307,7 @@ class FreeCommentAdmin(admin.ModelAdmin):
fieldsets = ( fieldsets = (
(None, {'fields': ('content_type', 'object_id', 'site')}), (None, {'fields': ('content_type', 'object_id', 'site')}),
('Content', {'fields': ('person_name', 'comment')}), ('Content', {'fields': ('person_name', 'comment')}),
('Meta', {'fields': ('submit_date', 'is_public', 'ip_address', 'approved')}), ('Meta', {'fields': ('is_public', 'ip_address', 'approved')}),
) )
list_display = ('person_name', 'submit_date', 'content_type', 'get_content_object') list_display = ('person_name', 'submit_date', 'content_type', 'get_content_object')
list_filter = ('submit_date',) list_filter = ('submit_date',)