Answer the question
In order to leave comments, you need to log in
Django 1.8 ignores models.TextField, what's wrong?
there are models
class Site(models.Model):
name = models.CharField(max_length=200, verbose_name=u'Домен')
webroot = models.TextField(blank=True),
enabled = models.BooleanField(verbose_name=u'Активен', default=False)
class Templates(models.Model):
site_id = models.ForeignKey('Site')
tpl = models.TextField(),
updtime = models.DateTimeField(auto_now=True)
Answer the question
In order to leave comments, you need to log in
Why are there commas at the end of lines?
Most likely this is the reason. The commas are superfluous.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question