Add back load url from future, will remove when 1.9 is out

This commit is contained in:
Grant McConnaughey 2015-07-23 10:03:04 -05:00
parent b4c212dee8
commit 6d2ad4a8bd
5 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,6 @@
{% extends "avatar/base.html" %}
{% load i18n avatar_tags %}
{% load url from future %}
{% block content %}
<p>{% trans "Your current avatar: " %}</p>

View file

@ -1,5 +1,6 @@
{% extends "avatar/base.html" %}
{% load i18n avatar_tags %}
{% load url from future %}
{% block content %}
<p>{% trans "Your current avatar: " %}</p>

View file

@ -1,5 +1,6 @@
{% extends "avatar/base.html" %}
{% load i18n %}
{% load url from future %}
{% block content %}
<p>{% trans "Please select the avatars that you would like to delete." %}</p>

View file

@ -1,4 +1,4 @@
{% load i18n %}{% blocktrans with user as avatar_creator and avatar.get_absolute_url as avatar_url %}{{ avatar_creator }} has updated their avatar {{ avatar }}.
{% load i18n %}{% load url from future %}{% blocktrans with user as avatar_creator and avatar.get_absolute_url as avatar_url %}{{ avatar_creator }} has updated their avatar {{ avatar }}.
http://{{ current_site }}{{ avatar_url }}
{% endblocktrans %}

View file

@ -1,2 +1,2 @@
{% load i18n %}{% url 'profile_detail' username=user.username as user_url %}{# TODO: support custom user models via get_username; actually, is this template even used anymore? #}
{% load i18n %}{% load url from future %}{% url 'profile_detail' username=user.username as user_url %}{# TODO: support custom user models via get_username; actually, is this template even used anymore? #}
{% blocktrans with user as avatar_creator and avatar.get_absolute_url as avatar_url %}<a href="{{ user_url }}">{{ avatar_creator }}</a> has updated their avatar <a href="{{ avatar_url }}">{{ avatar }}</a>.{% endblocktrans %}