I generally check `if obj.pk` to knwo if the objects is saved. This wont work however, if you have `primary_key = True` set on some fields. Eg I set `user = models.OneToOneField(User, primary_key=True)` on my `UserProfile`.

What is the canonical way to find out if a Django model is saved to db?