In what location should I place methods that perform:
- Create this row if it is missing
- Update the row if it exists
for a django model ?
Additionally since I am using the default transaction scheme of django, this might introduce race conditions. How do I prevent that ?