Préparation à la mise en ligne
- Séparation du compte root des autres comptes - Mise à jour en fonction des derniers changements de la BDD : - Les dates des events deviennent des datetime - Changement de nom dans bda.models.Tirage : token -> tokens - Changement dans les dates de spectacles pour se situer dans l'année 2016-2017
This commit is contained in:
parent
d6bdf211cf
commit
edbf3867a4
5 changed files with 62 additions and 60 deletions
|
@ -2,9 +2,9 @@
|
|||
{
|
||||
"fields": {
|
||||
"active": true,
|
||||
"token": "",
|
||||
"tokens": "",
|
||||
"ouverture": "2016-06-14T10:00:00Z",
|
||||
"fermeture": "2016-12-31T22:59:00Z",
|
||||
"fermeture": "2016-07-31T22:59:00Z",
|
||||
"title": "Tirage de test 1"
|
||||
},
|
||||
"model": "bda.tirage",
|
||||
|
@ -13,9 +13,9 @@
|
|||
{
|
||||
"fields": {
|
||||
"active": true,
|
||||
"token": "",
|
||||
"tokens": "",
|
||||
"ouverture": "2016-06-14T10:00:00Z",
|
||||
"fermeture": "2016-12-31T22:59:00Z",
|
||||
"fermeture": "2016-09-01T22:59:00Z",
|
||||
"title": "Tirage de test 2"
|
||||
},
|
||||
"model": "bda.tirage",
|
||||
|
@ -77,7 +77,7 @@
|
|||
"priority": 1000,
|
||||
"rappel_sent": null,
|
||||
"location": 2,
|
||||
"date": "2016-06-30T18:00:00Z",
|
||||
"date": "2016-09-30T18:00:00Z",
|
||||
"slots_description": "Debout",
|
||||
"slots": 5,
|
||||
"listing": false,
|
||||
|
@ -94,7 +94,7 @@
|
|||
"priority": 1000,
|
||||
"rappel_sent": null,
|
||||
"location": 3,
|
||||
"date": "2016-06-29T14:00:00Z",
|
||||
"date": "2016-09-29T14:00:00Z",
|
||||
"slots_description": "Assises",
|
||||
"slots": 60,
|
||||
"listing": true,
|
||||
|
@ -111,7 +111,7 @@
|
|||
"priority": 1000,
|
||||
"rappel_sent": null,
|
||||
"location": 1,
|
||||
"date": "2016-06-21T15:00:00Z",
|
||||
"date": "2016-09-21T15:00:00Z",
|
||||
"slots_description": "Debout, attention \u00e0 la fontaine",
|
||||
"slots": 30,
|
||||
"listing": false,
|
||||
|
@ -128,7 +128,7 @@
|
|||
"priority": 1000,
|
||||
"rappel_sent": null,
|
||||
"location": 4,
|
||||
"date": "2016-07-06T19:00:00Z",
|
||||
"date": "2016-10-06T19:00:00Z",
|
||||
"slots_description": "Assis sur l'herbe",
|
||||
"slots": 20,
|
||||
"listing": false,
|
||||
|
@ -145,7 +145,7 @@
|
|||
"priority": 1000,
|
||||
"rappel_sent": null,
|
||||
"location": 5,
|
||||
"date": "2016-08-30T12:00:00Z",
|
||||
"date": "2016-11-30T12:00:00Z",
|
||||
"slots_description": "Assises",
|
||||
"slots": 15,
|
||||
"listing": false,
|
||||
|
@ -162,7 +162,7 @@
|
|||
"priority": 1000,
|
||||
"rappel_sent": null,
|
||||
"location": 6,
|
||||
"date": "2016-09-15T07:00:00Z",
|
||||
"date": "2016-12-15T07:00:00Z",
|
||||
"slots_description": "Assises, tablette pour prendre des notes",
|
||||
"slots": 30,
|
||||
"listing": true,
|
||||
|
@ -179,7 +179,7 @@
|
|||
"priority": 1000,
|
||||
"rappel_sent": null,
|
||||
"location": 3,
|
||||
"date": "2016-09-26T07:00:00Z",
|
||||
"date": "2016-12-26T07:00:00Z",
|
||||
"slots_description": "Assises",
|
||||
"slots": 20,
|
||||
"listing": false,
|
||||
|
@ -196,7 +196,7 @@
|
|||
"priority": 1000,
|
||||
"rappel_sent": null,
|
||||
"location": 1,
|
||||
"date": "2016-09-14T23:00:00Z",
|
||||
"date": "2016-11-14T23:00:00Z",
|
||||
"slots_description": "",
|
||||
"slots": 1000,
|
||||
"listing": true,
|
||||
|
@ -213,7 +213,7 @@
|
|||
"priority": 1000,
|
||||
"rappel_sent": null,
|
||||
"location": 2,
|
||||
"date": "2016-10-10T20:00:00Z",
|
||||
"date": "2017-01-10T20:00:00Z",
|
||||
"slots_description": "Debout les mains en l'air",
|
||||
"slots": 20,
|
||||
"listing": true,
|
||||
|
@ -230,7 +230,7 @@
|
|||
"priority": 1000,
|
||||
"rappel_sent": null,
|
||||
"location": 5,
|
||||
"date": "2016-10-02T14:00:00Z",
|
||||
"date": "2017-01-02T14:00:00Z",
|
||||
"slots_description": "Chaises ikea",
|
||||
"slots": 10,
|
||||
"listing": false,
|
||||
|
@ -247,7 +247,7 @@
|
|||
"priority": 1000,
|
||||
"rappel_sent": null,
|
||||
"location": 4,
|
||||
"date": "2016-10-13T14:00:00Z",
|
||||
"date": "2017-01-13T14:00:00Z",
|
||||
"slots_description": "B\u00fbches",
|
||||
"slots": 14,
|
||||
"listing": true,
|
||||
|
@ -264,7 +264,7 @@
|
|||
"priority": 1000,
|
||||
"rappel_sent": null,
|
||||
"location": 1,
|
||||
"date": "2016-08-17T09:00:00Z",
|
||||
"date": "2016-11-17T09:00:00Z",
|
||||
"slots_description": "Humides",
|
||||
"slots": 10,
|
||||
"listing": false,
|
||||
|
@ -281,7 +281,7 @@
|
|||
"priority": 1000,
|
||||
"rappel_sent": null,
|
||||
"location": 2,
|
||||
"date": "2016-11-26T07:00:00Z",
|
||||
"date": "2017-02-26T07:00:00Z",
|
||||
"slots_description": "Ne venez pas",
|
||||
"slots": 20,
|
||||
"listing": false,
|
||||
|
@ -298,7 +298,7 @@
|
|||
"priority": 1000,
|
||||
"rappel_sent": null,
|
||||
"location": 1,
|
||||
"date": "2016-09-17T04:00:00Z",
|
||||
"date": "2016-12-17T04:00:00Z",
|
||||
"slots_description": "bancs",
|
||||
"slots": 15,
|
||||
"listing": false,
|
||||
|
|
|
@ -71,12 +71,12 @@
|
|||
"fields": {
|
||||
"old": false,
|
||||
"description": "On va casser du romain.",
|
||||
"end_date": "2016-09-12",
|
||||
"end_date": "2016-09-12T00:00:00Z",
|
||||
"title": "Bataille de Gergovie",
|
||||
"image": "",
|
||||
"location": "Gergovie",
|
||||
"registration_open": true,
|
||||
"start_date": "2016-09-09"
|
||||
"start_date": "2016-09-09T00:00:00Z"
|
||||
},
|
||||
"model": "gestioncof.event",
|
||||
"pk": 1
|
||||
|
|
41
gestioncof/fixtures/root.json
Normal file
41
gestioncof/fixtures/root.json
Normal file
|
@ -0,0 +1,41 @@
|
|||
[
|
||||
{
|
||||
"fields": {
|
||||
"username": "root",
|
||||
"first_name": "super",
|
||||
"last_name": "user",
|
||||
"is_active": true,
|
||||
"is_superuser": true,
|
||||
"is_staff": true,
|
||||
"last_login": null,
|
||||
"groups": [],
|
||||
"user_permissions": [],
|
||||
"password": "pbkdf2_sha256$12000$yRpkPuayQ8De$h6bDe+Q4kMikzwEbLNw2I9/V/1/v3F3yLIjEZIFSHrY=",
|
||||
"email": "root@localhost",
|
||||
"date_joined": "2016-06-15T17:50:57Z"
|
||||
},
|
||||
"model": "auth.user",
|
||||
"pk": 62
|
||||
},
|
||||
{
|
||||
"fields": {
|
||||
"departement": "",
|
||||
"type_cotiz": "normalien",
|
||||
"petits_cours_remarques": "",
|
||||
"is_buro": true,
|
||||
"is_cof": true,
|
||||
"mailing_cof": true,
|
||||
"comments": "Super utilisateur",
|
||||
"login_clipper": "",
|
||||
"phone": "",
|
||||
"num": 62,
|
||||
"mailing_bda_revente": true,
|
||||
"user": 62,
|
||||
"petits_cours_accept": false,
|
||||
"mailing_bda": true,
|
||||
"occupation": "1A"
|
||||
},
|
||||
"model": "gestioncof.cofprofile",
|
||||
"pk": 62
|
||||
}
|
||||
]
|
|
@ -1097,24 +1097,6 @@
|
|||
"model": "auth.user",
|
||||
"pk": 61
|
||||
},
|
||||
{
|
||||
"fields": {
|
||||
"username": "root",
|
||||
"first_name": "super",
|
||||
"last_name": "user",
|
||||
"is_active": true,
|
||||
"is_superuser": true,
|
||||
"is_staff": true,
|
||||
"last_login": null,
|
||||
"groups": [],
|
||||
"user_permissions": [],
|
||||
"password": "pbkdf2_sha256$12000$yRpkPuayQ8De$h6bDe+Q4kMikzwEbLNw2I9/V/1/v3F3yLIjEZIFSHrY=",
|
||||
"email": "root@localhost",
|
||||
"date_joined": "2016-06-15T17:50:57Z"
|
||||
},
|
||||
"model": "auth.user",
|
||||
"pk": 62
|
||||
},
|
||||
{
|
||||
"fields": {
|
||||
"departement": "",
|
||||
|
@ -2395,26 +2377,5 @@
|
|||
},
|
||||
"model": "gestioncof.cofprofile",
|
||||
"pk": 61
|
||||
},
|
||||
{
|
||||
"fields": {
|
||||
"departement": "",
|
||||
"type_cotiz": "normalien",
|
||||
"petits_cours_remarques": "",
|
||||
"is_buro": true,
|
||||
"is_cof": true,
|
||||
"mailing_cof": true,
|
||||
"comments": "Super utilisateur",
|
||||
"login_clipper": "",
|
||||
"phone": "",
|
||||
"num": 62,
|
||||
"mailing_bda_revente": true,
|
||||
"user": 62,
|
||||
"petits_cours_accept": false,
|
||||
"mailing_bda": true,
|
||||
"occupation": "1A"
|
||||
},
|
||||
"model": "gestioncof.cofprofile",
|
||||
"pk": 62
|
||||
}
|
||||
]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Doit être lancé par bootstrap.sh
|
||||
|
||||
python manage.py migrate
|
||||
python manage.py loaddata users bda gestion
|
||||
python manage.py loaddata users root bda gestion
|
||||
|
|
Loading…
Reference in a new issue