I have this in my admin.py:
class TutorialAdmin(admin.ModelAdmin): fields = ( ('title', 'category'), 'description', 'tags' ) admin.site.register(Tutorial, TutorialAdmin) It works fine when DEBUG = False in settings.py, but it fails when DEBUG = True. ImproperlyConfigured at /admin/tutorials/tutorial/ 'TutorialAdmin.fields' refers to field '('title', 'category')' that is missing from the form. I've switched to using the more complicated fieldsets for now; but it seems odd that this syntax for 'fields' fails only when DEBUG is on. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.