Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add QuerySet-level convenience method: get_or_create #53

Closed
malikoth opened this issue Dec 10, 2019 · 1 comment · Fixed by #106
Closed

Add QuerySet-level convenience method: get_or_create #53

malikoth opened this issue Dec 10, 2019 · 1 comment · Fixed by #106

Comments

@malikoth
Copy link

This is labeled as a convenience function, and I found it useful to have around many times when I was working in Django. I think it would be great to duplicate here.

Reference: https://docs.djangoproject.com/en/3.0/ref/models/querysets/#get-or-create

@malikoth malikoth changed the title Add QuerySet-level convenience function: get_or_create Add QuerySet-level convenience method: get_or_create Dec 10, 2019
@garyd203
Copy link

NB: See PR #61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants