remove unnecessary flag

I don't want the users to use the admin interface.
This commit is contained in:
Andreas Zweili 2021-12-23 18:36:21 +01:00
parent c99e54049c
commit 5ad5851926
1 changed files with 1 additions and 2 deletions

View File

@ -24,8 +24,7 @@ def create_admin_user():
User = get_user_model()
admin = User.objects.create_user("pharma-admin",
"admin@pharma.com",
"password",
is_staff=True)
"password")
customer = mixer.blend('customers.Customer')
group = Group.objects.create(name="Pharma Corp. Admin")
admin.groups.add(group)