Re: new tables missing from admin page

2011-12-20 Thread Python_Junkie
You should confirm that the tables that you added to the database, do in fact exist, by querying the database, before wondering why they did not show up in the admin page On Dec 20, 9:08 pm, Karen Tracey wrote: > No, it doesn't happen automatically. (Unless prior to this change you were > using p

Re: new tables missing from admin page

2011-12-20 Thread Karen Tracey
No, it doesn't happen automatically. (Unless prior to this change you were using plug-in apps that all provided an admin.py file to register their models.) For any models in apps you write, you must explicitly register them with admin in order for them to be visible in admin. Karen -- http://trac

Re: new tables missing from admin page

2011-12-20 Thread Bill Beal
Thanks. I don't remember doing this when I created the first set of tables. Does it happen automatically once? Or maybe I was mindlessly working from an example in a book. I'm a sorcerer's apprentice without a sorcerer. (There's a spell-checker pun in there somewhere.) Bill On Tue, Dec 20,

Re: new tables missing from admin page

2011-12-20 Thread Anoop Thomas Mathew
Hi, You should register the new models in the admin.py. https://docs.djangoproject.com/en/dev/ref/contrib/admin/#modeladmin-objects Above link should help. Thanks, Anoop Thomas Mathew atm ___ Life is short, Live it hard. On 20 December 2011 23:32, Bill Beal wrote: > Hi all, > > I added some