src/core/settings.py
author ymh <ymh.work@gmail.com>
Wed, 26 Jun 2013 10:58:47 +0200
changeset 42 5539b09c2c3c
parent 33 61c3ffd94f11
child 63 a7f4a418d5af
permissions -rw-r--r--
Added tag V00.05 for changeset 7ab0021faed9

# -*- coding: utf-8 -*-
'''
Created on Jun 10, 2013

@author: ymh
'''

from django.conf import settings

JOCONDE_IMAGE_BASE_URL = getattr(settings, 'JOCONDE_IMAGE_BASE_URL', '')

AUTR_CONTEXT  = getattr(settings,'AUTR_CONTEXT' , 'http://data.culture.fr/thesaurus/resource/ark:/67717/T513')
DOMN_CONTEXT  = getattr(settings,'DOMN_CONTEXT' , 'http://data.culture.fr/thesaurus/resource/ark:/67717/T51')
ECOL_CONTEXT  = getattr(settings,'ECOL_CONTEXT' , 'http://data.culture.fr/thesaurus/resource/ark:/67717/T517')
EPOQ_CONTEXT  = getattr(settings,'EPOQ_CONTEXT' , 'http://data.culture.fr/thesaurus/resource/ark:/67717/T93')
LIEUX_CONTEXT = getattr(settings,'LIEUX_CONTEXT', 'http://data.culture.fr/thesaurus/resource/ark:/67717/T84')
PERI_CONTEXT  = getattr(settings,'LIEUX_CONTEXT', 'http://data.culture.fr/thesaurus/resource/ark:/67717/T521')
REPR_CONTEXT  = getattr(settings,'REPR_CONTEXT' , 'http://data.culture.fr/thesaurus/resource/ark:/67717/T523')
SREP_CONTEXT  = getattr(settings,'SREP_CONTEXT' , 'http://data.culture.fr/thesaurus/resource/ark:/67717/T507')

WIKIPEDIA_VERSION_PERMALINK_TEMPLATE = getattr(settings, 'WIKIPEDIA_VERSION_PERMALINK_TEMPLATE', "http://fr.wikipedia.org/w/index.php?oldid=%s")