summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Rosner <brosner@gmail.com>2008-03-10 17:50:30 +0000
committerBrian Rosner <brosner@gmail.com>2008-03-10 17:50:30 +0000
commitac4f5efc4f8dbbb85b43c17e605cf699e89e0dff (patch)
tree95020c9a78145b54ea205ed6a62207237810df81
parentdac6f2d37b3b1447cd1aced0567be3b361551dfb (diff)
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
-rw-r--r--django/contrib/comments/models.py2
1 files changed, 1 insertions, 1 deletions
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',)