Re: How to sync admin interface with DB

2008-05-05 Thread Timothy Wu
On Tue, May 6, 2008 at 1:25 PM, Martin Diers <[EMAIL PROTECTED]> wrote: > > The Admin is created on the fly. There is nothing for it to restart > from scratch. Are you running the Django development server (the one > that defaults to localhost:8000) or are you running this under another > web serve

Re: How to sync admin interface with DB

2008-05-05 Thread Martin Diers
On May 5, 2008, at 11:56 PM, Timothy Wu wrote: > > I'm sorry, could someone gives me a clarification? > > Maybe I should describe it more clearly. My models.py and my > database ARE in sync and they're with the tables and the fields I > want. It's the admin interface that's out of sync, it's

Re: How to sync admin interface with DB

2008-05-05 Thread Timothy Wu
On Tue, May 6, 2008 at 11:37 AM, Martin Diers <[EMAIL PROTECTED]> wrote: > > > On May 5, 2008, at 8:56 PM, Timothy Wu wrote: > > Sounds like you need to update your Django models. > > > > I ran manage.py reset appname. All the problems I describe still > > remain. The admin interface is still hav

Re: How to sync admin interface with DB

2008-05-05 Thread Martin Diers
On May 5, 2008, at 8:56 PM, Timothy Wu wrote: > Sounds like you need to update your Django models. > > I ran manage.py reset appname. All the problems I describe still > remain. The admin interface is still having problems. > No, resetting the app will not help if your models.py file still

Re: How to sync admin interface with DB

2008-05-05 Thread Timothy Wu
On Tue, May 6, 2008 at 3:33 AM, jonknee <[EMAIL PROTECTED]> wrote: > > > I was able to populate the table, but the admin interface was having > > problem, it was still expecting the old table columns. =/ > > Sounds like you need to update your Django models. I ran manage.py reset appname. All t

Re: How to sync admin interface with DB

2008-05-05 Thread jonknee
> I was able to populate the table, but the admin interface was having > problem, it was still expecting the old table columns. =/ Sounds like you need to update your Django models. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

How to sync admin interface with DB

2008-05-05 Thread Timothy Wu
Hi, I am having a big trouble. For some reason I've messed things up and admin interface is showing a table that I already dropped by accessing mysql client directly (oh no...should I not do that?). I don't know exactly how I got to that state. I first created the table, then I decided to change