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):
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
2 matches
Mail list logo