Require easy_thumbnails 2.4.1 and load easy_thumbnails_tags (#378)

* Require easy_thumbnails 2.4.1 and load easy_thumbnails_tags
This commit is contained in:
Bryan Marty 2017-06-25 00:43:28 -07:00 committed by Iacopo Spalletti
parent 0233ba5605
commit 22ead871ee
9 changed files with 10 additions and 7 deletions

View file

@ -11,6 +11,7 @@ Contributors
------------
* alex
* Bryan Marty
* Carlo Ascani
* Christoph Reimers
* cluster-master

View file

@ -22,6 +22,7 @@ History
* Improved admin filtering.
* Added featured date to post.
* Fixed issue with urls in sitemap if apphook is not published
* Use the easy_thumbnails_tags template tag. Require easy_thumbnails >= 2.4.1
*******************

View file

@ -1,4 +1,4 @@
{% load i18n thumbnail cms_tags %}
{% load i18n easy_thumbnails_tags cms_tags %}
<article id="post-{{ post.slug }}" class="post-item">
<header>

View file

@ -1,4 +1,4 @@
{% load i18n thumbnail cms_tags %}
{% load i18n easy_thumbnails_tags cms_tags %}
<ul class="post-detail">
{% if post.author %}

View file

@ -1,4 +1,4 @@
{% load i18n thumbnail %}{% spaceless %}
{% load i18n easy_thumbnails_tags %}{% spaceless %}
<div class="plugin plugin-blog">
<h3>{% trans "Authors" %}</h3>
<ul class="blog-authors">
@ -16,4 +16,4 @@
{% endfor %}
</ul>
</div>
{% endspaceless %}
{% endspaceless %}

View file

@ -1,5 +1,5 @@
{% extends "djangocms_blog/base.html" %}
{% load i18n thumbnail cms_tags %}
{% load i18n easy_thumbnails_tags cms_tags %}
{% block canonical_url %}<link rel="canonical" href="{{ meta.url }}"/>{% endblock canonical_url %}
{% block title %}{{ post.get_title }}{% endblock %}

View file

@ -1,4 +1,4 @@
{% load thumbnail cms_tags %}
{% load easy_thumbnails_tags cms_tags %}
<!doctype html>
<html lang="{{ post.get_current_language }}" prefix="op: http://media.facebook.com/op#">
<head>

View file

@ -1,5 +1,5 @@
{% extends "djangocms_blog/base.html" %}
{% load i18n thumbnail %}{% spaceless %}
{% load i18n easy_thumbnails_tags %}{% spaceless %}
{% block canonical_url %}<link rel="canonical" href="{{ view.get_view_url }}"/>{% endblock canonical_url %}

View file

@ -36,6 +36,7 @@ setup(
'django-taggit-autosuggest',
'djangocms-text-ckeditor',
'cmsplugin-filer>=1.0',
'easy-thumbnails>=2.4.1',
'django-meta>=1.2',
'django-meta-mixin>=0.3',
'aldryn-apphooks-config>=0.2.6',