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 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 > &g

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

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

Re: TextField

2007-10-14 Thread Timothy Wu
On 10/14/07, Timothy Wu <[EMAIL PROTECTED]> wrote: > > Hi, > > I am using Django version 0.96. For some reason I cannot use TextField, > it's giving me this error while I am validating: > > NameError: name 'TextField' is not defined > > Other field

TextField

2007-10-14 Thread Timothy Wu
Hi, I am using Django version 0.96. For some reason I cannot use TextField, it's giving me this error while I am validating: NameError: name 'TextField' is not defined Other fields which I have, CharField and IntegerField works just fine. What can I do? Timothy --~--~-~--~~---