[Answer]-Django Save Model Idiom

1👍

No, django has a built-in way to do this.

entry, created = ActiveDirectory.objects.get_or_create(
    object_guid = 'your_value',
    name =  = 'your_value',
    mail = 'your_value'
)

Leave a comment