Premi?re version : mise en route du suivi.
[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_URL_OVERRIDES_LIST = {
16 # 'auf_references_modeles.pays': 'http://localhost:8001/roa/pays/',
17 # 'auf_references_modeles.region': 'http://localhost:8001/roa/region/',
18 #}
19 ROA_BASE_URL = "https://references.auf.org/roa/"
20
21 ## Pour la nouvelle app d'auth
22 #AUTHENTICATION_BACKENDS = (
23 # 'auf_references_client.backends.CascadeBackend',
24 #)
25 #AUTH_PASSWORD_REQUIRED=True
26
27 ## ?
28 #ROA_CUSTOM_ARGS = {'api-key': ROA_API_KEY}