fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added tag wolnelektury-0.9.3 for changeset 293052c8f613
[wolnelektury.git]
/
wolnelektury
/
settings.py
diff --git
a/wolnelektury/settings.py
b/wolnelektury/settings.py
index
3135bc2
..
3afa9dd
100644
(file)
--- a/
wolnelektury/settings.py
+++ b/
wolnelektury/settings.py
@@
-72,13
+72,13
@@
MIDDLEWARE_CLASSES = [
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
- 'django.middleware.doc.XViewMiddleware',
+
#
'django.middleware.doc.XViewMiddleware',
'pagination.middleware.PaginationMiddleware',
]
# If DEBUG is enabled add query log to bottom of every template
'pagination.middleware.PaginationMiddleware',
]
# If DEBUG is enabled add query log to bottom of every template
-if DEBUG:
- MIDDLEWARE_CLASSES.append('middleware.ProfileMiddleware')
+
#
if DEBUG:
+
#
MIDDLEWARE_CLASSES.append('middleware.ProfileMiddleware')
ROOT_URLCONF = 'urls'
ROOT_URLCONF = 'urls'
@@
-99,10
+99,18
@@
COMPRESS_CSS = {
}
COMPRESS_JS = {
}
COMPRESS_JS = {
+ 'jquery': {
+ 'source_filenames': ('js/jquery.js',),
+ 'output_filename': 'js/jquery.min.js',
+ },
'all': {
'all': {
- 'source_filenames': ('js/jquery.
js', 'js/jquery.
autocomplete.js', 'js/jquery.form.js',
+ 'source_filenames': ('js/jquery.autocomplete.js', 'js/jquery.form.js',
'js/jquery.jqmodal.js', 'js/jquery.labelify.js', 'js/catalogue.js',),
'output_filename': 'js/all.min.js',
'js/jquery.jqmodal.js', 'js/jquery.labelify.js', 'js/catalogue.js',),
'output_filename': 'js/all.min.js',
+ },
+ 'book': {
+ 'source_filenames': ('js/jquery.eventdelegation.js', 'js/jquery.scrollto.js', 'js/jquery.highlightfade.js', 'js/book.js',),
+ 'output_filename': 'js/book.min.js',
}
}
}
}