Tech Insights· docs.djangoproject.com
If you wanna know if your get_or_create was actually created the object instead of retrieving it, pass "created" after your v...
If you wanna know if your get_or_create was actually created the object instead of retrieving it, pass "created" after your variable's name and receive a boolean with the status of your get_or_create #get-or-create
Shared by
- Django
- Python



