https://stackoverflow.com/questions/14115318/create-django-model-or-update-if-exists
Person.objects.get_or_create(id=1)
No comments:
Post a Comment