#3230: <MODEL>.validate() doesn't consider unique=True in model definition.
----------------------------------------+-----------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Status: closed | Component: Database
wrapper
Version: | Resolution: invalid
Keywords: | Stage: Unreviewed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
----------------------------------------+-----------------------------------
Comment (by Thomas Steinacher <[EMAIL PROTECTED]>):
> Either way, in hindsight the suggestion was a bad one once you take into
consideration the race condition.
There are race conditions in other parts of Django, e.g. in get_or_create,
(see [http://groups.google.com/group/django-
developers/browse_thread/thread/3c8a3a0d431dc4a6/204f0f7953bda2f2 my
mailing list thread] for more information)
--
Ticket URL: <http://code.djangoproject.com/ticket/3230#comment:9>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---