Browse Source

Loading the `url` tag from the `future` library is deprecated and will be removed in Django 1.9

Use the default `url` tag instead.
Grégoire Jadi 6 years ago
parent
commit
1b1e76abc3

+ 0 - 1
coin/billing/templates/admin/billing/invoice/change_form.html

@@ -1,5 +1,4 @@
 {% extends "admin/change_form.html" %}
-{% load url from future %}
 {% block object-tools-items %}
     {% if not original.validated %}
         <li><a href="{% url 'admin:invoice_validate' id=object_id %}">Valider la facture</a></li>

+ 0 - 1
coin/members/templates/admin/members/member/change_form.html

@@ -1,5 +1,4 @@
 {% extends "admin/change_form.html" %}
-{% load url from future %}
 {% block object-tools-items %}
     <li><a href="{% url 'admin:send_welcome_email' id=object_id %}" onclick="return confirm('Voulez-vous vraiment envoyer le courriel de confirmation à ce membre ?');">Envoyer le courriel de bienvenue</a></li>
     {% if request.user.is_superuser %}