#29148: Explain how to use QuerySet.get_or_create() with Q objects
-------------------------------+---------------------------------------
Reporter: Mike Lissner | Owner: Dhruv Singh
Type: New feature | Status: assigned
Component: Documentation | Version: 2.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+---------------------------------------
Changes (by Dhruv Singh):
* status: new => assigned
* cc: Dhruv Singh (added)
* owner: nobody => Dhruv Singh
Comment:
Trying to start to give my bit to the open source community.
This feels like a good small starting step.
As the description of the ticket suggests, will add an example of using Q
objects with get_or_create().
Please suggest if something else is needed.
--
Ticket URL: <https://code.djangoproject.com/ticket/29148#comment:2>
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/066.affaea769946181a31cb808f45359c62%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.