Re: A confusing traceback.

2009-07-24 Thread cornjuliox
Thanks. On Jul 24, 11:04 pm, Daniel Roseman wrote: > On Jul 24, 3:13 pm, cornjuliox wrote: > > > > File "C:\Blog2\..\Blog2\Engine2\models.py" in save > >   48.         super(Entry).save() > > > Exception Type: AttributeError at /admin_add/ > > Exception Value: 'super' object has no attribute '

Re: A confusing traceback.

2009-07-24 Thread Daniel Roseman
On Jul 24, 3:13 pm, cornjuliox wrote: > File "C:\Blog2\..\Blog2\Engine2\models.py" in save >   48.         super(Entry).save() > > Exception Type: AttributeError at /admin_add/ > Exception Value: 'super' object has no attribute 'save' > > Am I not supposed to be using 'super' here? The signatur

A confusing traceback.

2009-07-24 Thread cornjuliox
Could someone lend a hand? Instead of using the built-in admin interface, I'm trying to build an 'admin page' of my own using ModelForms, but the problem is that the SlugField won't prepopulate like it does with the default admin so I've resorted to overriding the save() method and including a met