#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
-------------------------------+---------------------------------------
Comment (by Herbert Fortes):
I think a good place to put an example is on 'Complex lookups with Q
objects' .
There has explanation on how use it with "...lookup functions that takes
keyword-arguments (e.g. filter(), exclude(), get())..."
--
Ticket URL: <https://code.djangoproject.com/ticket/29148#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/066.992260e0d53ef2b2f1086506d46f53c0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.