On Mon, Aug 10, 2009 at 2:13 PM, ankit rai <[email protected]> wrote:

> check ur db table ,is null=true present.And in ur model write
> revision = models.IntegerField(default=0,balnk=true,null=true)
> and if u donont want to change the value from 0 at all then there is no
> need to diplay it in fields
>

null=True should not be present.  AG doesn't want null values allows but
rather wants them to be set to a default value.

Karen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to