It is weird that database error is in "adminaddress" and the name of
the table starts with "address_".
how is your "INSTALLED_APPLICATIONS" set in settings.py ?
where is / are your admin.py file / s located in your project
directory ? how does your directory three structure look like ?
Maybe it is
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):
It sounds like you may have created your Models, run "mange.py syncdb", then
added another field to your Model.
Remember, syncdb doesn't add new columns in your table when you add a new
field to an existing model. If this app is still in development, you can
drop the whole table corresponding
On Fri, May 20, 2011 at 8:36 PM, enqing wrote:
> 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
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
5 matches
Mail list logo