From f121d4463cfe139f87930edadbd1f2953765cfd9 Mon Sep 17 00:00:00 2001 From: Marc Nachin Date: Thu, 20 Nov 2014 16:21:54 +0100 Subject: [PATCH] petit bug --- project/framonde/models.py | 2 +- project/templates/accueil.html | 2 +- project/templates/base.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/project/framonde/models.py b/project/framonde/models.py index 9e303f6..7d47d54 100755 --- a/project/framonde/models.py +++ b/project/framonde/models.py @@ -87,7 +87,7 @@ class Archive(models.Model): return self.titre def get_absolute_url(self): - return "/archives/%s/" %self.numero + return "/archives/%s/" %self.id class Abonne(models.Model): adresse = models.EmailField(max_length=75, verbose_name='Adresse') diff --git a/project/templates/accueil.html b/project/templates/accueil.html index aa60f58..2ce82a1 100644 --- a/project/templates/accueil.html +++ b/project/templates/accueil.html @@ -32,7 +32,7 @@ {% endfor %}

{% else%} -

Aucun appel à contributions pour le moment

+

Aucun appel à contribution pour le moment

{% endif %} diff --git a/project/templates/base.html b/project/templates/base.html index 84b2532..a7732bc 100644 --- a/project/templates/base.html +++ b/project/templates/base.html @@ -75,7 +75,7 @@ -

Archive de publication

+

Archives de publication