Skip to content

Commit

Permalink
Upgrade pipeline, sorl.thumbnail.
Browse files Browse the repository at this point in the history
  • Loading branch information
rczajka committed Mar 19, 2015
1 parent 6351971 commit ea7deea
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 24 deletions.
6 changes: 3 additions & 3 deletions apps/catalogue/templates/catalogue/base.html
@@ -1,10 +1,10 @@
{% load compressed i18n %}
{% load pipeline i18n %}
{% load catalogue %}
<!DOCTYPE html>
<html>
<head lang="{{ LANGUAGE_CODE }}">
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
{% compressed_css 'catalogue' %}
{% stylesheet 'catalogue' %}
<title>{% block title %}{% trans "Platforma Redakcyjna" %} ::
{% block titleextra %}{% endblock %}{% endblock title %}</title>
{% block add_css %}{% endblock %}
Expand Down Expand Up @@ -45,7 +45,7 @@


<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
{% compressed_js 'catalogue' %}
{% javascript 'catalogue' %}
{% block add_js %}{% endblock %}
{% block extrabody %}
{% endblock %}
Expand Down
1 change: 0 additions & 1 deletion apps/catalogue/templates/catalogue/book_html.html
@@ -1,5 +1,4 @@
{% load i18n %}
{% load compressed %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Expand Down
6 changes: 3 additions & 3 deletions apps/catalogue/templates/catalogue/book_text.html
@@ -1,13 +1,13 @@
{% load i18n compressed %}
{% load i18n pipeline %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>{% trans "Redakcja" %} :: {{ book.title }}</title>
{% compressed_css 'book' %}
{% stylesheet 'book' %}
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
{% compressed_js 'book' %}
{% javascript 'book' %}
</head>
<body>
<div id="menu">
Expand Down
6 changes: 3 additions & 3 deletions apps/catalogue/templates/catalogue/document_list.html
Expand Up @@ -2,17 +2,17 @@

{% load i18n %}
{% load catalogue book_list %}
{% load compressed %}
{% load pipeline %}

{% block titleextra %}{% trans "Book list" %}{% endblock %}


{% block add_js %}
{% compressed_js 'book_list' %}
{% javascript 'book_list' %}
{% endblock %}

{% block add_css %}
{% compressed_css 'book_list' %}
{% stylesheet 'book_list' %}
{% endblock %}

{% block content %}
Expand Down
6 changes: 3 additions & 3 deletions apps/catalogue/templates/catalogue/image_list.html
Expand Up @@ -2,18 +2,18 @@

{% load i18n %}
{% load catalogue book_list %}
{% load compressed %}
{% load pipeline %}


{% block titleextra %}{% trans "Image list" %}{% endblock %}


{% block add_js %}
{% compressed_js 'book_list' %}
{% javascript 'book_list' %}
{% endblock %}

{% block add_css %}
{% compressed_css 'book_list' %}
{% stylesheet 'book_list' %}
{% endblock %}


Expand Down
6 changes: 3 additions & 3 deletions apps/catalogue/templates/catalogue/my_page.html
Expand Up @@ -2,14 +2,14 @@

{% load i18n %}
{% load catalogue book_list wall %}
{% load compressed %}
{% load pipeline %}

{% block add_js %}
{% compressed_js 'book_list' %}
{% javascript 'book_list' %}
{% endblock %}

{% block add_css %}
{% compressed_css 'book_list' %}
{% stylesheet 'book_list' %}
{% endblock %}

{% block titleextra %}{% trans "My page" %}{% endblock %}
Expand Down
6 changes: 3 additions & 3 deletions apps/wiki/templates/wiki/document_details_base.html
Expand Up @@ -3,15 +3,15 @@

{% block titleextra %}{{ chunk.pretty_title }}{% endblock %}
{% block extrahead %}
{% load compressed %}
{% compressed_css 'detail' %}
{% load pipeline %}
{% stylesheet 'detail' %}
{% endblock %}

{% block extrabody %}
<script type="text/javascript">
var STATIC_URL = '{{STATIC_URL}}';
</script>
{% compressed_js 'detail' %}
{% javascript 'detail' %}
{% endblock %}

{% block maincontent %}
Expand Down
6 changes: 3 additions & 3 deletions apps/wiki_img/templates/wiki_img/document_details_base.html
Expand Up @@ -3,15 +3,15 @@

{% block title %}{{ document.title }} - {{ block.super }}{% endblock %}
{% block extrahead %}
{% load compressed %}
{% compressed_css 'detail' %}
{% load pipeline %}
{% stylesheet 'detail' %}
{% endblock %}

{% block extrabody %}
<script type="text/javascript">
var STATIC_URL = '{{STATIC_URL}}';
</script>
{% compressed_js 'wiki_img' %}
{% javascript 'wiki_img' %}
{% endblock %}

{% block maincontent %}
Expand Down
1 change: 1 addition & 0 deletions redakcja/settings/compress.py
Expand Up @@ -2,6 +2,7 @@
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
# 'django.contrib.staticfiles.finders.DefaultStorageFinder',
'pipeline.finders.PipelineFinder',
)


Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Expand Up @@ -14,9 +14,9 @@ httplib2 # oauth2 dependency
## Django
Django>=1.6,<1.7
fnpdjango>=0.2,<0.3
django-pipeline>=1.2,<1.3
django-pipeline>=1.4.7,<1.5
django_cas>=2.1,<2.2
sorl-thumbnail>=11.09,<12
sorl-thumbnail>=12.2,<13
django-maintenancemode>=0.9
django-pagination
django-gravatar2
Expand Down

0 comments on commit ea7deea

Please sign in to comment.