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 <b.b...@eximflow.com> wrote:

> Hi all,
>
> I added some tables to models.py but they didn't show up
> when I logged in as admin.  I knew already from harsh
> experience that syncdb will not pick up _changes_ to an
> existing table, so I deleted the old database before doing
> syncdb then runserver.  When I didn't find the new tables
> listed on the admin page, I shut down the server, blew
> away all .pyc files in the project and app directories, then
> ran runserver again.  Tables were still missing from admin.
> sqlall showed the new tables.  dbshell with .tables
> command showed the new tables.  I'm using Python 2.6.6,
> Django 1.3, SQLite 3.7.2.  What's the missing link? How
> can there be any file left that only has the old tables?
>
> Bill Beal
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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.

Reply via email to