Conjunto de cambios 7b731b3 en seguimiento_proyectos para sepai/sepai/settings.py
- Fecha y hora:
- 31/05/2017 08:47:36 (hace 7 años)
- Branches:
- master, desarrollo
- Children:
- 7607b2f
- Parents:
- f6237c2 (diferencia), a8d2162 (diferencia)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Fichero:
-
- 1 editado
Leyenda
- No modificado
- Añadido
- Eliminado
-
sepai/sepai/settings.py
rf6237c2 r7b731b3 89 89 DATABASES = { 90 90 'default': { 91 'ENGINE': 'django.db.backends.sqlite3', 92 'NAME': os.path.join(BASE_DIR, 'db.sepai.sqlite'), 91 'ENGINE': 'django.db.backends.postgresql_psycopg2', 92 'NAME': 'sepai', 93 'USER': 'postgres', 94 'PASSWORD': 'postgres', 95 'HOST': 'localhost', 96 'PORT': '5432', 97 'ATOMIC_REQUESTS': True, # Crea transacciones en cada peticion de la vista 93 98 } 94 99 } … … 110 115 BASE_URL = "" 111 116 112 MEDIA_ROOT = os.path.join(TEMPLATES_SEPAI, 'sources') 113 MEDIA_URL = BASE_URL + '/recursos/' 117 118 MEDIA_ROOT = os.path.join(BASE_DIR, 'sources/') 119 MEDIA_URL = '/sources/' 114 120 115 121 # Static files (CSS, JavaScript, Images) 116 122 # https://docs.djangoproject.com/en/1.8/howto/static-files/ 117 123 118 STATIC_URL = TEMPLATES_SEPAI + '/static/' 119 SOURCES_URL = TEMPLATES_SEPAI + '/sources/' 124 SOURCES_URL = BASE_DIR + 'sources/' 125 STATIC_ROOT = BASE_DIR + 'static/' 126 STATIC_URL = '/static/' 120 127 121 128 STATICFILES_DIRS = ( 122 os.path.join( STATIC_URL),123 os.path.join( SOURCES_URL),129 os.path.join(BASE_DIR, 'static/'), 130 os.path.join(BASE_DIR, 'sources/'), 124 131 ) 125 132
Nota: Vea TracChangeset
para ayuda en el uso del visor de conjuntos de cambios.