Commit 71aebff1e97657730d344e49aa3163faf8009bc6

Authored by Alexis Koralewski
1 parent 038f236d
Exists in dev

Add user, ST , institute calib

src/core/pyros_django/misc/fixtures/initial_fixture_dev_TZ.json
@@ -187,6 +187,13 @@ @@ -187,6 +187,13 @@
187 } 187 }
188 }, 188 },
189 { 189 {
  190 + "model": "user_mgmt.ScienceTheme",
  191 + "pk": 4,
  192 + "fields": {
  193 + "name": "Calib"
  194 + }
  195 + },
  196 + {
190 "model": "user_mgmt.Period", 197 "model": "user_mgmt.Period",
191 "pk": 1, 198 "pk": 1,
192 "fields": { 199 "fields": {
@@ -362,6 +369,14 @@ @@ -362,6 +369,14 @@
362 }, 369 },
363 { 370 {
364 "model": "user_mgmt.institute", 371 "model": "user_mgmt.institute",
  372 + "pk": 3,
  373 + "fields": {
  374 + "name": "calib",
  375 + "quota_f": 1
  376 + }
  377 + },
  378 + {
  379 + "model": "user_mgmt.institute",
365 "pk": 2, 380 "pk": 2,
366 "fields": { 381 "fields": {
367 "name": "CNRS", 382 "name": "CNRS",
@@ -904,6 +919,37 @@ @@ -904,6 +919,37 @@
904 } 919 }
905 }, 920 },
906 { 921 {
  922 + "model": "user_mgmt.pyrosuser",
  923 + "pk": 17,
  924 + "fields": {
  925 + "password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=",
  926 + "last_login": null,
  927 + "is_superuser": false,
  928 + "first_name": "calib",
  929 + "last_name": "",
  930 + "email": "calib@example.com",
  931 + "is_staff": false,
  932 + "date_joined": "2021-05-20T09:03:37.108Z",
  933 + "username": "calib@example.com",
  934 + "is_active": true,
  935 + "first_time": false,
  936 + "country": 1,
  937 + "desc": null,
  938 + "created": "2021-05-20T09:03:37.108Z",
  939 + "updated": "2021-05-20T09:03:37.138Z",
  940 + "tel": null,
  941 + "address": "",
  942 + "laboratory": "",
  943 + "institute": 2,
  944 + "validator": 1,
  945 + "groups": [],
  946 + "user_permissions": [],
  947 + "user_level": [
  948 + 2
  949 + ]
  950 + }
  951 + },
  952 + {
907 "model": "seq_submit.sequence", 953 "model": "seq_submit.sequence",
908 "pk": 1, 954 "pk": 1,
909 "fields": { 955 "fields": {