add a fixture for a test user

This commit is contained in:
Andreas Zweili 2018-02-18 13:23:39 +01:00
parent e877e38b55
commit 17885e82e4
1 changed files with 19 additions and 0 deletions

View File

@ -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