From e2935e2bda86300f841c91acba8a14f60938dcf0 Mon Sep 17 00:00:00 2001 From: syn Date: Sat, 6 Aug 2016 12:44:02 +0000 Subject: [PATCH] Django 1.9 compatibility templates --- README.rst | 3 +++ planet/templates/base.html | 2 +- planet/templates/planet/authors/blocks/list_for_tag.html | 1 - planet/templates/planet/authors/detail.html | 1 - planet/templates/planet/authors/list.html | 1 - planet/templates/planet/authors/list_for_tag.html | 1 - planet/templates/planet/base.html | 1 - planet/templates/planet/blogs/detail.html | 1 - planet/templates/planet/blogs/list.html | 1 - planet/templates/planet/feeds/add.html | 1 - planet/templates/planet/feeds/blocks/syndication_block.html | 2 +- planet/templates/planet/feeds/detail.html | 1 - planet/templates/planet/feeds/list_for_tag.html | 1 - planet/templates/planet/posts/detail.html | 1 - planet/templates/planet/posts/details.html | 2 +- planet/templates/planet/posts/full_details.html | 2 +- planet/templates/planet/posts/list.html | 1 - planet/templates/planet/posts/short.html | 2 +- planet/templates/planet/tags/blocks/authors_cloud.html | 1 - planet/templates/planet/tags/blocks/blogs_cloud.html | 1 - planet/templates/planet/tags/blocks/cloud.html | 1 - planet/templates/planet/tags/blocks/feeds_cloud.html | 1 - planet/templates/planet/tags/blocks/related_list.html | 1 - planet/templates/planet/tags/cloud.html | 1 - planet/templates/planet/tags/detail.html | 1 - planet/templates/planet/tags/list.html | 1 - planet/templates/site_base.html | 2 +- 27 files changed, 9 insertions(+), 26 deletions(-) diff --git a/README.rst b/README.rst index 44da8dd..7b2897c 100644 --- a/README.rst +++ b/README.rst @@ -44,6 +44,9 @@ INSTALLATION ============ * For installation instructions, see `the docs `_. + +Note for Django 1.9 : you have to clone the `django-pagination-py3 repository `_ as +the pip version is not yet compatible with Django 1.9. Contribute ========== diff --git a/planet/templates/base.html b/planet/templates/base.html index 9f33aee..1bc54a4 100644 --- a/planet/templates/base.html +++ b/planet/templates/base.html @@ -1,5 +1,5 @@ {% load staticfiles i18n %} -{% load url from future %} + diff --git a/planet/templates/planet/authors/blocks/list_for_tag.html b/planet/templates/planet/authors/blocks/list_for_tag.html index 6fbe6bc..c8a64f0 100644 --- a/planet/templates/planet/authors/blocks/list_for_tag.html +++ b/planet/templates/planet/authors/blocks/list_for_tag.html @@ -1,5 +1,4 @@ {% load i18n %} -{% load url from future %} {% ifnotequal authors|length 1 %}