Re: Problem adding new classes to a model

2005-12-30 Thread Tom Tobin
On 12/30/05, aaloy <[EMAIL PROTECTED]> wrote: > OK. That should be the problem! > It would be nice to have an option to generate these inserts also.. There is. :-) django-admin.py sqlall model_module_goes_here or just django-admin.py sqlinitialdata model_module_goes_here If you don't need ev

Re: Problem adding new classes to a model

2005-12-30 Thread aaloy
2005/12/30, Adrian Holovaty : > > On 12/30/05, aaloy wrote: > > The new table appears on the admin interface, and I have introduced > > data manually on it I can see it, but when I try to modify o add a new > > record I get the exception: > > > > Exception Type: ContentTypeDoesNotExist >

Re: Problem adding new classes to a model

2005-12-30 Thread Adrian Holovaty
On 12/30/05, aaloy <[EMAIL PROTECTED]> wrote: > The new table appears on the admin interface, and I have introduced > data manually on it I can see it, but when I try to modify o add a new > record I get the exception: > > Exception Type: ContentTypeDoesNotExist > Exception Value:C

Problem adding new classes to a model

2005-12-30 Thread aaloy
Hello! I have a problem when I try to add new classes to a model. The steps I follow are: * I create the new classes * I use the administrative tool to generate the sql * I create the new tables from the generated sql. * I refresh the Django web admin The new table appears on the admin interfac