Merge branch 'master' into search
authorMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Mon, 27 Aug 2012 12:20:35 +0000 (14:20 +0200)
committerMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Mon, 27 Aug 2012 12:20:35 +0000 (14:20 +0200)
Conflicts:
prawokultury/settings.d/30-apps.conf
requirements.txt

1  2 
prawokultury/settings.d/30-apps.conf
prawokultury/urls.py
requirements.txt

@@@ -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',
@@@ -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<path>.*)$', 'django.views.static.serve', {
+             'document_root': settings.MEDIA_ROOT,
+         }),
+    )
  
 -urlpatterns += staticfiles_urlpatterns()
 +urlpatterns += staticfiles_urlpatterns()
@@@ -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