55 # Examples: "http://media.lawrence.com", "http://example.com/media/" |
55 # Examples: "http://media.lawrence.com", "http://example.com/media/" |
56 #MEDIA_URL = SITE_URL + '/themedia/' |
56 #MEDIA_URL = SITE_URL + '/themedia/' |
57 |
57 |
58 # List of callables that know how to import templates from various sources. |
58 # List of callables that know how to import templates from various sources. |
59 TEMPLATE_LOADERS = ( |
59 TEMPLATE_LOADERS = ( |
60 'django.template.loaders.filesystem.load_template_source', |
60 'django.template.loaders.filesystem.Loader', |
61 'django.template.loaders.app_directories.load_template_source', |
61 'django.template.loaders.app_directories.Loader', |
62 # 'django.template.loaders.eggs.load_template_source', |
62 # 'django.template.loaders.eggs.load_template_source', |
63 ) |
63 ) |
64 |
64 |
65 TEMPLATE_CONTEXT_PROCESSORS = ( |
65 TEMPLATE_CONTEXT_PROCESSORS = ( |
66 'cm.context_processors.static', |
66 'cm.context_processors.static', |
67 'cm.context_processors.tz', |
67 'cm.context_processors.tz', |
68 'cm.context_processors.utils', |
68 'cm.context_processors.utils', |
69 'django.core.context_processors.auth', |
69 'django.contrib.auth.context_processors.auth', |
70 'django.core.context_processors.request', |
70 'django.core.context_processors.request', |
71 "django.core.context_processors.i18n", |
71 "django.core.context_processors.i18n", |
72 "django.core.context_processors.media", |
72 "django.core.context_processors.media", |
73 'djangoflash.context_processors.flash', |
73 'djangoflash.context_processors.flash', |
74 ) |
74 ) |
114 |
114 |
115 # always upload file to disk to pipe them through converters |
115 # always upload file to disk to pipe them through converters |
116 FILE_UPLOAD_HANDLERS = ("django.core.files.uploadhandler.TemporaryFileUploadHandler",) |
116 FILE_UPLOAD_HANDLERS = ("django.core.files.uploadhandler.TemporaryFileUploadHandler",) |
117 |
117 |
118 # comt settings |
118 # comt settings |
|
119 PISTON_IGNORE_DUPE_MODELS = True |
119 |
120 |
120 # YUI version : set to js/lib/ version directory to be used |
121 # YUI version : set to js/lib/ version directory to be used |
121 YUI_VERSION = 'yui3.0.0' |
122 YUI_VERSION = 'yui3.0.0' |
122 |
123 |
123 |
124 |