#24009: get_or_create can raise an IntegrityError in race conditions
-------------------------------+--------------------------------------
Reporter: lanzz | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.7
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by timgraham):
As far as I can tell, the `IntegrityError` you describe
[https://github.com/django/django/blob/6403e07c5093e0244497293f31f5f73cebe85b66/django/db/models/query.py#L468-L483
should be caught by Django]. Did you run into this problem with Django
1.7?
--
Ticket URL: <https://code.djangoproject.com/ticket/24009#comment:3>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.b09c5d7253c45d2f37736376e2c0dde6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.