So I have an object that contains a foreignkey to another object that will be deleted, that means that my object should get deleted.
Having read some of the docs on https://docs.djangoproject.com/en/1.7/ref/models/fields/#django.db.models.ForeignKey.on_delete (yes I know it's 1.7) I understand that if I added on_delete=SET_NULL to my foreignkey, when it the foreignkeyed object was deleted my object would set my foreignkey to null. Is that correct? Jonty -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANOQRbxWv%3DB2O8vdVhJPQ6GmKk_ttfk308Z6uoR8aBzO8-q3XA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

