Project for the UPV to develop an app like BlaBlaCar but only for UPV people.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

checking travis

+4 -5
+1 -1
.travis.yml
··· 14 14 - "3.5" 15 15 16 16 env: 17 - - SPATIALITE_LIBRARY_PATH="" 17 + - SPATIALITE_LIBRARY_PATH="mod_spatialite" 18 18 19 19 install: 20 20 - pip install -r requirements/test.txt
+3 -4
upvcarshare/config/settings/production.py
··· 6 6 # ------------------------------------------------------------------------------ 7 7 # Hosts/domain names that are valid for this site 8 8 # See https://docs.djangoproject.com/en/1.6/ref/settings/#allowed-hosts 9 - ALLOWED_HOSTS = env.list('DJANGO_ALLOWED_HOSTS', default=['example.com']) 9 + ALLOWED_HOSTS = env.list('DJANGO_ALLOWED_HOSTS', default=[PROJECT_DOMAIN]) 10 10 11 11 # SECRET CONFIGURATION 12 12 # ------------------------------------------------------------------------------ ··· 19 19 # See: https://docs.djangoproject.com/en/dev/ref/settings/#databases 20 20 DATABASES = { 21 21 # Raises ImproperlyConfigured exception if DATABASE_URL not in os.environ 22 - 'default': env.db( 23 - 'DATABASE_URL', default='spatialite://{}'.format(str(APPS_DIR.path('{}.db'.format(PROJECT_NAME.lower())))) 24 - ), 22 + # Sample: oraclegis://USER:PASSWORD@HOST:PORT/NAME 23 + 'default': env.db('DATABASE_URL'), 25 24 } 26 25 DATABASES['default']['ATOMIC_REQUESTS'] = True