From: Marcin Koziej Date: Mon, 27 Aug 2012 12:20:35 +0000 (+0200) Subject: Merge branch 'master' into search X-Git-Url: https://git.mdrn.pl/prawokultury.git/commitdiff_plain/b1fb752ca1abb051a63da4729e34a80affc25c76 Merge branch 'master' into search Conflicts: prawokultury/settings.d/30-apps.conf requirements.txt --- b1fb752ca1abb051a63da4729e34a80affc25c76 diff --cc prawokultury/settings.d/30-apps.conf index 3824631,fdd916d..c950a4e --- a/prawokultury/settings.d/30-apps.conf +++ b/prawokultury/settings.d/30-apps.conf @@@ -8,7 -8,8 +8,9 @@@ INSTALLED_APPS = 'django.contrib.comments', 'django_comments_xtd', 'pipeline', + 'haystack', + 'pagination', + 'sorl.thumbnail', 'django.contrib.auth', 'django.contrib.contenttypes', diff --cc prawokultury/urls.py index 6da0510,0d9da8c..436cb0e --- a/prawokultury/urls.py +++ b/prawokultury/urls.py @@@ -25,5 -24,11 +25,11 @@@ urlpatterns = patterns('' url(r'^comments/', include('django_comments_xtd.urls')), ) + migdal_urlpatterns + if settings.DEBUG: + urlpatterns += patterns('', + url(r'^media/(?P.*)$', 'django.views.static.serve', { + 'document_root': settings.MEDIA_ROOT, + }), + ) -urlpatterns += staticfiles_urlpatterns() +urlpatterns += staticfiles_urlpatterns() diff --cc requirements.txt index 7efd852,c290b2b..145192a --- a/requirements.txt +++ b/requirements.txt @@@ -7,7 -8,7 +8,11 @@@ textil django-markupfield django-gravatar django_comments_xtd - django-pipeline + django-pipeline>=1.2,<1.3 ++ + #pyScss + #git+git://github.com/Kronuz/pyScss.git@d8f4da23a3c87696a75b3830ed4ab49b75550a93#egg=pyScss + #TODO: pyScss support, for now just install sass + +-e git+https://github.com/toastdriven/django-haystack.git@master#egg=django-haystack +pysolr