Django models query

Posted by Hulk on Stack Overflow See other posts from Stack Overflow or by Hulk
Published on 2010-04-20T06:14:16Z Indexed on 2010/04/20 6:23 UTC
Read the original article Hit count: 530

Code:

class criteria(models.Model):
     details =   models.CharField(max_length = 512)
     Headerid = models.ForeignKey(Header)

     def __unicode__(self):
        return self.id()

the details corresponds to a textarea in the UI and a validation is done for 512 characters but when this is saved.

     /home/project/django/django/core/handlers/base.py in get_response, line 109

Is this any thing related with schema or number of characters entered from UI

© Stack Overflow or respective owner

Related posts about django

Related posts about django-models