Compare View
Commits (5)
Showing
8 changed files
Show diff stats
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": { |
@@ -510,6 +517,14 @@ | @@ -510,6 +517,14 @@ | ||
510 | }, | 517 | }, |
511 | { | 518 | { |
512 | "model": "user_mgmt.institute", | 519 | "model": "user_mgmt.institute", |
520 | + "pk": 3, | ||
521 | + "fields": { | ||
522 | + "name": "calib", | ||
523 | + "quota_f": 1 | ||
524 | + } | ||
525 | + }, | ||
526 | + { | ||
527 | + "model": "user_mgmt.institute", | ||
513 | "pk": 2, | 528 | "pk": 2, |
514 | "fields": { | 529 | "fields": { |
515 | "name": "CNRS", | 530 | "name": "CNRS", |
@@ -1052,6 +1067,37 @@ | @@ -1052,6 +1067,37 @@ | ||
1052 | } | 1067 | } |
1053 | }, | 1068 | }, |
1054 | { | 1069 | { |
1070 | + "model": "user_mgmt.pyrosuser", | ||
1071 | + "pk": 17, | ||
1072 | + "fields": { | ||
1073 | + "password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", | ||
1074 | + "last_login": null, | ||
1075 | + "is_superuser": false, | ||
1076 | + "first_name": "calib", | ||
1077 | + "last_name": "", | ||
1078 | + "email": "calib@example.com", | ||
1079 | + "is_staff": false, | ||
1080 | + "date_joined": "2021-05-20T09:03:37.108Z", | ||
1081 | + "username": "calib@example.com", | ||
1082 | + "is_active": true, | ||
1083 | + "first_time": false, | ||
1084 | + "country": 1, | ||
1085 | + "desc": null, | ||
1086 | + "created": "2021-05-20T09:03:37.108Z", | ||
1087 | + "updated": "2021-05-20T09:03:37.138Z", | ||
1088 | + "tel": null, | ||
1089 | + "address": "", | ||
1090 | + "laboratory": "", | ||
1091 | + "institute": 2, | ||
1092 | + "validator": 1, | ||
1093 | + "groups": [], | ||
1094 | + "user_permissions": [], | ||
1095 | + "user_level": [ | ||
1096 | + 2 | ||
1097 | + ] | ||
1098 | + } | ||
1099 | + }, | ||
1100 | + { | ||
1055 | "model": "seq_submit.sequence", | 1101 | "model": "seq_submit.sequence", |
1056 | "pk": 1, | 1102 | "pk": 1, |
1057 | "fields": { | 1103 | "fields": { |
src/core/pyros_django/misc/fixtures/tests/common_test_TZ.json
@@ -3,8 +3,7 @@ | @@ -3,8 +3,7 @@ | ||
3 | "pk": 1, | 3 | "pk": 1, |
4 | "fields": { | 4 | "fields": { |
5 | "name": "France", | 5 | "name": "France", |
6 | - "desc": "", | ||
7 | - "quota": null | 6 | + "desc": "" |
8 | } | 7 | } |
9 | }, | 8 | }, |
10 | { | 9 | { |
@@ -12,7 +11,7 @@ | @@ -12,7 +11,7 @@ | ||
12 | "pk": 1, | 11 | "pk": 1, |
13 | "fields": { | 12 | "fields": { |
14 | "name": "CNRS", | 13 | "name": "CNRS", |
15 | - "quota": 20.0 | 14 | + "quota_f": 0.2 |
16 | } | 15 | } |
17 | }, | 16 | }, |
18 | { | 17 | { |
@@ -39,8 +38,7 @@ | @@ -39,8 +38,7 @@ | ||
39 | "fields": { | 38 | "fields": { |
40 | "name": "Admin", | 39 | "name": "Admin", |
41 | "desc": "", | 40 | "desc": "", |
42 | - "priority": 8, | ||
43 | - "quota": 9999.0 | 41 | + "priority": 8 |
44 | } | 42 | } |
45 | }, | 43 | }, |
46 | { | 44 | { |
@@ -49,8 +47,8 @@ | @@ -49,8 +47,8 @@ | ||
49 | "fields": { | 47 | "fields": { |
50 | "name": "Observer", | 48 | "name": "Observer", |
51 | "desc": "", | 49 | "desc": "", |
52 | - "priority": 2, | ||
53 | - "quota": 9999.0 | 50 | + "priority": 2 |
51 | + | ||
54 | } | 52 | } |
55 | }, | 53 | }, |
56 | { | 54 | { |
@@ -59,8 +57,8 @@ | @@ -59,8 +57,8 @@ | ||
59 | "fields": { | 57 | "fields": { |
60 | "name": "TAC", | 58 | "name": "TAC", |
61 | "desc": "", | 59 | "desc": "", |
62 | - "priority": 1, | ||
63 | - "quota": 9999.0 | 60 | + "priority": 1 |
61 | + | ||
64 | } | 62 | } |
65 | }, | 63 | }, |
66 | { | 64 | { |
@@ -69,8 +67,8 @@ | @@ -69,8 +67,8 @@ | ||
69 | "fields": { | 67 | "fields": { |
70 | "name": "Management board member", | 68 | "name": "Management board member", |
71 | "desc": "", | 69 | "desc": "", |
72 | - "priority": 3, | ||
73 | - "quota": 9999.0 | 70 | + "priority": 3 |
71 | + | ||
74 | } | 72 | } |
75 | }, | 73 | }, |
76 | { | 74 | { |
@@ -79,8 +77,8 @@ | @@ -79,8 +77,8 @@ | ||
79 | "fields": { | 77 | "fields": { |
80 | "name": "Operator", | 78 | "name": "Operator", |
81 | "desc": "", | 79 | "desc": "", |
82 | - "priority": 4, | ||
83 | - "quota": 9999.0 | 80 | + "priority": 4 |
81 | + | ||
84 | } | 82 | } |
85 | }, | 83 | }, |
86 | { | 84 | { |
@@ -89,8 +87,8 @@ | @@ -89,8 +87,8 @@ | ||
89 | "fields": { | 87 | "fields": { |
90 | "name": "Unit-PI", | 88 | "name": "Unit-PI", |
91 | "desc": "", | 89 | "desc": "", |
92 | - "priority":7, | ||
93 | - "quota": 9999.0 | 90 | + "priority":7 |
91 | + | ||
94 | } | 92 | } |
95 | }, | 93 | }, |
96 | { | 94 | { |
@@ -99,8 +97,8 @@ | @@ -99,8 +97,8 @@ | ||
99 | "fields": { | 97 | "fields": { |
100 | "name": "Unit-board", | 98 | "name": "Unit-board", |
101 | "desc": "", | 99 | "desc": "", |
102 | - "priority": 6, | ||
103 | - "quota": 9999.0 | 100 | + "priority": 6 |
101 | + | ||
104 | } | 102 | } |
105 | }, | 103 | }, |
106 | { | 104 | { |
@@ -109,8 +107,7 @@ | @@ -109,8 +107,7 @@ | ||
109 | "fields": { | 107 | "fields": { |
110 | "name": "Visitor", | 108 | "name": "Visitor", |
111 | "desc": "Account without any privilege", | 109 | "desc": "Account without any privilege", |
112 | - "priority": 0, | ||
113 | - "quota": 0.0 | 110 | + "priority": 0 |
114 | } | 111 | } |
115 | }, | 112 | }, |
116 | { | 113 | { |
src/core/pyros_django/misc/fixtures/tests/complete_fixture.json
1 | -[{"model": "auth.permission", "pk": 1, "fields": {"name": "Can add log entry", "content_type": 1, "codename": "add_logentry"}}, {"model": "auth.permission", "pk": 2, "fields": {"name": "Can change log entry", "content_type": 1, "codename": "change_logentry"}}, {"model": "auth.permission", "pk": 3, "fields": {"name": "Can delete log entry", "content_type": 1, "codename": "delete_logentry"}}, {"model": "auth.permission", "pk": 4, "fields": {"name": "Can view log entry", "content_type": 1, "codename": "view_logentry"}}, {"model": "auth.permission", "pk": 5, "fields": {"name": "Can add permission", "content_type": 2, "codename": "add_permission"}}, {"model": "auth.permission", "pk": 6, "fields": {"name": "Can change permission", "content_type": 2, "codename": "change_permission"}}, {"model": "auth.permission", "pk": 7, "fields": {"name": "Can delete permission", "content_type": 2, "codename": "delete_permission"}}, {"model": "auth.permission", "pk": 8, "fields": {"name": "Can view permission", "content_type": 2, "codename": "view_permission"}}, {"model": "auth.permission", "pk": 9, "fields": {"name": "Can add group", "content_type": 3, "codename": "add_group"}}, {"model": "auth.permission", "pk": 10, "fields": {"name": "Can change group", "content_type": 3, "codename": "change_group"}}, {"model": "auth.permission", "pk": 11, "fields": {"name": "Can delete group", "content_type": 3, "codename": "delete_group"}}, {"model": "auth.permission", "pk": 12, "fields": {"name": "Can view group", "content_type": 3, "codename": "view_group"}}, {"model": "auth.permission", "pk": 13, "fields": {"name": "Can add content type", "content_type": 4, "codename": "add_contenttype"}}, {"model": "auth.permission", "pk": 14, "fields": {"name": "Can change content type", "content_type": 4, "codename": "change_contenttype"}}, {"model": "auth.permission", "pk": 15, "fields": {"name": "Can delete content type", "content_type": 4, "codename": "delete_contenttype"}}, {"model": "auth.permission", "pk": 16, "fields": {"name": "Can view content type", "content_type": 4, "codename": "view_contenttype"}}, {"model": "auth.permission", "pk": 17, "fields": {"name": "Can add session", "content_type": 5, "codename": "add_session"}}, {"model": "auth.permission", "pk": 18, "fields": {"name": "Can change session", "content_type": 5, "codename": "change_session"}}, {"model": "auth.permission", "pk": 19, "fields": {"name": "Can delete session", "content_type": 5, "codename": "delete_session"}}, {"model": "auth.permission", "pk": 20, "fields": {"name": "Can view session", "content_type": 5, "codename": "view_session"}}, {"model": "auth.permission", "pk": 21, "fields": {"name": "Can add Token", "content_type": 6, "codename": "add_token"}}, {"model": "auth.permission", "pk": 22, "fields": {"name": "Can change Token", "content_type": 6, "codename": "change_token"}}, {"model": "auth.permission", "pk": 23, "fields": {"name": "Can delete Token", "content_type": 6, "codename": "delete_token"}}, {"model": "auth.permission", "pk": 24, "fields": {"name": "Can view Token", "content_type": 6, "codename": "view_token"}}, {"model": "auth.permission", "pk": 25, "fields": {"name": "Can add token", "content_type": 7, "codename": "add_tokenproxy"}}, {"model": "auth.permission", "pk": 26, "fields": {"name": "Can change token", "content_type": 7, "codename": "change_tokenproxy"}}, {"model": "auth.permission", "pk": 27, "fields": {"name": "Can delete token", "content_type": 7, "codename": "delete_tokenproxy"}}, {"model": "auth.permission", "pk": 28, "fields": {"name": "Can view token", "content_type": 7, "codename": "view_tokenproxy"}}, {"model": "auth.permission", "pk": 29, "fields": {"name": "Can add pyros user", "content_type": 8, "codename": "add_pyrosuser"}}, {"model": "auth.permission", "pk": 30, "fields": {"name": "Can change pyros user", "content_type": 8, "codename": "change_pyrosuser"}}, {"model": "auth.permission", "pk": 31, "fields": {"name": "Can delete pyros user", "content_type": 8, "codename": "delete_pyrosuser"}}, {"model": "auth.permission", "pk": 32, "fields": {"name": "Can view pyros user", "content_type": 8, "codename": "view_pyrosuser"}}, {"model": "auth.permission", "pk": 33, "fields": {"name": "Can add country", "content_type": 9, "codename": "add_country"}}, {"model": "auth.permission", "pk": 34, "fields": {"name": "Can change country", "content_type": 9, "codename": "change_country"}}, {"model": "auth.permission", "pk": 35, "fields": {"name": "Can delete country", "content_type": 9, "codename": "delete_country"}}, {"model": "auth.permission", "pk": 36, "fields": {"name": "Can view country", "content_type": 9, "codename": "view_country"}}, {"model": "auth.permission", "pk": 37, "fields": {"name": "Can add institute", "content_type": 10, "codename": "add_institute"}}, {"model": "auth.permission", "pk": 38, "fields": {"name": "Can change institute", "content_type": 10, "codename": "change_institute"}}, {"model": "auth.permission", "pk": 39, "fields": {"name": "Can delete institute", "content_type": 10, "codename": "delete_institute"}}, {"model": "auth.permission", "pk": 40, "fields": {"name": "Can view institute", "content_type": 10, "codename": "view_institute"}}, {"model": "auth.permission", "pk": 41, "fields": {"name": "Can add period", "content_type": 11, "codename": "add_period"}}, {"model": "auth.permission", "pk": 42, "fields": {"name": "Can change period", "content_type": 11, "codename": "change_period"}}, {"model": "auth.permission", "pk": 43, "fields": {"name": "Can delete period", "content_type": 11, "codename": "delete_period"}}, {"model": "auth.permission", "pk": 44, "fields": {"name": "Can view period", "content_type": 11, "codename": "view_period"}}, {"model": "auth.permission", "pk": 45, "fields": {"name": "Can add science theme", "content_type": 12, "codename": "add_sciencetheme"}}, {"model": "auth.permission", "pk": 46, "fields": {"name": "Can change science theme", "content_type": 12, "codename": "change_sciencetheme"}}, {"model": "auth.permission", "pk": 47, "fields": {"name": "Can delete science theme", "content_type": 12, "codename": "delete_sciencetheme"}}, {"model": "auth.permission", "pk": 48, "fields": {"name": "Can view science theme", "content_type": 12, "codename": "view_sciencetheme"}}, {"model": "auth.permission", "pk": 49, "fields": {"name": "Can add scientific program", "content_type": 13, "codename": "add_scientificprogram"}}, {"model": "auth.permission", "pk": 50, "fields": {"name": "Can change scientific program", "content_type": 13, "codename": "change_scientificprogram"}}, {"model": "auth.permission", "pk": 51, "fields": {"name": "Can delete scientific program", "content_type": 13, "codename": "delete_scientificprogram"}}, {"model": "auth.permission", "pk": 52, "fields": {"name": "Can view scientific program", "content_type": 13, "codename": "view_scientificprogram"}}, {"model": "auth.permission", "pk": 53, "fields": {"name": "Can add s p_ period", "content_type": 14, "codename": "add_sp_period"}}, {"model": "auth.permission", "pk": 54, "fields": {"name": "Can change s p_ period", "content_type": 14, "codename": "change_sp_period"}}, {"model": "auth.permission", "pk": 55, "fields": {"name": "Can delete s p_ period", "content_type": 14, "codename": "delete_sp_period"}}, {"model": "auth.permission", "pk": 56, "fields": {"name": "Can view s p_ period", "content_type": 14, "codename": "view_sp_period"}}, {"model": "auth.permission", "pk": 57, "fields": {"name": "Can add user level", "content_type": 15, "codename": "add_userlevel"}}, {"model": "auth.permission", "pk": 58, "fields": {"name": "Can change user level", "content_type": 15, "codename": "change_userlevel"}}, {"model": "auth.permission", "pk": 59, "fields": {"name": "Can delete user level", "content_type": 15, "codename": "delete_userlevel"}}, {"model": "auth.permission", "pk": 60, "fields": {"name": "Can view user level", "content_type": 15, "codename": "view_userlevel"}}, {"model": "auth.permission", "pk": 61, "fields": {"name": "Can add s p_ period workflow", "content_type": 16, "codename": "add_sp_periodworkflow"}}, {"model": "auth.permission", "pk": 62, "fields": {"name": "Can change s p_ period workflow", "content_type": 16, "codename": "change_sp_periodworkflow"}}, {"model": "auth.permission", "pk": 63, "fields": {"name": "Can delete s p_ period workflow", "content_type": 16, "codename": "delete_sp_periodworkflow"}}, {"model": "auth.permission", "pk": 64, "fields": {"name": "Can view s p_ period workflow", "content_type": 16, "codename": "view_sp_periodworkflow"}}, {"model": "auth.permission", "pk": 65, "fields": {"name": "Can add s p_ period_ guest", "content_type": 17, "codename": "add_sp_period_guest"}}, {"model": "auth.permission", "pk": 66, "fields": {"name": "Can change s p_ period_ guest", "content_type": 17, "codename": "change_sp_period_guest"}}, {"model": "auth.permission", "pk": 67, "fields": {"name": "Can delete s p_ period_ guest", "content_type": 17, "codename": "delete_sp_period_guest"}}, {"model": "auth.permission", "pk": 68, "fields": {"name": "Can view s p_ period_ guest", "content_type": 17, "codename": "view_sp_period_guest"}}, {"model": "auth.permission", "pk": 69, "fields": {"name": "Can add s p_ period_ user", "content_type": 18, "codename": "add_sp_period_user"}}, {"model": "auth.permission", "pk": 70, "fields": {"name": "Can change s p_ period_ user", "content_type": 18, "codename": "change_sp_period_user"}}, {"model": "auth.permission", "pk": 71, "fields": {"name": "Can delete s p_ period_ user", "content_type": 18, "codename": "delete_sp_period_user"}}, {"model": "auth.permission", "pk": 72, "fields": {"name": "Can view s p_ period_ user", "content_type": 18, "codename": "view_sp_period_user"}}, {"model": "auth.permission", "pk": 73, "fields": {"name": "Can add agent cmd", "content_type": 19, "codename": "add_agentcmd"}}, {"model": "auth.permission", "pk": 74, "fields": {"name": "Can change agent cmd", "content_type": 19, "codename": "change_agentcmd"}}, {"model": "auth.permission", "pk": 75, "fields": {"name": "Can delete agent cmd", "content_type": 19, "codename": "delete_agentcmd"}}, {"model": "auth.permission", "pk": 76, "fields": {"name": "Can view agent cmd", "content_type": 19, "codename": "view_agentcmd"}}, {"model": "auth.permission", "pk": 77, "fields": {"name": "Can add agent logs", "content_type": 20, "codename": "add_agentlogs"}}, {"model": "auth.permission", "pk": 78, "fields": {"name": "Can change agent logs", "content_type": 20, "codename": "change_agentlogs"}}, {"model": "auth.permission", "pk": 79, "fields": {"name": "Can delete agent logs", "content_type": 20, "codename": "delete_agentlogs"}}, {"model": "auth.permission", "pk": 80, "fields": {"name": "Can view agent logs", "content_type": 20, "codename": "view_agentlogs"}}, {"model": "auth.permission", "pk": 81, "fields": {"name": "Can add agent survey", "content_type": 21, "codename": "add_agentsurvey"}}, {"model": "auth.permission", "pk": 82, "fields": {"name": "Can change agent survey", "content_type": 21, "codename": "change_agentsurvey"}}, {"model": "auth.permission", "pk": 83, "fields": {"name": "Can delete agent survey", "content_type": 21, "codename": "delete_agentsurvey"}}, {"model": "auth.permission", "pk": 84, "fields": {"name": "Can view agent survey", "content_type": 21, "codename": "view_agentsurvey"}}, {"model": "auth.permission", "pk": 85, "fields": {"name": "Can add config", "content_type": 22, "codename": "add_config"}}, {"model": "auth.permission", "pk": 86, "fields": {"name": "Can change config", "content_type": 22, "codename": "change_config"}}, {"model": "auth.permission", "pk": 87, "fields": {"name": "Can delete config", "content_type": 22, "codename": "delete_config"}}, {"model": "auth.permission", "pk": 88, "fields": {"name": "Can view config", "content_type": 22, "codename": "view_config"}}, {"model": "auth.permission", "pk": 89, "fields": {"name": "Can add env_data", "content_type": 23, "codename": "add_env_data"}}, {"model": "auth.permission", "pk": 90, "fields": {"name": "Can change env_data", "content_type": 23, "codename": "change_env_data"}}, {"model": "auth.permission", "pk": 91, "fields": {"name": "Can delete env_data", "content_type": 23, "codename": "delete_env_data"}}, {"model": "auth.permission", "pk": 92, "fields": {"name": "Can view env_data", "content_type": 23, "codename": "view_env_data"}}, {"model": "auth.permission", "pk": 93, "fields": {"name": "Can add env_data_hist", "content_type": 24, "codename": "add_env_data_hist"}}, {"model": "auth.permission", "pk": 94, "fields": {"name": "Can change env_data_hist", "content_type": 24, "codename": "change_env_data_hist"}}, {"model": "auth.permission", "pk": 95, "fields": {"name": "Can delete env_data_hist", "content_type": 24, "codename": "delete_env_data_hist"}}, {"model": "auth.permission", "pk": 96, "fields": {"name": "Can view env_data_hist", "content_type": 24, "codename": "view_env_data_hist"}}, {"model": "auth.permission", "pk": 97, "fields": {"name": "Can add log", "content_type": 25, "codename": "add_log"}}, {"model": "auth.permission", "pk": 98, "fields": {"name": "Can change log", "content_type": 25, "codename": "change_log"}}, {"model": "auth.permission", "pk": 99, "fields": {"name": "Can delete log", "content_type": 25, "codename": "delete_log"}}, {"model": "auth.permission", "pk": 100, "fields": {"name": "Can view log", "content_type": 25, "codename": "view_log"}}, {"model": "auth.permission", "pk": 101, "fields": {"name": "Can add majordome", "content_type": 26, "codename": "add_majordome"}}, {"model": "auth.permission", "pk": 102, "fields": {"name": "Can change majordome", "content_type": 26, "codename": "change_majordome"}}, {"model": "auth.permission", "pk": 103, "fields": {"name": "Can delete majordome", "content_type": 26, "codename": "delete_majordome"}}, {"model": "auth.permission", "pk": 104, "fields": {"name": "Can view majordome", "content_type": 26, "codename": "view_majordome"}}, {"model": "auth.permission", "pk": 105, "fields": {"name": "Can add sensors_data", "content_type": 27, "codename": "add_sensors_data"}}, {"model": "auth.permission", "pk": 106, "fields": {"name": "Can change sensors_data", "content_type": 27, "codename": "change_sensors_data"}}, {"model": "auth.permission", "pk": 107, "fields": {"name": "Can delete sensors_data", "content_type": 27, "codename": "delete_sensors_data"}}, {"model": "auth.permission", "pk": 108, "fields": {"name": "Can view sensors_data", "content_type": 27, "codename": "view_sensors_data"}}, {"model": "auth.permission", "pk": 109, "fields": {"name": "Can add sensors_data_last_value", "content_type": 28, "codename": "add_sensors_data_last_value"}}, {"model": "auth.permission", "pk": 110, "fields": {"name": "Can change sensors_data_last_value", "content_type": 28, "codename": "change_sensors_data_last_value"}}, {"model": "auth.permission", "pk": 111, "fields": {"name": "Can delete sensors_data_last_value", "content_type": 28, "codename": "delete_sensors_data_last_value"}}, {"model": "auth.permission", "pk": 112, "fields": {"name": "Can view sensors_data_last_value", "content_type": 28, "codename": "view_sensors_data_last_value"}}, {"model": "auth.permission", "pk": 113, "fields": {"name": "Can add site watch", "content_type": 29, "codename": "add_sitewatch"}}, {"model": "auth.permission", "pk": 114, "fields": {"name": "Can change site watch", "content_type": 29, "codename": "change_sitewatch"}}, {"model": "auth.permission", "pk": 115, "fields": {"name": "Can delete site watch", "content_type": 29, "codename": "delete_sitewatch"}}, {"model": "auth.permission", "pk": 116, "fields": {"name": "Can view site watch", "content_type": 29, "codename": "view_sitewatch"}}, {"model": "auth.permission", "pk": 117, "fields": {"name": "Can add site watch history", "content_type": 30, "codename": "add_sitewatchhistory"}}, {"model": "auth.permission", "pk": 118, "fields": {"name": "Can change site watch history", "content_type": 30, "codename": "change_sitewatchhistory"}}, {"model": "auth.permission", "pk": 119, "fields": {"name": "Can delete site watch history", "content_type": 30, "codename": "delete_sitewatchhistory"}}, {"model": "auth.permission", "pk": 120, "fields": {"name": "Can view site watch history", "content_type": 30, "codename": "view_sitewatchhistory"}}, {"model": "auth.permission", "pk": 121, "fields": {"name": "Can add tickets", "content_type": 31, "codename": "add_tickets"}}, {"model": "auth.permission", "pk": 122, "fields": {"name": "Can change tickets", "content_type": 31, "codename": "change_tickets"}}, {"model": "auth.permission", "pk": 123, "fields": {"name": "Can delete tickets", "content_type": 31, "codename": "delete_tickets"}}, {"model": "auth.permission", "pk": 124, "fields": {"name": "Can view tickets", "content_type": 31, "codename": "view_tickets"}}, {"model": "auth.permission", "pk": 125, "fields": {"name": "Can add version", "content_type": 32, "codename": "add_version"}}, {"model": "auth.permission", "pk": 126, "fields": {"name": "Can change version", "content_type": 32, "codename": "change_version"}}, {"model": "auth.permission", "pk": 127, "fields": {"name": "Can delete version", "content_type": 32, "codename": "delete_version"}}, {"model": "auth.permission", "pk": 128, "fields": {"name": "Can view version", "content_type": 32, "codename": "view_version"}}, {"model": "auth.permission", "pk": 129, "fields": {"name": "Can add weather watch", "content_type": 33, "codename": "add_weatherwatch"}}, {"model": "auth.permission", "pk": 130, "fields": {"name": "Can change weather watch", "content_type": 33, "codename": "change_weatherwatch"}}, {"model": "auth.permission", "pk": 131, "fields": {"name": "Can delete weather watch", "content_type": 33, "codename": "delete_weatherwatch"}}, {"model": "auth.permission", "pk": 132, "fields": {"name": "Can view weather watch", "content_type": 33, "codename": "view_weatherwatch"}}, {"model": "auth.permission", "pk": 133, "fields": {"name": "Can add weather watch history", "content_type": 34, "codename": "add_weatherwatchhistory"}}, {"model": "auth.permission", "pk": 134, "fields": {"name": "Can change weather watch history", "content_type": 34, "codename": "change_weatherwatchhistory"}}, {"model": "auth.permission", "pk": 135, "fields": {"name": "Can delete weather watch history", "content_type": 34, "codename": "delete_weatherwatchhistory"}}, {"model": "auth.permission", "pk": 136, "fields": {"name": "Can view weather watch history", "content_type": 34, "codename": "view_weatherwatchhistory"}}, {"model": "auth.permission", "pk": 137, "fields": {"name": "Can add album", "content_type": 35, "codename": "add_album"}}, {"model": "auth.permission", "pk": 138, "fields": {"name": "Can change album", "content_type": 35, "codename": "change_album"}}, {"model": "auth.permission", "pk": 139, "fields": {"name": "Can delete album", "content_type": 35, "codename": "delete_album"}}, {"model": "auth.permission", "pk": 140, "fields": {"name": "Can view album", "content_type": 35, "codename": "view_album"}}, {"model": "auth.permission", "pk": 141, "fields": {"name": "Can add image", "content_type": 36, "codename": "add_image"}}, {"model": "auth.permission", "pk": 142, "fields": {"name": "Can change image", "content_type": 36, "codename": "change_image"}}, {"model": "auth.permission", "pk": 143, "fields": {"name": "Can delete image", "content_type": 36, "codename": "delete_image"}}, {"model": "auth.permission", "pk": 144, "fields": {"name": "Can view image", "content_type": 36, "codename": "view_image"}}, {"model": "auth.permission", "pk": 145, "fields": {"name": "Can add plan", "content_type": 37, "codename": "add_plan"}}, {"model": "auth.permission", "pk": 146, "fields": {"name": "Can change plan", "content_type": 37, "codename": "change_plan"}}, {"model": "auth.permission", "pk": 147, "fields": {"name": "Can delete plan", "content_type": 37, "codename": "delete_plan"}}, {"model": "auth.permission", "pk": 148, "fields": {"name": "Can view plan", "content_type": 37, "codename": "view_plan"}}, {"model": "auth.permission", "pk": 149, "fields": {"name": "Can add schedule", "content_type": 38, "codename": "add_schedule"}}, {"model": "auth.permission", "pk": 150, "fields": {"name": "Can change schedule", "content_type": 38, "codename": "change_schedule"}}, {"model": "auth.permission", "pk": 151, "fields": {"name": "Can delete schedule", "content_type": 38, "codename": "delete_schedule"}}, {"model": "auth.permission", "pk": 152, "fields": {"name": "Can view schedule", "content_type": 38, "codename": "view_schedule"}}, {"model": "auth.permission", "pk": 153, "fields": {"name": "Can add schedule has sequences", "content_type": 39, "codename": "add_schedulehassequences"}}, {"model": "auth.permission", "pk": 154, "fields": {"name": "Can change schedule has sequences", "content_type": 39, "codename": "change_schedulehassequences"}}, {"model": "auth.permission", "pk": 155, "fields": {"name": "Can delete schedule has sequences", "content_type": 39, "codename": "delete_schedulehassequences"}}, {"model": "auth.permission", "pk": 156, "fields": {"name": "Can view schedule has sequences", "content_type": 39, "codename": "view_schedulehassequences"}}, {"model": "auth.permission", "pk": 157, "fields": {"name": "Can add sequence", "content_type": 40, "codename": "add_sequence"}}, {"model": "auth.permission", "pk": 158, "fields": {"name": "Can change sequence", "content_type": 40, "codename": "change_sequence"}}, {"model": "auth.permission", "pk": 159, "fields": {"name": "Can delete sequence", "content_type": 40, "codename": "delete_sequence"}}, {"model": "auth.permission", "pk": 160, "fields": {"name": "Can view sequence", "content_type": 40, "codename": "view_sequence"}}, {"model": "auth.permission", "pk": 161, "fields": {"name": "Can add agent device status", "content_type": 41, "codename": "add_agentdevicestatus"}}, {"model": "auth.permission", "pk": 162, "fields": {"name": "Can change agent device status", "content_type": 41, "codename": "change_agentdevicestatus"}}, {"model": "auth.permission", "pk": 163, "fields": {"name": "Can delete agent device status", "content_type": 41, "codename": "delete_agentdevicestatus"}}, {"model": "auth.permission", "pk": 164, "fields": {"name": "Can view agent device status", "content_type": 41, "codename": "view_agentdevicestatus"}}, {"model": "auth.permission", "pk": 165, "fields": {"name": "Can add agent device telescope status", "content_type": 42, "codename": "add_agentdevicetelescopestatus"}}, {"model": "auth.permission", "pk": 166, "fields": {"name": "Can change agent device telescope status", "content_type": 42, "codename": "change_agentdevicetelescopestatus"}}, {"model": "auth.permission", "pk": 167, "fields": {"name": "Can delete agent device telescope status", "content_type": 42, "codename": "delete_agentdevicetelescopestatus"}}, {"model": "auth.permission", "pk": 168, "fields": {"name": "Can view agent device telescope status", "content_type": 42, "codename": "view_agentdevicetelescopestatus"}}, {"model": "auth.permission", "pk": 169, "fields": {"name": "Can add detector", "content_type": 43, "codename": "add_detector"}}, {"model": "auth.permission", "pk": 170, "fields": {"name": "Can change detector", "content_type": 43, "codename": "change_detector"}}, {"model": "auth.permission", "pk": 171, "fields": {"name": "Can delete detector", "content_type": 43, "codename": "delete_detector"}}, {"model": "auth.permission", "pk": 172, "fields": {"name": "Can view detector", "content_type": 43, "codename": "view_detector"}}, {"model": "auth.permission", "pk": 173, "fields": {"name": "Can add dome", "content_type": 44, "codename": "add_dome"}}, {"model": "auth.permission", "pk": 174, "fields": {"name": "Can change dome", "content_type": 44, "codename": "change_dome"}}, {"model": "auth.permission", "pk": 175, "fields": {"name": "Can delete dome", "content_type": 44, "codename": "delete_dome"}}, {"model": "auth.permission", "pk": 176, "fields": {"name": "Can view dome", "content_type": 44, "codename": "view_dome"}}, {"model": "auth.permission", "pk": 177, "fields": {"name": "Can add plc device", "content_type": 45, "codename": "add_plcdevice"}}, {"model": "auth.permission", "pk": 178, "fields": {"name": "Can change plc device", "content_type": 45, "codename": "change_plcdevice"}}, {"model": "auth.permission", "pk": 179, "fields": {"name": "Can delete plc device", "content_type": 45, "codename": "delete_plcdevice"}}, {"model": "auth.permission", "pk": 180, "fields": {"name": "Can view plc device", "content_type": 45, "codename": "view_plcdevice"}}, {"model": "auth.permission", "pk": 181, "fields": {"name": "Can add telescope", "content_type": 46, "codename": "add_telescope"}}, {"model": "auth.permission", "pk": 182, "fields": {"name": "Can change telescope", "content_type": 46, "codename": "change_telescope"}}, {"model": "auth.permission", "pk": 183, "fields": {"name": "Can delete telescope", "content_type": 46, "codename": "delete_telescope"}}, {"model": "auth.permission", "pk": 184, "fields": {"name": "Can view telescope", "content_type": 46, "codename": "view_telescope"}}, {"model": "auth.permission", "pk": 185, "fields": {"name": "Can add telescope command", "content_type": 47, "codename": "add_telescopecommand"}}, {"model": "auth.permission", "pk": 186, "fields": {"name": "Can change telescope command", "content_type": 47, "codename": "change_telescopecommand"}}, {"model": "auth.permission", "pk": 187, "fields": {"name": "Can delete telescope command", "content_type": 47, "codename": "delete_telescopecommand"}}, {"model": "auth.permission", "pk": 188, "fields": {"name": "Can view telescope command", "content_type": 47, "codename": "view_telescopecommand"}}, {"model": "auth.permission", "pk": 189, "fields": {"name": "Can add plc device status", "content_type": 48, "codename": "add_plcdevicestatus"}}, {"model": "auth.permission", "pk": 190, "fields": {"name": "Can change plc device status", "content_type": 48, "codename": "change_plcdevicestatus"}}, {"model": "auth.permission", "pk": 191, "fields": {"name": "Can delete plc device status", "content_type": 48, "codename": "delete_plcdevicestatus"}}, {"model": "auth.permission", "pk": 192, "fields": {"name": "Can view plc device status", "content_type": 48, "codename": "view_plcdevicestatus"}}, {"model": "auth.permission", "pk": 193, "fields": {"name": "Can add filter wheel", "content_type": 49, "codename": "add_filterwheel"}}, {"model": "auth.permission", "pk": 194, "fields": {"name": "Can change filter wheel", "content_type": 49, "codename": "change_filterwheel"}}, {"model": "auth.permission", "pk": 195, "fields": {"name": "Can delete filter wheel", "content_type": 49, "codename": "delete_filterwheel"}}, {"model": "auth.permission", "pk": 196, "fields": {"name": "Can view filter wheel", "content_type": 49, "codename": "view_filterwheel"}}, {"model": "auth.permission", "pk": 197, "fields": {"name": "Can add filter", "content_type": 50, "codename": "add_filter"}}, {"model": "auth.permission", "pk": 198, "fields": {"name": "Can change filter", "content_type": 50, "codename": "change_filter"}}, {"model": "auth.permission", "pk": 199, "fields": {"name": "Can delete filter", "content_type": 50, "codename": "delete_filter"}}, {"model": "auth.permission", "pk": 200, "fields": {"name": "Can view filter", "content_type": 50, "codename": "view_filter"}}, {"model": "contenttypes.contenttype", "pk": 1, "fields": {"app_label": "admin", "model": "logentry"}}, {"model": "contenttypes.contenttype", "pk": 2, "fields": {"app_label": "auth", "model": "permission"}}, {"model": "contenttypes.contenttype", "pk": 3, "fields": {"app_label": "auth", "model": "group"}}, {"model": "contenttypes.contenttype", "pk": 4, "fields": {"app_label": "contenttypes", "model": "contenttype"}}, {"model": "contenttypes.contenttype", "pk": 5, "fields": {"app_label": "sessions", "model": "session"}}, {"model": "contenttypes.contenttype", "pk": 6, "fields": {"app_label": "authtoken", "model": "token"}}, {"model": "contenttypes.contenttype", "pk": 7, "fields": {"app_label": "authtoken", "model": "tokenproxy"}}, {"model": "contenttypes.contenttype", "pk": 8, "fields": {"app_label": "user_mgmt", "model": "pyrosuser"}}, {"model": "contenttypes.contenttype", "pk": 9, "fields": {"app_label": "user_mgmt", "model": "country"}}, {"model": "contenttypes.contenttype", "pk": 10, "fields": {"app_label": "user_mgmt", "model": "institute"}}, {"model": "contenttypes.contenttype", "pk": 11, "fields": {"app_label": "user_mgmt", "model": "period"}}, {"model": "contenttypes.contenttype", "pk": 12, "fields": {"app_label": "user_mgmt", "model": "sciencetheme"}}, {"model": "contenttypes.contenttype", "pk": 13, "fields": {"app_label": "user_mgmt", "model": "scientificprogram"}}, {"model": "contenttypes.contenttype", "pk": 14, "fields": {"app_label": "user_mgmt", "model": "sp_period"}}, {"model": "contenttypes.contenttype", "pk": 15, "fields": {"app_label": "user_mgmt", "model": "userlevel"}}, {"model": "contenttypes.contenttype", "pk": 16, "fields": {"app_label": "user_mgmt", "model": "sp_periodworkflow"}}, {"model": "contenttypes.contenttype", "pk": 17, "fields": {"app_label": "user_mgmt", "model": "sp_period_guest"}}, {"model": "contenttypes.contenttype", "pk": 18, "fields": {"app_label": "user_mgmt", "model": "sp_period_user"}}, {"model": "contenttypes.contenttype", "pk": 19, "fields": {"app_label": "common", "model": "agentcmd"}}, {"model": "contenttypes.contenttype", "pk": 20, "fields": {"app_label": "common", "model": "agentlogs"}}, {"model": "contenttypes.contenttype", "pk": 21, "fields": {"app_label": "common", "model": "agentsurvey"}}, {"model": "contenttypes.contenttype", "pk": 22, "fields": {"app_label": "common", "model": "config"}}, {"model": "contenttypes.contenttype", "pk": 23, "fields": {"app_label": "common", "model": "env_data"}}, {"model": "contenttypes.contenttype", "pk": 24, "fields": {"app_label": "common", "model": "env_data_hist"}}, {"model": "contenttypes.contenttype", "pk": 25, "fields": {"app_label": "common", "model": "log"}}, {"model": "contenttypes.contenttype", "pk": 26, "fields": {"app_label": "common", "model": "majordome"}}, {"model": "contenttypes.contenttype", "pk": 27, "fields": {"app_label": "common", "model": "sensors_data"}}, {"model": "contenttypes.contenttype", "pk": 28, "fields": {"app_label": "common", "model": "sensors_data_last_value"}}, {"model": "contenttypes.contenttype", "pk": 29, "fields": {"app_label": "common", "model": "sitewatch"}}, {"model": "contenttypes.contenttype", "pk": 30, "fields": {"app_label": "common", "model": "sitewatchhistory"}}, {"model": "contenttypes.contenttype", "pk": 31, "fields": {"app_label": "common", "model": "tickets"}}, {"model": "contenttypes.contenttype", "pk": 32, "fields": {"app_label": "common", "model": "version"}}, {"model": "contenttypes.contenttype", "pk": 33, "fields": {"app_label": "common", "model": "weatherwatch"}}, {"model": "contenttypes.contenttype", "pk": 34, "fields": {"app_label": "common", "model": "weatherwatchhistory"}}, {"model": "contenttypes.contenttype", "pk": 35, "fields": {"app_label": "seq_submit", "model": "album"}}, {"model": "contenttypes.contenttype", "pk": 36, "fields": {"app_label": "seq_submit", "model": "image"}}, {"model": "contenttypes.contenttype", "pk": 37, "fields": {"app_label": "seq_submit", "model": "plan"}}, {"model": "contenttypes.contenttype", "pk": 38, "fields": {"app_label": "seq_submit", "model": "schedule"}}, {"model": "contenttypes.contenttype", "pk": 39, "fields": {"app_label": "seq_submit", "model": "schedulehassequences"}}, {"model": "contenttypes.contenttype", "pk": 40, "fields": {"app_label": "seq_submit", "model": "sequence"}}, {"model": "contenttypes.contenttype", "pk": 41, "fields": {"app_label": "devices", "model": "agentdevicestatus"}}, {"model": "contenttypes.contenttype", "pk": 42, "fields": {"app_label": "devices", "model": "agentdevicetelescopestatus"}}, {"model": "contenttypes.contenttype", "pk": 43, "fields": {"app_label": "devices", "model": "detector"}}, {"model": "contenttypes.contenttype", "pk": 44, "fields": {"app_label": "devices", "model": "dome"}}, {"model": "contenttypes.contenttype", "pk": 45, "fields": {"app_label": "devices", "model": "plcdevice"}}, {"model": "contenttypes.contenttype", "pk": 46, "fields": {"app_label": "devices", "model": "telescope"}}, {"model": "contenttypes.contenttype", "pk": 47, "fields": {"app_label": "devices", "model": "telescopecommand"}}, {"model": "contenttypes.contenttype", "pk": 48, "fields": {"app_label": "devices", "model": "plcdevicestatus"}}, {"model": "contenttypes.contenttype", "pk": 49, "fields": {"app_label": "devices", "model": "filterwheel"}}, {"model": "contenttypes.contenttype", "pk": 50, "fields": {"app_label": "devices", "model": "filter"}}, {"model": "user_mgmt.userlevel", "pk": 1, "fields": {"name": "Admin", "desc": "", "priority": 8, "quota": 9999.0}}, {"model": "user_mgmt.userlevel", "pk": 2, "fields": {"name": "Observer", "desc": "", "priority": 2, "quota": 9999.0}}, {"model": "user_mgmt.userlevel", "pk": 3, "fields": {"name": "TAC", "desc": "", "priority": 1, "quota": 9999.0}}, {"model": "user_mgmt.userlevel", "pk": 4, "fields": {"name": "Management board member", "desc": "", "priority": 3, "quota": 9999.0}}, {"model": "user_mgmt.userlevel", "pk": 5, "fields": {"name": "Operator", "desc": "", "priority": 4, "quota": 9999.0}}, {"model": "user_mgmt.userlevel", "pk": 6, "fields": {"name": "Unit-PI", "desc": "", "priority": 7, "quota": 9999.0}}, {"model": "user_mgmt.userlevel", "pk": 7, "fields": {"name": "Unit-board", "desc": "", "priority": 6, "quota": 9999.0}}, {"model": "user_mgmt.userlevel", "pk": 8, "fields": {"name": "Visitor", "desc": "Account without any privilege", "priority": 0, "quota": 0.0}}, {"model": "user_mgmt.country", "pk": 1, "fields": {"name": "France", "desc": "", "quota": null}}, {"model": "user_mgmt.institute", "pk": 1, "fields": {"name": "CNES", "quota": 80}}, {"model": "user_mgmt.institute", "pk": 2, "fields": {"name": "CNRS", "quota": 20}}, {"model": "user_mgmt.sciencetheme", "pk": 1, "fields": {"name": "Solar System"}}, {"model": "user_mgmt.sciencetheme", "pk": 2, "fields": {"name": "Galatic"}}, {"model": "user_mgmt.sciencetheme", "pk": 3, "fields": {"name": "Extra Galatic"}}, {"model": "user_mgmt.pyrosuser", "pk": 1, "fields": {"password": "pbkdf2_sha256$24000$HRial3QUfrlz$bVuEzQaXthOd9GZVXd2449LDEF8EMQure69nA/Hu7qQ=", "last_login": "2016-08-10T15:16:42.327Z", "is_superuser": true, "first_name": "pyros", "last_name": "", "email": "admin@example.com", "is_staff": true, "date_joined": "2016-08-10T15:15:58.481Z", "username": "pyros", "is_active": true, "first_time": false, "country": 1, "desc": "", "created": "2016-08-11T07:54:05.627Z", "updated": "2016-08-11T07:54:05.627Z", "tel": "", "address": "", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": null, "groups": [], "user_permissions": [], "user_level": [1], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 2, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "Pascal", "last_name": "Richard", "email": "Pascal.Richard@cnes.fr", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "Pascal.Richard@cnes.fr", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "18 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "CNES", "institute": 1, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [2], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 3, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "Mégane", "last_name": "Diet", "email": "Megane.Diet@cnes.fr", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "Megane.Diet@cnes.fr", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "18 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "CNES", "institute": 1, "is_institute_representative": true, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [2, 4], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 4, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "Valentin", "last_name": "Baral", "email": "Valentin.Baral@cnes.fr", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "Valentin.Baral@cnes.fr", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "18 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "CNES", "institute": 1, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [2], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 5, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "Alain", "last_name": "Klotz", "email": "aklotz@irap.omp.eu", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "aklotz@irap.omp.eu", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": true, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [2, 4, 6], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 6, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "Loic", "last_name": "Eymar", "email": "loic.eymar@oca.eu", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "loic.eymar@oca.eu", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "96 Boulevard de l'Observatoire, 06300 Nice", "laboratory": "OCA", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [2, 5], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 7, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": true, "first_name": "Etienne", "last_name": "Pallier", "email": "etienne.pallier@irap.omp.eu", "is_staff": true, "date_joined": "2021-05-20T09:03:37.108Z", "username": "etienne.pallier@irap.omp.eu", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [1], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 8, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": true, "first_name": "Alexis", "last_name": "Koralewski", "email": "akoralewski@irap.omp.eu", "is_staff": true, "date_joined": "2021-05-20T09:03:37.108Z", "username": "akoralewski@irap.omp.eu", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [1], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 9, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "Observer", "last_name": "Observer", "email": "observer@example.com", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "observer@example.com", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [2], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 10, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": true, "first_name": "Admin", "last_name": "Admin", "email": "Admin@example.com", "is_staff": true, "date_joined": "2021-05-20T09:03:37.108Z", "username": "Admin@example.com", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [1], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 11, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "Operator", "last_name": "Operator", "email": "Operator@example.com", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "Operator@example.com", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [5], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 12, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "Management", "last_name": "Board", "email": "Management_board@example.com", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "Management_board@example.com", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [4], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 13, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": true, "first_name": "Unit", "last_name": "PI", "email": "Unit-PI@example.com", "is_staff": true, "date_joined": "2021-05-20T09:03:37.108Z", "username": "Unit-PI@example.com", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [6], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 14, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "TAC", "last_name": "TAC", "email": "TAC@example.com", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "TAC@example.com", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [3], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 15, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "Visitor", "last_name": "Visitor", "email": "Visitor@example.com", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "Visitor@example.com", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [8], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 16, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": true, "first_name": "Unit", "last_name": "Board", "email": "Unit-board@example.com", "is_staff": true, "date_joined": "2021-05-20T09:03:37.108Z", "username": "Unit-board@example.com", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [7], "referee_themes": []}}, {"model": "user_mgmt.period", "pk": 1, "fields": {"start_date": "2023-06-20", "exploitation_duration": 182, "submission_duration": 136, "evaluation_duration": 31, "validation_duration": 5, "notification_duration": 10, "property_of_data_duration": 365, "data_accessibility_duration": 3650}}, {"model": "user_mgmt.scientificprogram", "pk": 1, "fields": {"created": null, "updated": null, "name": "debris", "description_short": "", "description_long": "", "institute": 1, "sp_pi": 2, "science_theme": 1, "is_auto_validated": true}}, {"model": "user_mgmt.sp_period", "pk": 1, "fields": {"period": 1, "scientific_program": 1, "public_visibility": "Name", "referee1": null, "vote_referee1": "A: Accepted", "reason_referee1": "", "referee2": null, "vote_referee2": "A: Accepted", "reason_referee2": "", "is_valid": "Accepted", "status": "Accepted", "quota_minimal": 0, "quota_nominal": 0, "quota_allocated": 0, "quota_remaining": 0, "over_quota_duration": 0, "over_quota_duration_allocated": 0, "over_quota_duration_remaining": 0, "token": 0, "token_allocated": 0, "token_remaining": 0, "priority": 0}}, {"model": "user_mgmt.sp_period_user", "pk": 2, "fields": {"SP_Period": 1, "user": 3}}, {"model": "user_mgmt.sp_period_user", "pk": 3, "fields": {"SP_Period": 1, "user": 4}}, {"model": "seq_submit.sequence", "pk": 1, "fields": {"start_expo_pref": "IMMEDIATE", "pyros_user": 2, "scientific_program": 1, "name": "seq_20220218T158246", "desc": null, "created": "2022-02-18T15:07:36.334Z", "updated": "2022-02-21T12:40:50.275Z", "last_modified_by": null, "is_alert": false, "status": "DRAFT", "with_drift": false, "priority": null, "analysis_method": null, "moon_min": null, "alt_min": null, "type": null, "img_current": null, "img_total": null, "not_obs": false, "obsolete": false, "processing": false, "flag": null, "period": 1, "start_date": "2022-02-18T15:07:36Z", "end_date": "2022-02-18T15:07:36.333Z", "jd1": "0E-8", "jd2": "0E-8", "tolerance_before": "1s", "tolerance_after": "1min", "duration": "-1.00000000", "overhead": "0E-8", "submitted": false, "config_attributes": {"layout": "OpticalChannel", "target": "RADEC 0H10M -15D", "conformation": "WIDE", "tolerance_after": "1min", "tolerance_before": "1s"}, "ra": null, "dec": null, "complete": true, "night_id": null}}, {"model": "seq_submit.sequence", "pk": 2, "fields": {"start_expo_pref": "IMMEDIATE", "pyros_user": 2, "scientific_program": 1, "name": "seq_20220218T150731", "desc": null, "created": "2022-02-21T12:43:05.768Z", "updated": "2022-02-21T12:43:06.872Z", "last_modified_by": null, "is_alert": false, "status": "TBP", "with_drift": false, "priority": null, "analysis_method": null, "moon_min": null, "alt_min": null, "type": null, "img_current": null, "img_total": null, "not_obs": false, "obsolete": false, "processing": false, "flag": null, "period": 1, "start_date": "2022-02-21T20:07:36Z", "end_date": "2022-02-21T12:43:05.767Z", "jd1": "0E-8", "jd2": "0E-8", "tolerance_before": "1s", "tolerance_after": "1min", "duration": "-1.00000000", "overhead": "0E-8", "submitted": false, "config_attributes": {"layout": "OpticalChannel", "target": "RADEC 0H10M -15D", "conformation": "WIDE"}, "ra": null, "dec": null, "complete": true, "night_id": null}}, {"model": "seq_submit.sequence", "pk": 3, "fields": {"start_expo_pref": "IMMEDIATE", "pyros_user": 2, "scientific_program": 1, "name": "seq_20220218T150732", "desc": null, "created": "2022-02-21T12:44:28.423Z", "updated": "2022-02-21T12:44:29.556Z", "last_modified_by": null, "is_alert": false, "status": "TBP", "with_drift": false, "priority": null, "analysis_method": null, "moon_min": null, "alt_min": null, "type": null, "img_current": null, "img_total": null, "not_obs": false, "obsolete": false, "processing": false, "flag": null, "period": 1, "start_date": "2022-02-21T20:07:36Z", "end_date": "2022-02-21T12:44:28.422Z", "jd1": "0E-8", "jd2": "0E-8", "tolerance_before": "1s", "tolerance_after": "1min", "duration": "-1.00000000", "overhead": "0E-8", "submitted": false, "config_attributes": {"layout": "OpticalChannel", "target": "RADEC 0H10M -15D", "conformation": "WIDE"}, "ra": null, "dec": null, "complete": true, "night_id": null}}, {"model": "seq_submit.album", "pk": 1, "fields": {"sequence": 1, "name": "OpticalChannel", "desc": "Album with one channel", "created": "2022-02-18T15:07:43.164Z", "updated": "2022-02-21T12:40:50.149Z", "complete": true}}, {"model": "seq_submit.album", "pk": 2, "fields": {"sequence": 2, "name": "OpticalChannel", "desc": null, "created": "2022-02-21T12:43:06.477Z", "updated": "2022-02-21T12:43:06.477Z", "complete": true}}, {"model": "seq_submit.album", "pk": 3, "fields": {"sequence": 3, "name": "OpticalChannel", "desc": null, "created": "2022-02-21T12:44:29.265Z", "updated": "2022-02-21T12:44:29.265Z", "complete": true}}, {"model": "seq_submit.plan", "pk": 1, "fields": {"album": 1, "created": "2022-02-18T15:07:51.078Z", "updated": "2022-02-21T12:40:49.978Z", "duration": 0.0, "nb_images": 1, "config_attributes": {"binnings": {"binxy": [1, 1], "readouttime": 6}, "exposuretime": 1.0}, "complete": true}}, {"model": "seq_submit.plan", "pk": 2, "fields": {"album": 2, "created": "2022-02-21T12:43:06.670Z", "updated": "2022-02-21T12:43:06.794Z", "duration": 0.0, "nb_images": 1, "config_attributes": {"binnings": {"binxy": [1, 1], "readouttime": 6}, "exposuretime": 1.0}, "complete": true}}, {"model": "seq_submit.plan", "pk": 3, "fields": {"album": 3, "created": "2022-02-21T12:44:29.361Z", "updated": "2022-02-21T12:44:29.468Z", "duration": 0.0, "nb_images": 1, "config_attributes": {"binnings": {"binxy": [1, 1], "readouttime": 6}, "exposuretime": 1.0}, "complete": true}}, {"model": "devices.plcdevice", "pk": 1, "fields": {"is_online": false, "status": null, "maintenance_date": null, "name": "Plc", "desc": "", "created": "2018-06-18T14:32:00Z", "updated": "2018-06-18T14:32:00Z"}}, {"model": "devices.detector", "pk": 1, "fields": {"name": "Cagire", "desc": "", "created": "2016-05-13T11:49:49Z", "updated": "2016-05-13T11:49:49Z", "is_online": false, "status": "", "maintenance_date": null, "telescope": 1, "nb_photo_x": null, "nb_photo_y": null, "photo_size_x": null, "photo_size_y": null, "has_shutter": false, "equivalent_foc_len": "", "acq_start": null, "acq_stop": null, "check_temp": null, "gain": null, "readout_noise": null, "readout_time": null, "idcam_readout_mode": null}}, {"model": "devices.detector", "pk": 2, "fields": {"name": "Visible camera", "desc": "", "created": "2016-05-13T11:50:17Z", "updated": "2016-05-13T11:50:17Z", "is_online": false, "status": "", "maintenance_date": null, "telescope": 1, "nb_photo_x": null, "nb_photo_y": null, "photo_size_x": null, "photo_size_y": null, "has_shutter": false, "equivalent_foc_len": "", "acq_start": null, "acq_stop": null, "check_temp": null, "gain": null, "readout_noise": null, "readout_time": null, "idcam_readout_mode": null}}, {"model": "devices.dome", "pk": 1, "fields": {"name": "Dome", "desc": "dome", "created": "2016-05-13T11:50:14Z", "updated": "2016-05-13T11:50:14Z", "is_online": false, "status": "", "maintenance_date": null, "open": false}}, {"model": "devices.filter", "pk": 1, "fields": {"name": "First infrared filter", "desc": "", "created": "2016-05-13T11:49:56Z", "updated": "2016-05-13T11:49:56Z", "is_online": false, "status": "", "maintenance_date": null, "filter_wheel": 2, "category": "", "transmission_curve_doc": ""}}, {"model": "devices.filter", "pk": 2, "fields": {"name": "Second infrared filter", "desc": "", "created": "2016-05-13T11:50:07Z", "updated": "2016-05-13T11:50:07Z", "is_online": false, "status": "", "maintenance_date": null, "filter_wheel": 2, "category": "", "transmission_curve_doc": ""}}, {"model": "devices.filter", "pk": 3, "fields": {"name": "First visible filter", "desc": "", "created": "2016-05-13T11:50:02Z", "updated": "2016-05-13T11:50:02Z", "is_online": false, "status": "", "maintenance_date": null, "filter_wheel": 2, "category": "", "transmission_curve_doc": ""}}, {"model": "devices.filter", "pk": 4, "fields": {"name": "Second visible filter", "desc": "", "created": "2016-05-13T11:50:11Z", "updated": "2016-05-13T11:50:11Z", "is_online": false, "status": "", "maintenance_date": null, "filter_wheel": 2, "category": "", "transmission_curve_doc": ""}}, {"model": "devices.filterwheel", "pk": 1, "fields": {"name": "Cagire FW", "desc": "", "created": "2016-06-28T13:28:28Z", "updated": "2016-06-28T13:28:28Z", "is_online": false, "status": "", "maintenance_date": null, "detector": 1}}, {"model": "devices.filterwheel", "pk": 2, "fields": {"name": "Visible Camera FW", "desc": "", "created": "2016-06-28T13:28:46Z", "updated": "2016-06-28T13:28:46Z", "is_online": false, "status": "", "maintenance_date": null, "detector": 2}}, {"model": "devices.telescope", "pk": 1, "fields": {"name": "Telescope", "desc": "", "created": "2016-05-13T11:50:14Z", "updated": "2016-05-13T11:50:14Z", "is_online": false, "status": "", "maintenance_date": null, "mount_type": "", "diameter": null, "latitude": null, "longitude": null, "sens": "", "altitude": null, "readout_time": null, "slew_time": null, "slew_dead": null, "slew_rate_max": null, "horizon_type": "", "horizon_def": null, "lim_dec_max": null, "lim_dec_min": null, "lim_ha_rise": null, "lim_ha_set": null, "address": "", "night_elev_sun": null, "mpc_code": ""}}] | ||
2 | \ No newline at end of file | 1 | \ No newline at end of file |
2 | +[{"model": "auth.permission", "pk": 1, "fields": {"name": "Can add log entry", "content_type": 1, "codename": "add_logentry"}}, {"model": "auth.permission", "pk": 2, "fields": {"name": "Can change log entry", "content_type": 1, "codename": "change_logentry"}}, {"model": "auth.permission", "pk": 3, "fields": {"name": "Can delete log entry", "content_type": 1, "codename": "delete_logentry"}}, {"model": "auth.permission", "pk": 4, "fields": {"name": "Can view log entry", "content_type": 1, "codename": "view_logentry"}}, {"model": "auth.permission", "pk": 5, "fields": {"name": "Can add permission", "content_type": 2, "codename": "add_permission"}}, {"model": "auth.permission", "pk": 6, "fields": {"name": "Can change permission", "content_type": 2, "codename": "change_permission"}}, {"model": "auth.permission", "pk": 7, "fields": {"name": "Can delete permission", "content_type": 2, "codename": "delete_permission"}}, {"model": "auth.permission", "pk": 8, "fields": {"name": "Can view permission", "content_type": 2, "codename": "view_permission"}}, {"model": "auth.permission", "pk": 9, "fields": {"name": "Can add group", "content_type": 3, "codename": "add_group"}}, {"model": "auth.permission", "pk": 10, "fields": {"name": "Can change group", "content_type": 3, "codename": "change_group"}}, {"model": "auth.permission", "pk": 11, "fields": {"name": "Can delete group", "content_type": 3, "codename": "delete_group"}}, {"model": "auth.permission", "pk": 12, "fields": {"name": "Can view group", "content_type": 3, "codename": "view_group"}}, {"model": "auth.permission", "pk": 13, "fields": {"name": "Can add content type", "content_type": 4, "codename": "add_contenttype"}}, {"model": "auth.permission", "pk": 14, "fields": {"name": "Can change content type", "content_type": 4, "codename": "change_contenttype"}}, {"model": "auth.permission", "pk": 15, "fields": {"name": "Can delete content type", "content_type": 4, "codename": "delete_contenttype"}}, {"model": "auth.permission", "pk": 16, "fields": {"name": "Can view content type", "content_type": 4, "codename": "view_contenttype"}}, {"model": "auth.permission", "pk": 17, "fields": {"name": "Can add session", "content_type": 5, "codename": "add_session"}}, {"model": "auth.permission", "pk": 18, "fields": {"name": "Can change session", "content_type": 5, "codename": "change_session"}}, {"model": "auth.permission", "pk": 19, "fields": {"name": "Can delete session", "content_type": 5, "codename": "delete_session"}}, {"model": "auth.permission", "pk": 20, "fields": {"name": "Can view session", "content_type": 5, "codename": "view_session"}}, {"model": "auth.permission", "pk": 21, "fields": {"name": "Can add Token", "content_type": 6, "codename": "add_token"}}, {"model": "auth.permission", "pk": 22, "fields": {"name": "Can change Token", "content_type": 6, "codename": "change_token"}}, {"model": "auth.permission", "pk": 23, "fields": {"name": "Can delete Token", "content_type": 6, "codename": "delete_token"}}, {"model": "auth.permission", "pk": 24, "fields": {"name": "Can view Token", "content_type": 6, "codename": "view_token"}}, {"model": "auth.permission", "pk": 25, "fields": {"name": "Can add token", "content_type": 7, "codename": "add_tokenproxy"}}, {"model": "auth.permission", "pk": 26, "fields": {"name": "Can change token", "content_type": 7, "codename": "change_tokenproxy"}}, {"model": "auth.permission", "pk": 27, "fields": {"name": "Can delete token", "content_type": 7, "codename": "delete_tokenproxy"}}, {"model": "auth.permission", "pk": 28, "fields": {"name": "Can view token", "content_type": 7, "codename": "view_tokenproxy"}}, {"model": "auth.permission", "pk": 29, "fields": {"name": "Can add pyros user", "content_type": 8, "codename": "add_pyrosuser"}}, {"model": "auth.permission", "pk": 30, "fields": {"name": "Can change pyros user", "content_type": 8, "codename": "change_pyrosuser"}}, {"model": "auth.permission", "pk": 31, "fields": {"name": "Can delete pyros user", "content_type": 8, "codename": "delete_pyrosuser"}}, {"model": "auth.permission", "pk": 32, "fields": {"name": "Can view pyros user", "content_type": 8, "codename": "view_pyrosuser"}}, {"model": "auth.permission", "pk": 33, "fields": {"name": "Can add country", "content_type": 9, "codename": "add_country"}}, {"model": "auth.permission", "pk": 34, "fields": {"name": "Can change country", "content_type": 9, "codename": "change_country"}}, {"model": "auth.permission", "pk": 35, "fields": {"name": "Can delete country", "content_type": 9, "codename": "delete_country"}}, {"model": "auth.permission", "pk": 36, "fields": {"name": "Can view country", "content_type": 9, "codename": "view_country"}}, {"model": "auth.permission", "pk": 37, "fields": {"name": "Can add institute", "content_type": 10, "codename": "add_institute"}}, {"model": "auth.permission", "pk": 38, "fields": {"name": "Can change institute", "content_type": 10, "codename": "change_institute"}}, {"model": "auth.permission", "pk": 39, "fields": {"name": "Can delete institute", "content_type": 10, "codename": "delete_institute"}}, {"model": "auth.permission", "pk": 40, "fields": {"name": "Can view institute", "content_type": 10, "codename": "view_institute"}}, {"model": "auth.permission", "pk": 41, "fields": {"name": "Can add period", "content_type": 11, "codename": "add_period"}}, {"model": "auth.permission", "pk": 42, "fields": {"name": "Can change period", "content_type": 11, "codename": "change_period"}}, {"model": "auth.permission", "pk": 43, "fields": {"name": "Can delete period", "content_type": 11, "codename": "delete_period"}}, {"model": "auth.permission", "pk": 44, "fields": {"name": "Can view period", "content_type": 11, "codename": "view_period"}}, {"model": "auth.permission", "pk": 45, "fields": {"name": "Can add science theme", "content_type": 12, "codename": "add_sciencetheme"}}, {"model": "auth.permission", "pk": 46, "fields": {"name": "Can change science theme", "content_type": 12, "codename": "change_sciencetheme"}}, {"model": "auth.permission", "pk": 47, "fields": {"name": "Can delete science theme", "content_type": 12, "codename": "delete_sciencetheme"}}, {"model": "auth.permission", "pk": 48, "fields": {"name": "Can view science theme", "content_type": 12, "codename": "view_sciencetheme"}}, {"model": "auth.permission", "pk": 49, "fields": {"name": "Can add scientific program", "content_type": 13, "codename": "add_scientificprogram"}}, {"model": "auth.permission", "pk": 50, "fields": {"name": "Can change scientific program", "content_type": 13, "codename": "change_scientificprogram"}}, {"model": "auth.permission", "pk": 51, "fields": {"name": "Can delete scientific program", "content_type": 13, "codename": "delete_scientificprogram"}}, {"model": "auth.permission", "pk": 52, "fields": {"name": "Can view scientific program", "content_type": 13, "codename": "view_scientificprogram"}}, {"model": "auth.permission", "pk": 53, "fields": {"name": "Can add s p_ period", "content_type": 14, "codename": "add_sp_period"}}, {"model": "auth.permission", "pk": 54, "fields": {"name": "Can change s p_ period", "content_type": 14, "codename": "change_sp_period"}}, {"model": "auth.permission", "pk": 55, "fields": {"name": "Can delete s p_ period", "content_type": 14, "codename": "delete_sp_period"}}, {"model": "auth.permission", "pk": 56, "fields": {"name": "Can view s p_ period", "content_type": 14, "codename": "view_sp_period"}}, {"model": "auth.permission", "pk": 57, "fields": {"name": "Can add user level", "content_type": 15, "codename": "add_userlevel"}}, {"model": "auth.permission", "pk": 58, "fields": {"name": "Can change user level", "content_type": 15, "codename": "change_userlevel"}}, {"model": "auth.permission", "pk": 59, "fields": {"name": "Can delete user level", "content_type": 15, "codename": "delete_userlevel"}}, {"model": "auth.permission", "pk": 60, "fields": {"name": "Can view user level", "content_type": 15, "codename": "view_userlevel"}}, {"model": "auth.permission", "pk": 61, "fields": {"name": "Can add s p_ period workflow", "content_type": 16, "codename": "add_sp_periodworkflow"}}, {"model": "auth.permission", "pk": 62, "fields": {"name": "Can change s p_ period workflow", "content_type": 16, "codename": "change_sp_periodworkflow"}}, {"model": "auth.permission", "pk": 63, "fields": {"name": "Can delete s p_ period workflow", "content_type": 16, "codename": "delete_sp_periodworkflow"}}, {"model": "auth.permission", "pk": 64, "fields": {"name": "Can view s p_ period workflow", "content_type": 16, "codename": "view_sp_periodworkflow"}}, {"model": "auth.permission", "pk": 65, "fields": {"name": "Can add s p_ period_ guest", "content_type": 17, "codename": "add_sp_period_guest"}}, {"model": "auth.permission", "pk": 66, "fields": {"name": "Can change s p_ period_ guest", "content_type": 17, "codename": "change_sp_period_guest"}}, {"model": "auth.permission", "pk": 67, "fields": {"name": "Can delete s p_ period_ guest", "content_type": 17, "codename": "delete_sp_period_guest"}}, {"model": "auth.permission", "pk": 68, "fields": {"name": "Can view s p_ period_ guest", "content_type": 17, "codename": "view_sp_period_guest"}}, {"model": "auth.permission", "pk": 69, "fields": {"name": "Can add s p_ period_ user", "content_type": 18, "codename": "add_sp_period_user"}}, {"model": "auth.permission", "pk": 70, "fields": {"name": "Can change s p_ period_ user", "content_type": 18, "codename": "change_sp_period_user"}}, {"model": "auth.permission", "pk": 71, "fields": {"name": "Can delete s p_ period_ user", "content_type": 18, "codename": "delete_sp_period_user"}}, {"model": "auth.permission", "pk": 72, "fields": {"name": "Can view s p_ period_ user", "content_type": 18, "codename": "view_sp_period_user"}}, {"model": "auth.permission", "pk": 73, "fields": {"name": "Can add agent cmd", "content_type": 19, "codename": "add_agentcmd"}}, {"model": "auth.permission", "pk": 74, "fields": {"name": "Can change agent cmd", "content_type": 19, "codename": "change_agentcmd"}}, {"model": "auth.permission", "pk": 75, "fields": {"name": "Can delete agent cmd", "content_type": 19, "codename": "delete_agentcmd"}}, {"model": "auth.permission", "pk": 76, "fields": {"name": "Can view agent cmd", "content_type": 19, "codename": "view_agentcmd"}}, {"model": "auth.permission", "pk": 77, "fields": {"name": "Can add agent logs", "content_type": 20, "codename": "add_agentlogs"}}, {"model": "auth.permission", "pk": 78, "fields": {"name": "Can change agent logs", "content_type": 20, "codename": "change_agentlogs"}}, {"model": "auth.permission", "pk": 79, "fields": {"name": "Can delete agent logs", "content_type": 20, "codename": "delete_agentlogs"}}, {"model": "auth.permission", "pk": 80, "fields": {"name": "Can view agent logs", "content_type": 20, "codename": "view_agentlogs"}}, {"model": "auth.permission", "pk": 81, "fields": {"name": "Can add agent survey", "content_type": 21, "codename": "add_agentsurvey"}}, {"model": "auth.permission", "pk": 82, "fields": {"name": "Can change agent survey", "content_type": 21, "codename": "change_agentsurvey"}}, {"model": "auth.permission", "pk": 83, "fields": {"name": "Can delete agent survey", "content_type": 21, "codename": "delete_agentsurvey"}}, {"model": "auth.permission", "pk": 84, "fields": {"name": "Can view agent survey", "content_type": 21, "codename": "view_agentsurvey"}}, {"model": "auth.permission", "pk": 85, "fields": {"name": "Can add config", "content_type": 22, "codename": "add_config"}}, {"model": "auth.permission", "pk": 86, "fields": {"name": "Can change config", "content_type": 22, "codename": "change_config"}}, {"model": "auth.permission", "pk": 87, "fields": {"name": "Can delete config", "content_type": 22, "codename": "delete_config"}}, {"model": "auth.permission", "pk": 88, "fields": {"name": "Can view config", "content_type": 22, "codename": "view_config"}}, {"model": "auth.permission", "pk": 89, "fields": {"name": "Can add env_data", "content_type": 23, "codename": "add_env_data"}}, {"model": "auth.permission", "pk": 90, "fields": {"name": "Can change env_data", "content_type": 23, "codename": "change_env_data"}}, {"model": "auth.permission", "pk": 91, "fields": {"name": "Can delete env_data", "content_type": 23, "codename": "delete_env_data"}}, {"model": "auth.permission", "pk": 92, "fields": {"name": "Can view env_data", "content_type": 23, "codename": "view_env_data"}}, {"model": "auth.permission", "pk": 93, "fields": {"name": "Can add env_data_hist", "content_type": 24, "codename": "add_env_data_hist"}}, {"model": "auth.permission", "pk": 94, "fields": {"name": "Can change env_data_hist", "content_type": 24, "codename": "change_env_data_hist"}}, {"model": "auth.permission", "pk": 95, "fields": {"name": "Can delete env_data_hist", "content_type": 24, "codename": "delete_env_data_hist"}}, {"model": "auth.permission", "pk": 96, "fields": {"name": "Can view env_data_hist", "content_type": 24, "codename": "view_env_data_hist"}}, {"model": "auth.permission", "pk": 97, "fields": {"name": "Can add log", "content_type": 25, "codename": "add_log"}}, {"model": "auth.permission", "pk": 98, "fields": {"name": "Can change log", "content_type": 25, "codename": "change_log"}}, {"model": "auth.permission", "pk": 99, "fields": {"name": "Can delete log", "content_type": 25, "codename": "delete_log"}}, {"model": "auth.permission", "pk": 100, "fields": {"name": "Can view log", "content_type": 25, "codename": "view_log"}}, {"model": "auth.permission", "pk": 101, "fields": {"name": "Can add majordome", "content_type": 26, "codename": "add_majordome"}}, {"model": "auth.permission", "pk": 102, "fields": {"name": "Can change majordome", "content_type": 26, "codename": "change_majordome"}}, {"model": "auth.permission", "pk": 103, "fields": {"name": "Can delete majordome", "content_type": 26, "codename": "delete_majordome"}}, {"model": "auth.permission", "pk": 104, "fields": {"name": "Can view majordome", "content_type": 26, "codename": "view_majordome"}}, {"model": "auth.permission", "pk": 105, "fields": {"name": "Can add sensors_data", "content_type": 27, "codename": "add_sensors_data"}}, {"model": "auth.permission", "pk": 106, "fields": {"name": "Can change sensors_data", "content_type": 27, "codename": "change_sensors_data"}}, {"model": "auth.permission", "pk": 107, "fields": {"name": "Can delete sensors_data", "content_type": 27, "codename": "delete_sensors_data"}}, {"model": "auth.permission", "pk": 108, "fields": {"name": "Can view sensors_data", "content_type": 27, "codename": "view_sensors_data"}}, {"model": "auth.permission", "pk": 109, "fields": {"name": "Can add sensors_data_last_value", "content_type": 28, "codename": "add_sensors_data_last_value"}}, {"model": "auth.permission", "pk": 110, "fields": {"name": "Can change sensors_data_last_value", "content_type": 28, "codename": "change_sensors_data_last_value"}}, {"model": "auth.permission", "pk": 111, "fields": {"name": "Can delete sensors_data_last_value", "content_type": 28, "codename": "delete_sensors_data_last_value"}}, {"model": "auth.permission", "pk": 112, "fields": {"name": "Can view sensors_data_last_value", "content_type": 28, "codename": "view_sensors_data_last_value"}}, {"model": "auth.permission", "pk": 113, "fields": {"name": "Can add site watch", "content_type": 29, "codename": "add_sitewatch"}}, {"model": "auth.permission", "pk": 114, "fields": {"name": "Can change site watch", "content_type": 29, "codename": "change_sitewatch"}}, {"model": "auth.permission", "pk": 115, "fields": {"name": "Can delete site watch", "content_type": 29, "codename": "delete_sitewatch"}}, {"model": "auth.permission", "pk": 116, "fields": {"name": "Can view site watch", "content_type": 29, "codename": "view_sitewatch"}}, {"model": "auth.permission", "pk": 117, "fields": {"name": "Can add site watch history", "content_type": 30, "codename": "add_sitewatchhistory"}}, {"model": "auth.permission", "pk": 118, "fields": {"name": "Can change site watch history", "content_type": 30, "codename": "change_sitewatchhistory"}}, {"model": "auth.permission", "pk": 119, "fields": {"name": "Can delete site watch history", "content_type": 30, "codename": "delete_sitewatchhistory"}}, {"model": "auth.permission", "pk": 120, "fields": {"name": "Can view site watch history", "content_type": 30, "codename": "view_sitewatchhistory"}}, {"model": "auth.permission", "pk": 121, "fields": {"name": "Can add tickets", "content_type": 31, "codename": "add_tickets"}}, {"model": "auth.permission", "pk": 122, "fields": {"name": "Can change tickets", "content_type": 31, "codename": "change_tickets"}}, {"model": "auth.permission", "pk": 123, "fields": {"name": "Can delete tickets", "content_type": 31, "codename": "delete_tickets"}}, {"model": "auth.permission", "pk": 124, "fields": {"name": "Can view tickets", "content_type": 31, "codename": "view_tickets"}}, {"model": "auth.permission", "pk": 125, "fields": {"name": "Can add version", "content_type": 32, "codename": "add_version"}}, {"model": "auth.permission", "pk": 126, "fields": {"name": "Can change version", "content_type": 32, "codename": "change_version"}}, {"model": "auth.permission", "pk": 127, "fields": {"name": "Can delete version", "content_type": 32, "codename": "delete_version"}}, {"model": "auth.permission", "pk": 128, "fields": {"name": "Can view version", "content_type": 32, "codename": "view_version"}}, {"model": "auth.permission", "pk": 129, "fields": {"name": "Can add weather watch", "content_type": 33, "codename": "add_weatherwatch"}}, {"model": "auth.permission", "pk": 130, "fields": {"name": "Can change weather watch", "content_type": 33, "codename": "change_weatherwatch"}}, {"model": "auth.permission", "pk": 131, "fields": {"name": "Can delete weather watch", "content_type": 33, "codename": "delete_weatherwatch"}}, {"model": "auth.permission", "pk": 132, "fields": {"name": "Can view weather watch", "content_type": 33, "codename": "view_weatherwatch"}}, {"model": "auth.permission", "pk": 133, "fields": {"name": "Can add weather watch history", "content_type": 34, "codename": "add_weatherwatchhistory"}}, {"model": "auth.permission", "pk": 134, "fields": {"name": "Can change weather watch history", "content_type": 34, "codename": "change_weatherwatchhistory"}}, {"model": "auth.permission", "pk": 135, "fields": {"name": "Can delete weather watch history", "content_type": 34, "codename": "delete_weatherwatchhistory"}}, {"model": "auth.permission", "pk": 136, "fields": {"name": "Can view weather watch history", "content_type": 34, "codename": "view_weatherwatchhistory"}}, {"model": "auth.permission", "pk": 137, "fields": {"name": "Can add album", "content_type": 35, "codename": "add_album"}}, {"model": "auth.permission", "pk": 138, "fields": {"name": "Can change album", "content_type": 35, "codename": "change_album"}}, {"model": "auth.permission", "pk": 139, "fields": {"name": "Can delete album", "content_type": 35, "codename": "delete_album"}}, {"model": "auth.permission", "pk": 140, "fields": {"name": "Can view album", "content_type": 35, "codename": "view_album"}}, {"model": "auth.permission", "pk": 141, "fields": {"name": "Can add image", "content_type": 36, "codename": "add_image"}}, {"model": "auth.permission", "pk": 142, "fields": {"name": "Can change image", "content_type": 36, "codename": "change_image"}}, {"model": "auth.permission", "pk": 143, "fields": {"name": "Can delete image", "content_type": 36, "codename": "delete_image"}}, {"model": "auth.permission", "pk": 144, "fields": {"name": "Can view image", "content_type": 36, "codename": "view_image"}}, {"model": "auth.permission", "pk": 145, "fields": {"name": "Can add plan", "content_type": 37, "codename": "add_plan"}}, {"model": "auth.permission", "pk": 146, "fields": {"name": "Can change plan", "content_type": 37, "codename": "change_plan"}}, {"model": "auth.permission", "pk": 147, "fields": {"name": "Can delete plan", "content_type": 37, "codename": "delete_plan"}}, {"model": "auth.permission", "pk": 148, "fields": {"name": "Can view plan", "content_type": 37, "codename": "view_plan"}}, {"model": "auth.permission", "pk": 149, "fields": {"name": "Can add schedule", "content_type": 38, "codename": "add_schedule"}}, {"model": "auth.permission", "pk": 150, "fields": {"name": "Can change schedule", "content_type": 38, "codename": "change_schedule"}}, {"model": "auth.permission", "pk": 151, "fields": {"name": "Can delete schedule", "content_type": 38, "codename": "delete_schedule"}}, {"model": "auth.permission", "pk": 152, "fields": {"name": "Can view schedule", "content_type": 38, "codename": "view_schedule"}}, {"model": "auth.permission", "pk": 153, "fields": {"name": "Can add schedule has sequences", "content_type": 39, "codename": "add_schedulehassequences"}}, {"model": "auth.permission", "pk": 154, "fields": {"name": "Can change schedule has sequences", "content_type": 39, "codename": "change_schedulehassequences"}}, {"model": "auth.permission", "pk": 155, "fields": {"name": "Can delete schedule has sequences", "content_type": 39, "codename": "delete_schedulehassequences"}}, {"model": "auth.permission", "pk": 156, "fields": {"name": "Can view schedule has sequences", "content_type": 39, "codename": "view_schedulehassequences"}}, {"model": "auth.permission", "pk": 157, "fields": {"name": "Can add sequence", "content_type": 40, "codename": "add_sequence"}}, {"model": "auth.permission", "pk": 158, "fields": {"name": "Can change sequence", "content_type": 40, "codename": "change_sequence"}}, {"model": "auth.permission", "pk": 159, "fields": {"name": "Can delete sequence", "content_type": 40, "codename": "delete_sequence"}}, {"model": "auth.permission", "pk": 160, "fields": {"name": "Can view sequence", "content_type": 40, "codename": "view_sequence"}}, {"model": "auth.permission", "pk": 161, "fields": {"name": "Can add agent device status", "content_type": 41, "codename": "add_agentdevicestatus"}}, {"model": "auth.permission", "pk": 162, "fields": {"name": "Can change agent device status", "content_type": 41, "codename": "change_agentdevicestatus"}}, {"model": "auth.permission", "pk": 163, "fields": {"name": "Can delete agent device status", "content_type": 41, "codename": "delete_agentdevicestatus"}}, {"model": "auth.permission", "pk": 164, "fields": {"name": "Can view agent device status", "content_type": 41, "codename": "view_agentdevicestatus"}}, {"model": "auth.permission", "pk": 165, "fields": {"name": "Can add agent device telescope status", "content_type": 42, "codename": "add_agentdevicetelescopestatus"}}, {"model": "auth.permission", "pk": 166, "fields": {"name": "Can change agent device telescope status", "content_type": 42, "codename": "change_agentdevicetelescopestatus"}}, {"model": "auth.permission", "pk": 167, "fields": {"name": "Can delete agent device telescope status", "content_type": 42, "codename": "delete_agentdevicetelescopestatus"}}, {"model": "auth.permission", "pk": 168, "fields": {"name": "Can view agent device telescope status", "content_type": 42, "codename": "view_agentdevicetelescopestatus"}}, {"model": "auth.permission", "pk": 169, "fields": {"name": "Can add detector", "content_type": 43, "codename": "add_detector"}}, {"model": "auth.permission", "pk": 170, "fields": {"name": "Can change detector", "content_type": 43, "codename": "change_detector"}}, {"model": "auth.permission", "pk": 171, "fields": {"name": "Can delete detector", "content_type": 43, "codename": "delete_detector"}}, {"model": "auth.permission", "pk": 172, "fields": {"name": "Can view detector", "content_type": 43, "codename": "view_detector"}}, {"model": "auth.permission", "pk": 173, "fields": {"name": "Can add dome", "content_type": 44, "codename": "add_dome"}}, {"model": "auth.permission", "pk": 174, "fields": {"name": "Can change dome", "content_type": 44, "codename": "change_dome"}}, {"model": "auth.permission", "pk": 175, "fields": {"name": "Can delete dome", "content_type": 44, "codename": "delete_dome"}}, {"model": "auth.permission", "pk": 176, "fields": {"name": "Can view dome", "content_type": 44, "codename": "view_dome"}}, {"model": "auth.permission", "pk": 177, "fields": {"name": "Can add plc device", "content_type": 45, "codename": "add_plcdevice"}}, {"model": "auth.permission", "pk": 178, "fields": {"name": "Can change plc device", "content_type": 45, "codename": "change_plcdevice"}}, {"model": "auth.permission", "pk": 179, "fields": {"name": "Can delete plc device", "content_type": 45, "codename": "delete_plcdevice"}}, {"model": "auth.permission", "pk": 180, "fields": {"name": "Can view plc device", "content_type": 45, "codename": "view_plcdevice"}}, {"model": "auth.permission", "pk": 181, "fields": {"name": "Can add telescope", "content_type": 46, "codename": "add_telescope"}}, {"model": "auth.permission", "pk": 182, "fields": {"name": "Can change telescope", "content_type": 46, "codename": "change_telescope"}}, {"model": "auth.permission", "pk": 183, "fields": {"name": "Can delete telescope", "content_type": 46, "codename": "delete_telescope"}}, {"model": "auth.permission", "pk": 184, "fields": {"name": "Can view telescope", "content_type": 46, "codename": "view_telescope"}}, {"model": "auth.permission", "pk": 185, "fields": {"name": "Can add telescope command", "content_type": 47, "codename": "add_telescopecommand"}}, {"model": "auth.permission", "pk": 186, "fields": {"name": "Can change telescope command", "content_type": 47, "codename": "change_telescopecommand"}}, {"model": "auth.permission", "pk": 187, "fields": {"name": "Can delete telescope command", "content_type": 47, "codename": "delete_telescopecommand"}}, {"model": "auth.permission", "pk": 188, "fields": {"name": "Can view telescope command", "content_type": 47, "codename": "view_telescopecommand"}}, {"model": "auth.permission", "pk": 189, "fields": {"name": "Can add plc device status", "content_type": 48, "codename": "add_plcdevicestatus"}}, {"model": "auth.permission", "pk": 190, "fields": {"name": "Can change plc device status", "content_type": 48, "codename": "change_plcdevicestatus"}}, {"model": "auth.permission", "pk": 191, "fields": {"name": "Can delete plc device status", "content_type": 48, "codename": "delete_plcdevicestatus"}}, {"model": "auth.permission", "pk": 192, "fields": {"name": "Can view plc device status", "content_type": 48, "codename": "view_plcdevicestatus"}}, {"model": "auth.permission", "pk": 193, "fields": {"name": "Can add filter wheel", "content_type": 49, "codename": "add_filterwheel"}}, {"model": "auth.permission", "pk": 194, "fields": {"name": "Can change filter wheel", "content_type": 49, "codename": "change_filterwheel"}}, {"model": "auth.permission", "pk": 195, "fields": {"name": "Can delete filter wheel", "content_type": 49, "codename": "delete_filterwheel"}}, {"model": "auth.permission", "pk": 196, "fields": {"name": "Can view filter wheel", "content_type": 49, "codename": "view_filterwheel"}}, {"model": "auth.permission", "pk": 197, "fields": {"name": "Can add filter", "content_type": 50, "codename": "add_filter"}}, {"model": "auth.permission", "pk": 198, "fields": {"name": "Can change filter", "content_type": 50, "codename": "change_filter"}}, {"model": "auth.permission", "pk": 199, "fields": {"name": "Can delete filter", "content_type": 50, "codename": "delete_filter"}}, {"model": "auth.permission", "pk": 200, "fields": {"name": "Can view filter", "content_type": 50, "codename": "view_filter"}}, {"model": "contenttypes.contenttype", "pk": 1, "fields": {"app_label": "admin", "model": "logentry"}}, {"model": "contenttypes.contenttype", "pk": 2, "fields": {"app_label": "auth", "model": "permission"}}, {"model": "contenttypes.contenttype", "pk": 3, "fields": {"app_label": "auth", "model": "group"}}, {"model": "contenttypes.contenttype", "pk": 4, "fields": {"app_label": "contenttypes", "model": "contenttype"}}, {"model": "contenttypes.contenttype", "pk": 5, "fields": {"app_label": "sessions", "model": "session"}}, {"model": "contenttypes.contenttype", "pk": 6, "fields": {"app_label": "authtoken", "model": "token"}}, {"model": "contenttypes.contenttype", "pk": 7, "fields": {"app_label": "authtoken", "model": "tokenproxy"}}, {"model": "contenttypes.contenttype", "pk": 8, "fields": {"app_label": "user_mgmt", "model": "pyrosuser"}}, {"model": "contenttypes.contenttype", "pk": 9, "fields": {"app_label": "user_mgmt", "model": "country"}}, {"model": "contenttypes.contenttype", "pk": 10, "fields": {"app_label": "user_mgmt", "model": "institute"}}, {"model": "contenttypes.contenttype", "pk": 11, "fields": {"app_label": "user_mgmt", "model": "period"}}, {"model": "contenttypes.contenttype", "pk": 12, "fields": {"app_label": "user_mgmt", "model": "sciencetheme"}}, {"model": "contenttypes.contenttype", "pk": 13, "fields": {"app_label": "user_mgmt", "model": "scientificprogram"}}, {"model": "contenttypes.contenttype", "pk": 14, "fields": {"app_label": "user_mgmt", "model": "sp_period"}}, {"model": "contenttypes.contenttype", "pk": 15, "fields": {"app_label": "user_mgmt", "model": "userlevel"}}, {"model": "contenttypes.contenttype", "pk": 16, "fields": {"app_label": "user_mgmt", "model": "sp_periodworkflow"}}, {"model": "contenttypes.contenttype", "pk": 17, "fields": {"app_label": "user_mgmt", "model": "sp_period_guest"}}, {"model": "contenttypes.contenttype", "pk": 18, "fields": {"app_label": "user_mgmt", "model": "sp_period_user"}}, {"model": "contenttypes.contenttype", "pk": 19, "fields": {"app_label": "common", "model": "agentcmd"}}, {"model": "contenttypes.contenttype", "pk": 20, "fields": {"app_label": "common", "model": "agentlogs"}}, {"model": "contenttypes.contenttype", "pk": 21, "fields": {"app_label": "common", "model": "agentsurvey"}}, {"model": "contenttypes.contenttype", "pk": 22, "fields": {"app_label": "common", "model": "config"}}, {"model": "contenttypes.contenttype", "pk": 23, "fields": {"app_label": "common", "model": "env_data"}}, {"model": "contenttypes.contenttype", "pk": 24, "fields": {"app_label": "common", "model": "env_data_hist"}}, {"model": "contenttypes.contenttype", "pk": 25, "fields": {"app_label": "common", "model": "log"}}, {"model": "contenttypes.contenttype", "pk": 26, "fields": {"app_label": "common", "model": "majordome"}}, {"model": "contenttypes.contenttype", "pk": 27, "fields": {"app_label": "common", "model": "sensors_data"}}, {"model": "contenttypes.contenttype", "pk": 28, "fields": {"app_label": "common", "model": "sensors_data_last_value"}}, {"model": "contenttypes.contenttype", "pk": 29, "fields": {"app_label": "common", "model": "sitewatch"}}, {"model": "contenttypes.contenttype", "pk": 30, "fields": {"app_label": "common", "model": "sitewatchhistory"}}, {"model": "contenttypes.contenttype", "pk": 31, "fields": {"app_label": "common", "model": "tickets"}}, {"model": "contenttypes.contenttype", "pk": 32, "fields": {"app_label": "common", "model": "version"}}, {"model": "contenttypes.contenttype", "pk": 33, "fields": {"app_label": "common", "model": "weatherwatch"}}, {"model": "contenttypes.contenttype", "pk": 34, "fields": {"app_label": "common", "model": "weatherwatchhistory"}}, {"model": "contenttypes.contenttype", "pk": 35, "fields": {"app_label": "seq_submit", "model": "album"}}, {"model": "contenttypes.contenttype", "pk": 36, "fields": {"app_label": "seq_submit", "model": "image"}}, {"model": "contenttypes.contenttype", "pk": 37, "fields": {"app_label": "seq_submit", "model": "plan"}}, {"model": "contenttypes.contenttype", "pk": 38, "fields": {"app_label": "seq_submit", "model": "schedule"}}, {"model": "contenttypes.contenttype", "pk": 39, "fields": {"app_label": "seq_submit", "model": "schedulehassequences"}}, {"model": "contenttypes.contenttype", "pk": 40, "fields": {"app_label": "seq_submit", "model": "sequence"}}, {"model": "contenttypes.contenttype", "pk": 41, "fields": {"app_label": "devices", "model": "agentdevicestatus"}}, {"model": "contenttypes.contenttype", "pk": 42, "fields": {"app_label": "devices", "model": "agentdevicetelescopestatus"}}, {"model": "contenttypes.contenttype", "pk": 43, "fields": {"app_label": "devices", "model": "detector"}}, {"model": "contenttypes.contenttype", "pk": 44, "fields": {"app_label": "devices", "model": "dome"}}, {"model": "contenttypes.contenttype", "pk": 45, "fields": {"app_label": "devices", "model": "plcdevice"}}, {"model": "contenttypes.contenttype", "pk": 46, "fields": {"app_label": "devices", "model": "telescope"}}, {"model": "contenttypes.contenttype", "pk": 47, "fields": {"app_label": "devices", "model": "telescopecommand"}}, {"model": "contenttypes.contenttype", "pk": 48, "fields": {"app_label": "devices", "model": "plcdevicestatus"}}, {"model": "contenttypes.contenttype", "pk": 49, "fields": {"app_label": "devices", "model": "filterwheel"}}, {"model": "contenttypes.contenttype", "pk": 50, "fields": {"app_label": "devices", "model": "filter"}}, {"model": "user_mgmt.userlevel", "pk": 1, "fields": {"name": "Admin", "desc": "", "priority": 8}}, {"model": "user_mgmt.userlevel", "pk": 2, "fields": {"name": "Observer", "desc": "", "priority": 2}}, {"model": "user_mgmt.userlevel", "pk": 3, "fields": {"name": "TAC", "desc": "", "priority": 1}}, {"model": "user_mgmt.userlevel", "pk": 4, "fields": {"name": "Management board member", "desc": "", "priority": 3 }},{"model": "user_mgmt.userlevel", "pk": 5, "fields": {"name": "Operator", "desc": "", "priority": 4}}, {"model": "user_mgmt.userlevel", "pk": 6, "fields": {"name": "Unit-PI", "desc": "", "priority": 7}}, {"model": "user_mgmt.userlevel", "pk": 7, "fields": {"name": "Unit-board", "desc": "", "priority": 6}}, {"model": "user_mgmt.userlevel", "pk": 8, "fields": {"name": "Visitor", "desc": "Account without any privilege", "priority": 0}}, {"model": "user_mgmt.country", "pk": 1, "fields": {"name": "France", "desc": ""}}, {"model": "user_mgmt.institute", "pk": 1, "fields": {"name": "CNES", "quota_f": 0.8}}, {"model": "user_mgmt.institute", "pk": 2, "fields": {"name": "CNRS", "quota_f": 0.2}}, {"model": "user_mgmt.sciencetheme", "pk": 1, "fields": {"name": "Solar System"}}, {"model": "user_mgmt.sciencetheme", "pk": 2, "fields": {"name": "Galatic"}}, {"model": "user_mgmt.sciencetheme", "pk": 3, "fields": {"name": "Extra Galatic"}}, {"model": "user_mgmt.pyrosuser", "pk": 1, "fields": {"password": "pbkdf2_sha256$24000$HRial3QUfrlz$bVuEzQaXthOd9GZVXd2449LDEF8EMQure69nA/Hu7qQ=", "last_login": "2016-08-10T15:16:42.327Z", "is_superuser": true, "first_name": "pyros", "last_name": "", "email": "admin@example.com", "is_staff": true, "date_joined": "2016-08-10T15:15:58.481Z", "username": "pyros", "is_active": true, "first_time": false, "country": 1, "desc": "", "created": "2016-08-11T07:54:05.627Z", "updated": "2016-08-11T07:54:05.627Z", "tel": "", "address": "", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": null, "groups": [], "user_permissions": [], "user_level": [1], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 2, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "Pascal", "last_name": "Richard", "email": "Pascal.Richard@cnes.fr", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "Pascal.Richard@cnes.fr", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "18 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "CNES", "institute": 1, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [2], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 3, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "Mégane", "last_name": "Diet", "email": "Megane.Diet@cnes.fr", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "Megane.Diet@cnes.fr", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "18 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "CNES", "institute": 1, "is_institute_representative": true, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [2, 4], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 4, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "Valentin", "last_name": "Baral", "email": "Valentin.Baral@cnes.fr", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "Valentin.Baral@cnes.fr", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "18 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "CNES", "institute": 1, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [2], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 5, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "Alain", "last_name": "Klotz", "email": "aklotz@irap.omp.eu", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "aklotz@irap.omp.eu", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": true, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [2, 4, 6], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 6, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "Loic", "last_name": "Eymar", "email": "loic.eymar@oca.eu", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "loic.eymar@oca.eu", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "96 Boulevard de l'Observatoire, 06300 Nice", "laboratory": "OCA", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [2, 5], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 7, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": true, "first_name": "Etienne", "last_name": "Pallier", "email": "etienne.pallier@irap.omp.eu", "is_staff": true, "date_joined": "2021-05-20T09:03:37.108Z", "username": "etienne.pallier@irap.omp.eu", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [1], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 8, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": true, "first_name": "Alexis", "last_name": "Koralewski", "email": "akoralewski@irap.omp.eu", "is_staff": true, "date_joined": "2021-05-20T09:03:37.108Z", "username": "akoralewski@irap.omp.eu", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [1], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 9, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "Observer", "last_name": "Observer", "email": "observer@example.com", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "observer@example.com", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [2], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 10, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": true, "first_name": "Admin", "last_name": "Admin", "email": "Admin@example.com", "is_staff": true, "date_joined": "2021-05-20T09:03:37.108Z", "username": "Admin@example.com", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [1], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 11, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "Operator", "last_name": "Operator", "email": "Operator@example.com", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "Operator@example.com", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [5], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 12, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "Management", "last_name": "Board", "email": "Management_board@example.com", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "Management_board@example.com", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [4], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 13, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": true, "first_name": "Unit", "last_name": "PI", "email": "Unit-PI@example.com", "is_staff": true, "date_joined": "2021-05-20T09:03:37.108Z", "username": "Unit-PI@example.com", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [6], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 14, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "TAC", "last_name": "TAC", "email": "TAC@example.com", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "TAC@example.com", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [3], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 15, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": false, "first_name": "Visitor", "last_name": "Visitor", "email": "Visitor@example.com", "is_staff": false, "date_joined": "2021-05-20T09:03:37.108Z", "username": "Visitor@example.com", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [8], "referee_themes": []}}, {"model": "user_mgmt.pyrosuser", "pk": 16, "fields": {"password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", "last_login": null, "is_superuser": true, "first_name": "Unit", "last_name": "Board", "email": "Unit-board@example.com", "is_staff": true, "date_joined": "2021-05-20T09:03:37.108Z", "username": "Unit-board@example.com", "is_active": true, "first_time": false, "country": 1, "desc": null, "created": "2021-05-20T09:03:37.108Z", "updated": "2021-05-20T09:03:37.138Z", "tel": null, "address": "14 Avenue Edouard Belin, 31400 Toulouse", "laboratory": "IRAP", "institute": 2, "is_institute_representative": false, "motive_of_registration": "", "validator": 1, "groups": [], "user_permissions": [], "user_level": [7], "referee_themes": []}}, {"model": "user_mgmt.period", "pk": 1, "fields": {"start_date": "2023-06-20", "exploitation_duration": 182, "submission_duration": 136, "evaluation_duration": 31, "validation_duration": 5, "notification_duration": 10, "property_of_data_duration": 365, "data_accessibility_duration": 3650}}, {"model": "user_mgmt.scientificprogram", "pk": 1, "fields": {"created": null, "updated": null, "name": "debris", "description_short": "", "description_long": "", "institute": 1, "sp_pi": 2, "science_theme": 1, "is_auto_validated": true}}, {"model": "user_mgmt.sp_period", "pk": 1, "fields": {"period": 1, "scientific_program": 1, "public_visibility": "Name", "referee1": null, "vote_referee1": "A: Accepted", "reason_referee1": "", "referee2": null, "vote_referee2": "A: Accepted", "reason_referee2": "", "is_valid": "Accepted", "status": "Accepted", "quota_minimal": 0, "quota_nominal": 0, "quota_allocated": 0, "quota_remaining": 0, "over_quota_duration": 0, "over_quota_duration_allocated": 0, "token": 0, "token_allocated": 0, "token_remaining": 0, "priority": 0}}, {"model": "user_mgmt.sp_period_user", "pk": 2, "fields": {"SP_Period": 1, "user": 3}}, {"model": "user_mgmt.sp_period_user", "pk": 3, "fields": {"SP_Period": 1, "user": 4}}, {"model": "seq_submit.sequence", "pk": 1, "fields": {"start_expo_pref": "IMMEDIATE", "pyros_user": 2, "scientific_program": 1, "name": "seq_20220218T158246", "desc": null, "created": "2022-02-18T15:07:36.334Z", "updated": "2022-02-21T12:40:50.275Z", "last_modified_by": null, "is_alert": false, "status": "DRAFT", "with_drift": false, "priority": null, "analysis_method": null, "moon_min": null, "alt_min": null, "type": null, "img_current": null, "img_total": null, "not_obs": false, "obsolete": false, "processing": false, "flag": null, "period": 1, "start_date": "2022-02-18T15:07:36Z", "end_date": "2022-02-18T15:07:36.333Z", "jd1": "0E-8", "jd2": "0E-8", "tolerance_before": "1s", "tolerance_after": "1min", "duration": "-1.00000000", "overhead": "0E-8", "submitted": false, "config_attributes": {"layout": "OpticalChannel", "target": "RADEC 0H10M -15D", "conformation": "WIDE", "tolerance_after": "1min", "tolerance_before": "1s"}, "ra": null, "dec": null, "complete": true, "night_id": null}}, {"model": "seq_submit.sequence", "pk": 2, "fields": {"start_expo_pref": "IMMEDIATE", "pyros_user": 2, "scientific_program": 1, "name": "seq_20220218T150731", "desc": null, "created": "2022-02-21T12:43:05.768Z", "updated": "2022-02-21T12:43:06.872Z", "last_modified_by": null, "is_alert": false, "status": "TBP", "with_drift": false, "priority": null, "analysis_method": null, "moon_min": null, "alt_min": null, "type": null, "img_current": null, "img_total": null, "not_obs": false, "obsolete": false, "processing": false, "flag": null, "period": 1, "start_date": "2022-02-21T20:07:36Z", "end_date": "2022-02-21T12:43:05.767Z", "jd1": "0E-8", "jd2": "0E-8", "tolerance_before": "1s", "tolerance_after": "1min", "duration": "-1.00000000", "overhead": "0E-8", "submitted": false, "config_attributes": {"layout": "OpticalChannel", "target": "RADEC 0H10M -15D", "conformation": "WIDE"}, "ra": null, "dec": null, "complete": true, "night_id": null}}, {"model": "seq_submit.sequence", "pk": 3, "fields": {"start_expo_pref": "IMMEDIATE", "pyros_user": 2, "scientific_program": 1, "name": "seq_20220218T150732", "desc": null, "created": "2022-02-21T12:44:28.423Z", "updated": "2022-02-21T12:44:29.556Z", "last_modified_by": null, "is_alert": false, "status": "TBP", "with_drift": false, "priority": null, "analysis_method": null, "moon_min": null, "alt_min": null, "type": null, "img_current": null, "img_total": null, "not_obs": false, "obsolete": false, "processing": false, "flag": null, "period": 1, "start_date": "2022-02-21T20:07:36Z", "end_date": "2022-02-21T12:44:28.422Z", "jd1": "0E-8", "jd2": "0E-8", "tolerance_before": "1s", "tolerance_after": "1min", "duration": "-1.00000000", "overhead": "0E-8", "submitted": false, "config_attributes": {"layout": "OpticalChannel", "target": "RADEC 0H10M -15D", "conformation": "WIDE"}, "ra": null, "dec": null, "complete": true, "night_id": null}}, {"model": "seq_submit.album", "pk": 1, "fields": {"sequence": 1, "name": "OpticalChannel", "desc": "Album with one channel", "created": "2022-02-18T15:07:43.164Z", "updated": "2022-02-21T12:40:50.149Z", "complete": true}}, {"model": "seq_submit.album", "pk": 2, "fields": {"sequence": 2, "name": "OpticalChannel", "desc": null, "created": "2022-02-21T12:43:06.477Z", "updated": "2022-02-21T12:43:06.477Z", "complete": true}}, {"model": "seq_submit.album", "pk": 3, "fields": {"sequence": 3, "name": "OpticalChannel", "desc": null, "created": "2022-02-21T12:44:29.265Z", "updated": "2022-02-21T12:44:29.265Z", "complete": true}}, {"model": "seq_submit.plan", "pk": 1, "fields": {"album": 1, "created": "2022-02-18T15:07:51.078Z", "updated": "2022-02-21T12:40:49.978Z", "duration": 0.0, "nb_images": 1, "config_attributes": {"binnings": {"binxy": [1, 1], "readouttime": 6}, "exposuretime": 1.0}, "complete": true}}, {"model": "seq_submit.plan", "pk": 2, "fields": {"album": 2, "created": "2022-02-21T12:43:06.670Z", "updated": "2022-02-21T12:43:06.794Z", "duration": 0.0, "nb_images": 1, "config_attributes": {"binnings": {"binxy": [1, 1], "readouttime": 6}, "exposuretime": 1.0}, "complete": true}}, {"model": "seq_submit.plan", "pk": 3, "fields": {"album": 3, "created": "2022-02-21T12:44:29.361Z", "updated": "2022-02-21T12:44:29.468Z", "duration": 0.0, "nb_images": 1, "config_attributes": {"binnings": {"binxy": [1, 1], "readouttime": 6}, "exposuretime": 1.0}, "complete": true}}, {"model": "devices.plcdevice", "pk": 1, "fields": {"is_online": false, "status": null, "maintenance_date": null, "name": "Plc", "desc": "", "created": "2018-06-18T14:32:00Z", "updated": "2018-06-18T14:32:00Z"}}, {"model": "devices.detector", "pk": 1, "fields": {"name": "Cagire", "desc": "", "created": "2016-05-13T11:49:49Z", "updated": "2016-05-13T11:49:49Z", "is_online": false, "status": "", "maintenance_date": null, "telescope": 1, "nb_photo_x": null, "nb_photo_y": null, "photo_size_x": null, "photo_size_y": null, "has_shutter": false, "equivalent_foc_len": "", "acq_start": null, "acq_stop": null, "check_temp": null, "gain": null, "readout_noise": null, "readout_time": null, "idcam_readout_mode": null}}, {"model": "devices.detector", "pk": 2, "fields": {"name": "Visible camera", "desc": "", "created": "2016-05-13T11:50:17Z", "updated": "2016-05-13T11:50:17Z", "is_online": false, "status": "", "maintenance_date": null, "telescope": 1, "nb_photo_x": null, "nb_photo_y": null, "photo_size_x": null, "photo_size_y": null, "has_shutter": false, "equivalent_foc_len": "", "acq_start": null, "acq_stop": null, "check_temp": null, "gain": null, "readout_noise": null, "readout_time": null, "idcam_readout_mode": null}}, {"model": "devices.dome", "pk": 1, "fields": {"name": "Dome", "desc": "dome", "created": "2016-05-13T11:50:14Z", "updated": "2016-05-13T11:50:14Z", "is_online": false, "status": "", "maintenance_date": null, "open": false}}, {"model": "devices.filter", "pk": 1, "fields": {"name": "First infrared filter", "desc": "", "created": "2016-05-13T11:49:56Z", "updated": "2016-05-13T11:49:56Z", "is_online": false, "status": "", "maintenance_date": null, "filter_wheel": 2, "category": "", "transmission_curve_doc": ""}}, {"model": "devices.filter", "pk": 2, "fields": {"name": "Second infrared filter", "desc": "", "created": "2016-05-13T11:50:07Z", "updated": "2016-05-13T11:50:07Z", "is_online": false, "status": "", "maintenance_date": null, "filter_wheel": 2, "category": "", "transmission_curve_doc": ""}}, {"model": "devices.filter", "pk": 3, "fields": {"name": "First visible filter", "desc": "", "created": "2016-05-13T11:50:02Z", "updated": "2016-05-13T11:50:02Z", "is_online": false, "status": "", "maintenance_date": null, "filter_wheel": 2, "category": "", "transmission_curve_doc": ""}}, {"model": "devices.filter", "pk": 4, "fields": {"name": "Second visible filter", "desc": "", "created": "2016-05-13T11:50:11Z", "updated": "2016-05-13T11:50:11Z", "is_online": false, "status": "", "maintenance_date": null, "filter_wheel": 2, "category": "", "transmission_curve_doc": ""}}, {"model": "devices.filterwheel", "pk": 1, "fields": {"name": "Cagire FW", "desc": "", "created": "2016-06-28T13:28:28Z", "updated": "2016-06-28T13:28:28Z", "is_online": false, "status": "", "maintenance_date": null, "detector": 1}}, {"model": "devices.filterwheel", "pk": 2, "fields": {"name": "Visible Camera FW", "desc": "", "created": "2016-06-28T13:28:46Z", "updated": "2016-06-28T13:28:46Z", "is_online": false, "status": "", "maintenance_date": null, "detector": 2}}, {"model": "devices.telescope", "pk": 1, "fields": {"name": "Telescope", "desc": "", "created": "2016-05-13T11:50:14Z", "updated": "2016-05-13T11:50:14Z", "is_online": false, "status": "", "maintenance_date": null, "mount_type": "", "diameter": null, "latitude": null, "longitude": null, "sens": "", "altitude": null, "readout_time": null, "slew_time": null, "slew_dead": null, "slew_rate_max": null, "horizon_type": "", "horizon_def": null, "lim_dec_max": null, "lim_dec_min": null, "lim_ha_rise": null, "lim_ha_set": null, "address": "", "night_elev_sun": null, "mpc_code": ""}}] | ||
3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/core/pyros_django/misc/fixtures/tests/scientific_program_TZ.json
@@ -3,8 +3,7 @@ | @@ -3,8 +3,7 @@ | ||
3 | "pk": 1, | 3 | "pk": 1, |
4 | "fields": { | 4 | "fields": { |
5 | "name": "France", | 5 | "name": "France", |
6 | - "desc": "", | ||
7 | - "quota": null | 6 | + "desc": "" |
8 | } | 7 | } |
9 | }, | 8 | }, |
10 | 9 | ||
@@ -13,7 +12,7 @@ | @@ -13,7 +12,7 @@ | ||
13 | "pk": 1, | 12 | "pk": 1, |
14 | "fields": { | 13 | "fields": { |
15 | "name": "CNRS", | 14 | "name": "CNRS", |
16 | - "quota": 20.0 | 15 | + "quota_f": 0.2 |
17 | } | 16 | } |
18 | }, | 17 | }, |
19 | 18 |
src/core/pyros_django/misc/fixtures/tests/sequences_test_TZ.json
@@ -64,8 +64,7 @@ | @@ -64,8 +64,7 @@ | ||
64 | "pk": 1, | 64 | "pk": 1, |
65 | "fields": { | 65 | "fields": { |
66 | "name": "France", | 66 | "name": "France", |
67 | - "desc": "", | ||
68 | - "quota": null | 67 | + "desc": "" |
69 | } | 68 | } |
70 | }, | 69 | }, |
71 | { | 70 | { |
@@ -204,7 +203,7 @@ | @@ -204,7 +203,7 @@ | ||
204 | "pk": 1, | 203 | "pk": 1, |
205 | "fields": { | 204 | "fields": { |
206 | "name": "CNES", | 205 | "name": "CNES", |
207 | - "quota": 80 | 206 | + "quota_f": 0.8 |
208 | } | 207 | } |
209 | }, | 208 | }, |
210 | { | 209 | { |
@@ -212,7 +211,7 @@ | @@ -212,7 +211,7 @@ | ||
212 | "pk": 2, | 211 | "pk": 2, |
213 | "fields": { | 212 | "fields": { |
214 | "name": "CNRS", | 213 | "name": "CNRS", |
215 | - "quota": 20 | 214 | + "quota_f": 0.2 |
216 | } | 215 | } |
217 | }, | 216 | }, |
218 | { | 217 | { |
@@ -515,7 +514,6 @@ | @@ -515,7 +514,6 @@ | ||
515 | "quota_remaining": 0, | 514 | "quota_remaining": 0, |
516 | "over_quota_duration": 0, | 515 | "over_quota_duration": 0, |
517 | "over_quota_duration_allocated": 0, | 516 | "over_quota_duration_allocated": 0, |
518 | - "over_quota_duration_remaining": 0, | ||
519 | "token": 0, | 517 | "token": 0, |
520 | "token_allocated": 0, | 518 | "token_allocated": 0, |
521 | "token_remaining": 0, | 519 | "token_remaining": 0, |
@@ -776,8 +774,8 @@ | @@ -776,8 +774,8 @@ | ||
776 | "fields": { | 774 | "fields": { |
777 | "name": "Admin", | 775 | "name": "Admin", |
778 | "desc": "", | 776 | "desc": "", |
779 | - "priority": 8, | ||
780 | - "quota": 9999.0 | 777 | + "priority": 8 |
778 | + | ||
781 | } | 779 | } |
782 | }, | 780 | }, |
783 | { | 781 | { |
@@ -786,8 +784,8 @@ | @@ -786,8 +784,8 @@ | ||
786 | "fields": { | 784 | "fields": { |
787 | "name": "Observer", | 785 | "name": "Observer", |
788 | "desc": "", | 786 | "desc": "", |
789 | - "priority": 2, | ||
790 | - "quota": 9999.0 | 787 | + "priority": 2 |
788 | + | ||
791 | } | 789 | } |
792 | }, | 790 | }, |
793 | { | 791 | { |
@@ -796,8 +794,8 @@ | @@ -796,8 +794,8 @@ | ||
796 | "fields": { | 794 | "fields": { |
797 | "name": "TAC", | 795 | "name": "TAC", |
798 | "desc": "", | 796 | "desc": "", |
799 | - "priority": 1, | ||
800 | - "quota": 9999.0 | 797 | + "priority": 1 |
798 | + | ||
801 | } | 799 | } |
802 | }, | 800 | }, |
803 | { | 801 | { |
@@ -806,8 +804,8 @@ | @@ -806,8 +804,8 @@ | ||
806 | "fields": { | 804 | "fields": { |
807 | "name": "Management board member", | 805 | "name": "Management board member", |
808 | "desc": "", | 806 | "desc": "", |
809 | - "priority": 3, | ||
810 | - "quota": 9999.0 | 807 | + "priority": 3 |
808 | + | ||
811 | } | 809 | } |
812 | }, | 810 | }, |
813 | { | 811 | { |
@@ -816,8 +814,8 @@ | @@ -816,8 +814,8 @@ | ||
816 | "fields": { | 814 | "fields": { |
817 | "name": "Operator", | 815 | "name": "Operator", |
818 | "desc": "", | 816 | "desc": "", |
819 | - "priority": 4, | ||
820 | - "quota": 9999.0 | 817 | + "priority": 4 |
818 | + | ||
821 | } | 819 | } |
822 | }, | 820 | }, |
823 | { | 821 | { |
@@ -826,8 +824,8 @@ | @@ -826,8 +824,8 @@ | ||
826 | "fields": { | 824 | "fields": { |
827 | "name": "Unit-PI", | 825 | "name": "Unit-PI", |
828 | "desc": "", | 826 | "desc": "", |
829 | - "priority": 7, | ||
830 | - "quota": 9999.0 | 827 | + "priority": 7 |
828 | + | ||
831 | } | 829 | } |
832 | }, | 830 | }, |
833 | { | 831 | { |
@@ -836,8 +834,8 @@ | @@ -836,8 +834,8 @@ | ||
836 | "fields": { | 834 | "fields": { |
837 | "name": "Unit-board", | 835 | "name": "Unit-board", |
838 | "desc": "", | 836 | "desc": "", |
839 | - "priority": 6, | ||
840 | - "quota": 9999.0 | 837 | + "priority": 6 |
838 | + | ||
841 | } | 839 | } |
842 | }, | 840 | }, |
843 | { | 841 | { |
@@ -846,8 +844,7 @@ | @@ -846,8 +844,7 @@ | ||
846 | "fields": { | 844 | "fields": { |
847 | "name": "Visitor", | 845 | "name": "Visitor", |
848 | "desc": "Account without any privilege", | 846 | "desc": "Account without any privilege", |
849 | - "priority": 0, | ||
850 | - "quota": 0.0 | 847 | + "priority": 0 |
851 | } | 848 | } |
852 | } | 849 | } |
853 | ] | 850 | ] |
854 | \ No newline at end of file | 851 | \ No newline at end of file |
src/core/pyros_django/scp_mgmt/A_SCP_Manager.py
@@ -172,6 +172,11 @@ class A_SCP_Manager(Agent): | @@ -172,6 +172,11 @@ class A_SCP_Manager(Agent): | ||
172 | today = timezone.now().date() | 172 | today = timezone.now().date() |
173 | next_period = Period.objects.next_period() | 173 | next_period = Period.objects.next_period() |
174 | # check if next_period has changed | 174 | # check if next_period has changed |
175 | + if next_period is None: | ||
176 | + # Check if we have to create a new period (2 month before end of current exploitation period) | ||
177 | + current_period_end_date = self.period.end_date | ||
178 | + if today <= current_period_end_date - relativedelta(month=2): | ||
179 | + next_period = Period.objects.create(start_date=self.period.end_date) | ||
175 | if self.period != next_period: | 180 | if self.period != next_period: |
176 | self.period = next_period | 181 | self.period = next_period |
177 | # get scientific program for next_period | 182 | # get scientific program for next_period |
src/core/pyros_django/seq_submit/functions.py
@@ -8,7 +8,7 @@ from django.forms.models import model_to_dict | @@ -8,7 +8,7 @@ from django.forms.models import model_to_dict | ||
8 | from user_mgmt.models import PyrosUser, ScientificProgram, Period | 8 | from user_mgmt.models import PyrosUser, ScientificProgram, Period |
9 | from seq_submit.models import Sequence, Album, Plan | 9 | from seq_submit.models import Sequence, Album, Plan |
10 | from .forms import SequenceForm, PlanForm #, AlbumForm | 10 | from .forms import SequenceForm, PlanForm #, AlbumForm |
11 | -from django.db import IntegrityError | 11 | +from django.db import IntegrityError, transaction |
12 | # Project imports | 12 | # Project imports |
13 | from src.core.pyros_django.obs_config.obsconfig_class import OBSConfig | 13 | from src.core.pyros_django.obs_config.obsconfig_class import OBSConfig |
14 | from django.http import HttpRequest | 14 | from django.http import HttpRequest |
@@ -20,6 +20,7 @@ import vendor.guitastro.src.guitastro as guitastro | @@ -20,6 +20,7 @@ import vendor.guitastro.src.guitastro as guitastro | ||
20 | import numpy | 20 | import numpy |
21 | 21 | ||
22 | #@silk_profile(name="check_sequence_file") | 22 | #@silk_profile(name="check_sequence_file") |
23 | +@transaction.atomic | ||
23 | def check_sequence_file_validity_and_save(yaml_content: dict, request: HttpRequest): | 24 | def check_sequence_file_validity_and_save(yaml_content: dict, request: HttpRequest): |
24 | ''' Create a sequence in DB from the uploaded sequence (yaml_content) ''' | 25 | ''' Create a sequence in DB from the uploaded sequence (yaml_content) ''' |
25 | 26 | ||
@@ -39,10 +40,10 @@ def check_sequence_file_validity_and_save(yaml_content: dict, request: HttpReque | @@ -39,10 +40,10 @@ def check_sequence_file_validity_and_save(yaml_content: dict, request: HttpReque | ||
39 | is_simplified = yaml_content.get("simplified", False) | 40 | is_simplified = yaml_content.get("simplified", False) |
40 | # Get scientific programs for the user who is submitting the sequence file | 41 | # Get scientific programs for the user who is submitting the sequence file |
41 | user_sp = request.user.get_scientific_programs() | 42 | user_sp = request.user.get_scientific_programs() |
43 | + | ||
42 | process_sequence(yaml_content, seq, config, is_simplified, result, user_sp) | 44 | process_sequence(yaml_content, seq, config, is_simplified, result, user_sp) |
43 | - | ||
44 | process_albums(yaml_content, result, config, seq, is_simplified) | 45 | process_albums(yaml_content, result, config, seq, is_simplified) |
45 | - | 46 | + |
46 | 47 | ||
47 | # optim possible ? | 48 | # optim possible ? |
48 | #[ process_plans(a["Album"].get("Plans")) for a in albums_from_file ] | 49 | #[ process_plans(a["Album"].get("Plans")) for a in albums_from_file ] |
src/core/pyros_django/user_mgmt/tests.py
@@ -11,14 +11,14 @@ from common.models import * | @@ -11,14 +11,14 @@ from common.models import * | ||
11 | class UserManagerTests(TestCase): | 11 | class UserManagerTests(TestCase): |
12 | 12 | ||
13 | def setUp(self): | 13 | def setUp(self): |
14 | - institute = Institute.objects.create(name="CNRS",quota=999.0) | 14 | + institute = Institute.objects.create(name="CNRS",quota_f=1) |
15 | period = Period.objects.create() | 15 | period = Period.objects.create() |
16 | science_theme = ScienceTheme.objects.create(name="Solar System") | 16 | science_theme = ScienceTheme.objects.create(name="Solar System") |
17 | - UserLevel.objects.create(name="Visitor",desc="Visitor description",priority=0,quota=0.0) | ||
18 | - UserLevel.objects.create(name="Observer",desc="Observer description",priority=2,quota=10.0) | ||
19 | - UserLevel.objects.create(name="Unit-PI",desc="Unit-PI description",priority=6,quota=100.0) | ||
20 | - UserLevel.objects.create(name="TAC",desc="TAC description",priority=3,quota=0) | ||
21 | - UserLevel.objects.create(name="Admin",desc="Admin description",priority=7,quota=1000.0) | 17 | + UserLevel.objects.create(name="Visitor",desc="Visitor description",priority=0) |
18 | + UserLevel.objects.create(name="Observer",desc="Observer description",priority=2) | ||
19 | + UserLevel.objects.create(name="Unit-PI",desc="Unit-PI description",priority=6) | ||
20 | + UserLevel.objects.create(name="TAC",desc="TAC description",priority=3) | ||
21 | + UserLevel.objects.create(name="Admin",desc="Admin description",priority=7) | ||
22 | Country.objects.create(name="France") | 22 | Country.objects.create(name="France") |
23 | self.assertEqual(PyrosUser.objects.count(), 0, "There should be no User") | 23 | self.assertEqual(PyrosUser.objects.count(), 0, "There should be no User") |
24 | path = reverse("user_signup_validation") | 24 | path = reverse("user_signup_validation") |
@@ -134,34 +134,34 @@ class UserManagerTests(TestCase): | @@ -134,34 +134,34 @@ class UserManagerTests(TestCase): | ||
134 | roles_str = user.get_roles_str() | 134 | roles_str = user.get_roles_str() |
135 | self.assertNotIn(UserLevel.objects.get(name="Admin").name,roles_str,"The role Admin shouldn't be in the str representation") | 135 | self.assertNotIn(UserLevel.objects.get(name="Admin").name,roles_str,"The role Admin shouldn't be in the str representation") |
136 | 136 | ||
137 | - def test_max_priority_desc(self): | ||
138 | - user = PyrosUser.objects.all()[0] | ||
139 | - # add Unit-PI role to user | ||
140 | - UserLevel.objects.get(name="Unit-PI").pyros_users.add(user) | ||
141 | - self.assertEqual(user.get_max_priority_desc(),UserLevel.objects.get(name="Unit-PI").desc,"The desc of user_level should be 'Unit-PI description' ") | 137 | + # def test_max_priority_desc(self): |
138 | + # user = PyrosUser.objects.all()[0] | ||
139 | + # # add Unit-PI role to user | ||
140 | + # UserLevel.objects.get(name="Unit-PI").pyros_users.add(user) | ||
141 | + # self.assertEqual(user.get_max_priority_desc(),UserLevel.objects.get(name="Unit-PI").desc,"The desc of user_level should be 'Unit-PI description' ") | ||
142 | 142 | ||
143 | - def test_wrong_max_priority_desc(self): | ||
144 | - user = PyrosUser.objects.all()[0] | ||
145 | - # add Unit-PI role to user | ||
146 | - UserLevel.objects.get(name="Unit-PI").pyros_users.add(user) | ||
147 | - # add Admin role to user (has a greatier priority than Unit-PI and Visitor roles) | ||
148 | - UserLevel.objects.get(name="Admin").pyros_users.add(user) | ||
149 | - self.assertNotEqual(user.get_max_priority_desc(),UserLevel.objects.get(name="Unit-PI").desc,"The desc of user_level shouldn't be 'Unit-PI description' ") | 143 | + # def test_wrong_max_priority_desc(self): |
144 | + # user = PyrosUser.objects.all()[0] | ||
145 | + # # add Unit-PI role to user | ||
146 | + # UserLevel.objects.get(name="Unit-PI").pyros_users.add(user) | ||
147 | + # # add Admin role to user (has a greatier priority than Unit-PI and Visitor roles) | ||
148 | + # UserLevel.objects.get(name="Admin").pyros_users.add(user) | ||
149 | + # self.assertNotEqual(user.get_max_priority_desc(),UserLevel.objects.get(name="Unit-PI").desc,"The desc of user_level shouldn't be 'Unit-PI description' ") | ||
150 | 150 | ||
151 | 151 | ||
152 | - def test_max_priority_quota(self): | ||
153 | - user = PyrosUser.objects.all()[0] | ||
154 | - # add Unit-PI role to user | ||
155 | - UserLevel.objects.get(name="Unit-PI").pyros_users.add(user) | ||
156 | - self.assertEqual(user.get_max_priority_quota(),UserLevel.objects.get(name="Unit-PI").quota,"The quota of user_level should be 100.0 ") | ||
157 | - | ||
158 | - def test_wrong_max_priority_quota(self): | ||
159 | - user = PyrosUser.objects.all()[0] | ||
160 | - # add Unit-PI role to user | ||
161 | - UserLevel.objects.get(name="Unit-PI").pyros_users.add(user) | ||
162 | - # add Admin role to user (has a greatier priority than Unit-PI and Visitor roles) | ||
163 | - UserLevel.objects.get(name="Admin").pyros_users.add(user) | ||
164 | - self.assertNotEqual(user.get_max_priority_quota(),UserLevel.objects.get(name="Unit-PI").desc,"The quota of user_level shouldn't be 1000.0 ") | 152 | + # def test_max_priority_quota(self): |
153 | + # user = PyrosUser.objects.all()[0] | ||
154 | + # # add Unit-PI role to user | ||
155 | + # UserLevel.objects.get(name="Unit-PI").pyros_users.add(user) | ||
156 | + # self.assertEqual(user.get_max_priority_quota(),UserLevel.objects.get(name="Unit-PI").quota,"The quota of user_level should be 100.0 ") | ||
157 | + | ||
158 | + # def test_wrong_max_priority_quota(self): | ||
159 | + # user = PyrosUser.objects.all()[0] | ||
160 | + # # add Unit-PI role to user | ||
161 | + # UserLevel.objects.get(name="Unit-PI").pyros_users.add(user) | ||
162 | + # # add Admin role to user (has a greatier priority than Unit-PI and Visitor roles) | ||
163 | + # UserLevel.objects.get(name="Admin").pyros_users.add(user) | ||
164 | + # self.assertNotEqual(user.get_max_priority_quota(),UserLevel.objects.get(name="Unit-PI").desc,"The quota of user_level shouldn't be 1000.0 ") | ||
165 | 165 | ||
166 | 166 | ||
167 | # new test of 2021 | 167 | # new test of 2021 |