Possibilite de creer les users en staff
[auf_references_client.git] / auf_references_client / settings.py
CommitLineData
51880961
CR
1# Django settings for app project.
2ROA_MODELS = True # set to False if you'd like to develop/test locally
3
4ROA_FORMAT = 'django'
5SERIALIZATION_MODULES = {
6 'django' : 'auf_references_client.serializers',
7}
8ROA_HEADERS = {
9 'Content-Type': 'application/x-www-form-urlencoded',
10}
11ROA_DJANGO_ERRORS = True # useful to ease debugging if you use test server
12
13
14# URLs
51880961 15ROA_BASE_URL = "https://references.auf.org/roa/"
e50e7852 16## Pour tests
0580f3a7 17ROA_BASE_URL = 'http://auf_references.auf/roa/'
782f2060 18ROA_BASE_URL = 'http://127.0.0.1/roa/'
e50e7852 19ROA_URL_OVERRIDES_LIST = {
8b8b0996
CR
20 'auf_references_modeles.region': ROA_BASE_URL + 'region/',
21 'auf_references_modeles.pays': ROA_BASE_URL + 'pays/',
9b7620a4 22 'auf_references_modeles.personne': ROA_BASE_URL + 'personne/',
f090616d 23 'auf_references_modeles.utilisateur': ROA_BASE_URL + 'utilisateur/',
9b7620a4 24 'auf_references_modeles.adresse': ROA_BASE_URL + 'adresse/',
8b8b0996 25 'auf_references_modeles.etablissement': ROA_BASE_URL + 'etablissement/',
e50e7852 26 'auf_references_modeles.etablissementhistory': ROA_BASE_URL + 'etablissement/histo/',
9b7620a4 27 'auf_references_modeles.responsableetablissement': ROA_BASE_URL + 'etablissement/responsable/',
8b8b0996 28 'auf_references_modeles.implantation': ROA_BASE_URL + 'implantation/',
9b7620a4 29 'auf_references_modeles.responsableimplantation': ROA_BASE_URL + 'implantation/responsable/',
8b8b0996
CR
30 'auf_references_modeles.typeimplantation': ROA_BASE_URL + 'typeimplantation/',
31 'auf_references_modeles.employeresponsable': ROA_BASE_URL + 'employeresponsable/',
e50e7852 32}
51880961 33
782f2060 34USERS_AS_STAFF = False