Changes between Initial Version and Version 1 of Ticket #29413


Ignore:
Timestamp:
May 17, 2018, 9:28:03 AM (6 years ago)
Author:
Viktor Danyliuk
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29413 – Description

    initial v1  
    33from django.utils.functional import lazy
    44
    5 obj, created = model.objects.select_related('user').get_or_create(
     5obj, created = model.objects.get_or_create(
    66     key=jwt,
    77     defaults=lazy(self.get_defaults_for_model, dict)(jwt)
Back to Top