debug=True changes behavior of admin "fields"

2010-08-16 Thread Jerry Stratton
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

Re: debug=True changes behavior of admin "fields"

2010-08-16 Thread Karen Tracey
On Mon, Aug 16, 2010 at 5:48 PM, Jerry Stratton wrote: > I have this in my admin.py: > > > class TutorialAdmin(admin.ModelAdmin): >fields = ( >('title', 'category'), >'description', >'tags' >) > admin.site.register(Tutorial, Tutorial

Re: debug=True changes behavior of admin "fields"

2010-08-16 Thread Jerry Stratton
On Aug 16, 3:43 pm, Karen Tracey wrote: > So yes, the ImproperlyConfigured error is something you will only get with > DEBUG on. But I would expect that the effect of the problem it identified > would be seen at some point when you try using the admin with DEBUG off. > That is, I'd expect you to h

Re: debug=True changes behavior of admin "fields"

2010-08-20 Thread Ramiro Morales
On Tue, Aug 17, 2010 at 1:34 AM, Jerry Stratton wrote: > On Aug 16, 3:43 pm, Karen Tracey wrote: >> So yes, the ImproperlyConfigured error is something you will only get with >> DEBUG on. But I would expect that the effect of the problem it identified >> would be seen at some point when you try u