remove unnecessary flag
I don't want the users to use the admin interface.
This commit is contained in:
parent
c99e54049c
commit
5ad5851926
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue