One common database operation that isn't supported out of the box by Django's ORM is create_or_update
- in other words, given a set of parameters, either update an existing object or create a new one if there isn't one already.
The naive implementation is to do a get ...
1 Comment.
more ...