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.

added staging settings

+33
+33
upvcarshare/config/settings/staging.py
··· 1 + # -*- coding: utf-8 -*- 2 + from __future__ import unicode_literals, print_function, absolute_import 3 + from config.settings.base import * 4 + 5 + # DEBUG 6 + # ------------------------------------------------------------------------------ 7 + DEBUG = env.bool('DJANGO_DEBUG', default=True) 8 + TEMPLATES[0]['OPTIONS']['debug'] = DEBUG 9 + 10 + # SECRET CONFIGURATION 11 + # ------------------------------------------------------------------------------ 12 + # See: https://docs.djangoproject.com/en/dev/ref/settings/#secret-key 13 + # Note: This key only used for development and testing. 14 + SECRET_KEY = env('DJANGO_SECRET_KEY', default='o#bpi3*=nzn5r-9i!db1&h&oo0%5wmzudw-q2054z9n)u8=uez') 15 + 16 + # DATABASE CONFIGURATION 17 + # ------------------------------------------------------------------------------ 18 + # See: https://docs.djangoproject.com/en/dev/ref/settings/#databases 19 + DATABASES = { 20 + 'default': env.db( 21 + 'DATABASE_URL', default='spatialite:///{}'.format(str(ROOT_DIR.path('{}.db'.format(PROJECT_NAME.lower())))) 22 + ), 23 + } 24 + DATABASES['default']['ATOMIC_REQUESTS'] = True 25 + SPATIALITE_LIBRARY_PATH = env('DJANGO_EMAIL_BACKEND', default='/usr/local/lib/mod_spatialite.dylib') 26 + 27 + # EMAIL 28 + # ------------------------------------------------------------------------------ 29 + # See: https://docs.djangoproject.com/en/dev/ref/settings/#email-backend 30 + EMAIL_BACKEND = env( 31 + 'DJANGO_EMAIL_BACKEND', 32 + default='django.core.mail.backends.console.EmailBackend' 33 + )