fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updates
[redakcja.git]
/
src
/
redakcja
/
settings
/
__init__.py
diff --git
a/src/redakcja/settings/__init__.py
b/src/redakcja/settings/__init__.py
index
299637b
..
cd60b49
100644
(file)
--- a/
src/redakcja/settings/__init__.py
+++ b/
src/redakcja/settings/__init__.py
@@
-119,6
+119,8
@@
INSTALLED_APPS = (
if DEBUG:
INSTALLED_APPS += ('debug_toolbar',)
if DEBUG:
INSTALLED_APPS += ('debug_toolbar',)
+FORMS_URLFIELD_ASSUME_HTTPS = True
+
LOCALE_PATHS = [
PROJECT_ROOT + "/locale-contrib",
]
LOCALE_PATHS = [
PROJECT_ROOT + "/locale-contrib",
]
@@
-138,7
+140,14
@@
STATICFILES_FINDERS = (
'pipeline.finders.PipelineFinder',
)
'pipeline.finders.PipelineFinder',
)
-STATICFILES_STORAGE = 'pipeline.storage.PipelineManifestStorage'
+STORAGES = {
+ 'default': {
+ 'BACKEND': 'django.core.files.storage.FileSystemStorage'
+ },
+ 'staticfiles': {
+ 'BACKEND': 'pipeline.storage.PipelineManifestStorage',
+ },
+}
PIPELINE = {
'JS_COMPRESSOR': 'pipeline.compressors.jsmin.JSMinCompressor',
PIPELINE = {
'JS_COMPRESSOR': 'pipeline.compressors.jsmin.JSMinCompressor',
@@
-291,7
+300,7
@@
PIPELINE = {
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
-SESSION_SERIALIZER = '
django.contrib.sessions.serializers.Pickle
Serializer'
+SESSION_SERIALIZER = '
redakcja.serializer.JSONWithPickleFallback
Serializer'
REST_FRAMEWORK = {
REST_FRAMEWORK = {
@@
-313,6
+322,8
@@
LANGUAGES = [
]
]
+USE_TZ = True
+
TEST_INTEGRATION = False
TEST_INTEGRATION = False