Made a small Django function to back-port update_or_create from Django 5.0, specifically adding create_defaults to the create operations.

https://gist.github.com/myles/a6905f94e4e9955f02fea2554db982a7

https://gist.github.com/myles/a6905f94e4e9955f02fea2554db982a7

Reply to this note

Please Login to reply.

Discussion

No replies yet.