Would it be better to actually create an object with the Django ORM and call `.save()` on it? I think that `get_or_create` will first run a `SELECT` query and then an `INSERT` query, while all you need here is an `INSERT` query. The performance gain should be tiny, though, so it doesn't much matter except to better communicate what you're doing.