Re: how to solve this issue: "DatabaseError at /admin/myapp, no such column: myapp.myvar"

2011-05-22 Thread enqing
No, I don't think so, first I edit my Model like this: in model.py: Class UeSetting(model.Model): title = models.CharField('title',max_length=11,unique=True) changetime = models.DateTimeField('changetime',auto_now_add=True) def __unicode__(self):

[ask for help] how to solve this issue: "DatabaseError at /admin/myapp, no such column: myapp.myvar"

2011-05-21 Thread enqing
This weird issue hanpped when I used the django admin site. I have set the database with sqlite3, and creat a number of my classes in app model.py, all others classes can work as expectation. only a class have this "DatabaseError at /admin/myapp, no such column: myapp.myvar" error apper in web