diff --git a/bda/models.py b/bda/models.py index 5b814d3d..d1d4c2fd 100644 --- a/bda/models.py +++ b/bda/models.py @@ -1,9 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import division -from __future__ import print_function -from __future__ import unicode_literals - import calendar import random from datetime import timedelta @@ -53,7 +49,6 @@ class CategorieSpectacle(models.Model): verbose_name = "Catégorie" -@python_2_unicode_compatible class Spectacle(models.Model): title = models.CharField("Titre", max_length=300) category = models.ForeignKey(CategorieSpectacle, blank=True, null=True) diff --git a/bda/templates/etat-places.html b/bda/templates/bda/etat-places.html similarity index 88% rename from bda/templates/etat-places.html rename to bda/templates/bda/etat-places.html index 4aa72ba1..66958c56 100644 --- a/bda/templates/etat-places.html +++ b/bda/templates/bda/etat-places.html @@ -38,7 +38,10 @@ {% endfor %} - Total : {{ total }} demandes + + Total : {{ total }} place{{ total|pluralize }} demandée{{ total|pluralize }} + sur {{ proposed }} place{{ proposed|pluralize }} proposée{{ proposed|pluralize }} +