'curriculum',
'catalogue',
'comment',
+ 'wtem',
+ 'publishers',
'fnpdjango',
'south',
'pipeline',
# Disable, if not using Piwik.
- 'piwik.django',
+ 'piwik',
# Disable, if not using CAS.
'honeypot',
'django_cas',
if "django_cas" in INSTALLED_APPS else None,
'django.contrib.messages.middleware.MessageMiddleware'
if "django.contrib.messages" in INSTALLED_APPS else None,
- 'piwik.django.middleware.PiwikMiddleware'
- if "piwik.django" in INSTALLED_APPS else None,
# Uncomment the next line for simple clickjacking protection:
# 'django.middleware.clickjacking.XFrameOptionsMiddleware',
'pagination.middleware.PaginationMiddleware'
'django.middleware.cache.FetchFromCacheMiddleware',
'fnpdjango.middleware.SetRemoteAddrFromXRealIP',
'pybb.middleware.PybbMiddleware',
- 'forum.middleware.ForumMiddleware'
+ 'forum.middleware.ForumMiddleware',
+ 'wtem.middleware.ThreadLocalMiddleware'
) if x is not None)
'catalogue/js/jquery.cycle.all.js',
'jquery/colorbox/jquery.colorbox-min.js',
'jquery/colorbox/jquery.colorbox-pl.js',
+ 'catalogue/js/carousel.js',
'catalogue/js/edumed.js',
'catalogue/js/lesson.js',
+ 'catalogue/js/lesson-list.js',
'sponsors/js/sponsors.js',
'curriculum/curriculum.js',
'js/formset.js',
),
'output_filename': 'compressed/base.js',
},
+ 'wtem': {
+ 'source_filenames': (
+ 'catalogue/js/jquery-ui-1.10.0.custom.js',
+ 'wtem/edumed.js',
+ 'wtem/wtem.js',
+ 'wtem/json2.js'
+ ),
+ 'output_filename': 'compressed/wtem.js'
+ },
}
PIPELINE_COMPILERS = (
{% load fnp_common fnp_share fnp_lang macros %}
{% load compressed static %}
{% load subdomainurls %}
+ {% load piwik_tags %}
{% macro title %}{% block title %}{% endblock %}{% endmacro %}
{% macro site_name %}Edukacja medialna{% endmacro %}
</footer>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
- {% compressed_js 'base' %}
{% block extra_script %}{% endblock %}
- {{ piwik_tag|safe }}
+ {% tracking_code %}
</body>
</html>
-i http://pypi.nowoczesnapolska.org.pl/simple
- Django>=1.5,<1.6
+ Django>=1.6,<1.7
South>=0.7.4
django-pipeline>=1.2,<1.3
python-memcached
- piwik
+ django-piwik
#pyScss
#git+git://github.com/Kronuz/pyScss.git@d8f4da23a3c87696a75b3830ed4ab49b75550a93#egg=pyScss
#TODO: pyScss support, for now just install sass
-django-jsonfield>=0.9,<0.10
+jsonfield>=0.9,<0.10
django_cas>=2.1,<2.2
fnpdjango>=0.1.14,<0.2