add a fixture for a test user
This commit is contained in:
parent
e877e38b55
commit
17885e82e4
|
@ -102,3 +102,22 @@
|
|||
description: "Maximum number of Pictures a user is allowed to upload."
|
||||
value: 5
|
||||
enabled: True
|
||||
|
||||
- model: auth.User
|
||||
fields:
|
||||
username: "test_user"
|
||||
password: "pbkdf2_sha256$30000$abc$pJp+yQ3hNCcm5bd7LqZo6Qco5NETLPPkaO63vr7Ch6U="
|
||||
first_name: "Max"
|
||||
last_name: "Muster"
|
||||
email: "max.muster@gmail.com"
|
||||
is_superuser: False
|
||||
is_active: True
|
||||
is_staff: False
|
||||
|
||||
- model: webshop.Person
|
||||
fields:
|
||||
salutation: 1
|
||||
city: 1
|
||||
street_name: "Musterstrasse"
|
||||
street_number: "13"
|
||||
user: 2
|
||||
|
|
Loading…
Reference in New Issue