Browse Source

added sqlite table and dumpuser

newsletter
Esther Kleinhenz 6 years ago
parent
commit
ac9f9f782c
3 changed files with 80 additions and 3 deletions
  1. 3
    3
      application/templates/base.html
  2. 1
    0
      mysite/settings.py
  3. 76
    0
      user.json

+ 3
- 3
application/templates/base.html View File

@@ -31,9 +31,9 @@
</li>
{% endif %}
{% if user.is_staff %}
<li class="nav-item">
<a class="nav-link" href="{% url 'studis:index' %}">Stammdaten</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{% url 'studis:index' %}">Stammdaten</a>
</li>
{% endif %}
</ul>


+ 1
- 0
mysite/settings.py View File

@@ -87,6 +87,7 @@ if DEVELOPMENT:
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
print(" --- Development sqlite database --- ")
else:
DATABASES = {
'default': {

+ 76
- 0
user.json View File

@@ -0,0 +1,76 @@
--- Development sqlite database ---
--- Development stage ---
[
{
"model": "auth.user",
"pk": 1,
"fields": {
"password": "pbkdf2_sha256$100000$pu4yd74Yw8vd$cpecLMlMn0/X2vPqQb2U7QFyjq939RFiXHVECRFtaVU=",
"last_login": "2018-07-01T10:45:39.649Z",
"is_superuser": true,
"username": "esthi",
"first_name": "",
"last_name": "",
"email": "kleinhenz.e@gmail.com",
"is_staff": true,
"is_active": true,
"date_joined": "2018-06-28T13:57:47.425Z",
"groups": [],
"user_permissions": []
}
},
{
"model": "auth.user",
"pk": 2,
"fields": {
"password": "pbkdf2_sha256$100000$YJSGkUAoHugp$Avd1ki42aJJyZsOf8eZaai6WsnzXkvAPdgoq/zlxVZY=",
"last_login": "2018-07-01T13:12:58.614Z",
"is_superuser": false,
"username": "lukas",
"first_name": "",
"last_name": "",
"email": "",
"is_staff": true,
"is_active": true,
"date_joined": "2018-07-01T13:11:13.561Z",
"groups": [],
"user_permissions": []
}
},
{
"model": "auth.user",
"pk": 3,
"fields": {
"password": "pbkdf2_sha256$100000$TthrDFGOHn9P$4ZW9grEz+Zj/zszRTIFrwmmp1EQUQYGVftAnIeI3OXs=",
"last_login": null,
"is_superuser": true,
"username": "foo",
"first_name": "",
"last_name": "",
"email": "",
"is_staff": true,
"is_active": true,
"date_joined": "2018-07-01T13:15:50.396Z",
"groups": [],
"user_permissions": []
}
},
{
"model": "auth.user",
"pk": 4,
"fields": {
"password": "pbkdf2_sha256$100000$wEGOSs8E71GL$6KbihvE8ENSJ1lKQSAYsLb14BdwXY0hw3cKu7ImoR8Y=",
"last_login": null,
"is_superuser": false,
"username": "stefan",
"first_name": "",
"last_name": "",
"email": "",
"is_staff": false,
"is_active": true,
"date_joined": "2018-07-01T13:16:39.839Z",
"groups": [],
"user_permissions": []
}
}
]

Loading…
Cancel
Save