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