Monday, January 23, 2012

Re: Why can't erase this model object? "AssertionError: Question object can't be deleted because its id attribute is set to None."

On Jan 22, 1:34 pm, akaariai <akaar...@gmail.com> wrote:
> There is still the possibility that you really have a row where the PK
> is somehow null.

Very unlikely given the model definition, but well, sh*t happens.

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

No comments:

Post a Comment