mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-13 00:14:52 +03:00
Clean up formatting
This commit is contained in:
parent
f701fd8842
commit
873d999e84
|
@ -35,7 +35,7 @@ class UserFactory(DjangoModelFactory):
|
||||||
if create and results and not cls._meta.skip_postgeneration_save:
|
if create and results and not cls._meta.skip_postgeneration_save:
|
||||||
# Some post-generation hooks ran, and may have modified us.
|
# Some post-generation hooks ran, and may have modified us.
|
||||||
instance.save()
|
instance.save()
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = get_user_model()
|
model = get_user_model()
|
||||||
django_get_or_create = ["{{cookiecutter.username_type}}"]
|
django_get_or_create = ["{{cookiecutter.username_type}}"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user