On 4/25/07, Ramiro Morales <[EMAIL PROTECTED]> wrote:
>
> Try adding blank=False explicitely because it works
> at the admin UI level so it doesn't know about database
> primary keys and such.


I have experienced the same bug.  I have a model that sets its primary key
like this:
CharField(blank=False, maxlength=8, primary_key=True)

When adding an instance of that model in the admin interface, I am indeed
able to save the instance with no primary key defined.  Which then makes it
impossible to delete that instance using the admin interface.  This happens
both in 0.96 and svn.

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to