Created
April 24, 2013 12:53
-
-
Save vagonzalez/5451903 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from os import path, pardir | |
import sys | |
PROJECT_ROOT = path.dirname(path.abspath(__file__)) | |
sys.path.append(path.join("apps")) | |
DEBUG = True | |
##### PIPELINE ################################################################ | |
PIPELINE = True | |
STATICFILES_STORAGE = 'pipeline.storage.PipelineStorage' | |
#PIPELINE_JS_COMPRESSOR = '' | |
PIPELINE_CSS = { | |
'estilos': { | |
'source_filenames': ( | |
'stylus/prueba.styl' | |
), | |
'output_filename': 'stylus/estilos.css', | |
'extra_context': { | |
'media': 'screen,projection', | |
}, | |
}, | |
} | |
PIPELINE_JS = {} | |
PIPELINE_COMPILERS = ( | |
'pipeline.compilers.stylus.StylusCompiler', | |
) | |
PIPELINE_STYLUS_BINARY = 'stylus' | |
################################################################################ | |
# Absolute path to the directory static files should be collected to. | |
# Don't put anything in this directory yourself; store your static files | |
# in apps' "static/" subdirectories and in STATICFILES_DIRS. | |
# Example: "/var/www/example.com/static/" | |
STATIC_ROOT = path.join(PROJECT_ROOT, pardir, 'static') | |
# URL prefix for static files. | |
# Example: "http://example.com/static/", "http://static.example.com/" | |
STATIC_URL = '/static/' | |
# Additional locations of static files | |
STATICFILES_DIRS = ( | |
# Put strings here, like "/home/html/static" or "C:/www/django/static". | |
# Always use forward slashes, even on Windows. | |
# Don't forget to use absolute paths, not relative paths. | |
#path.join(PROJECT_ROOT, pardir, 'librerias'), | |
'/home/django/geco_deploy/geco/librerias', | |
) | |
# List of finder classes that know how to find static files in | |
# various locations. | |
STATICFILES_FINDERS = ( | |
'django.contrib.staticfiles.finders.FileSystemFinder', | |
'django.contrib.staticfiles.finders.AppDirectoriesFinder', | |
#'django.contrib.staticfiles.finders.DefaultStorageFinder', | |
) | |
INSTALLED_APPS = ( | |
'django.contrib.auth', | |
'django.contrib.contenttypes', | |
'django.contrib.sessions', | |
'django.contrib.sites', | |
'django.contrib.messages', | |
'django.contrib.staticfiles', | |
'grappelli', | |
'django.contrib.admin', | |
# Uncomment the next line to enable admin documentation: | |
'django.contrib.admindocs', | |
'django_extensions', | |
'crispy_forms', | |
'pipeline', | |
'dajaxice', | |
'dajax', | |
'accounts', | |
'geco_aprobaciones', | |
'geco_solicitudes', | |
'gecoapp', | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment