From ac4f5efc4f8dbbb85b43c17e605cf699e89e0dff Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Mon, 10 Mar 2008 17:50:30 +0000 Subject: [PATCH] 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 --- django/contrib/comments/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/comments/models.py b/django/contrib/comments/models.py index 06309b05da..f1a0bc5f48 100644 --- a/django/contrib/comments/models.py +++ b/django/contrib/comments/models.py @@ -307,7 +307,7 @@ class FreeCommentAdmin(admin.ModelAdmin): fieldsets = ( (None, {'fields': ('content_type', 'object_id', 'site')}), ('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_filter = ('submit_date',)