summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAna <ana.charpentier@free.fr>2016-04-18 17:50:12 +0200
committerAna <ana.charpentier@free.fr>2016-04-18 17:50:12 +0200
commit564379c0aea3106490d27e239567134d42325c30 (patch)
treec7477a4cebb3d92e2693580d2782361f9df06273
parent1d871e1f5ec11d949250bd7e6e3d94cc46a4f2bb (diff)
downloadPapillon-564379c0aea3106490d27e239567134d42325c30.tar.bz2
Papillon-564379c0aea3106490d27e239567134d42325c30.zip
modification dans models.py liée à python 3 : unicode devient str
modifs des imports dans forms et admin
-rw-r--r--papillon/templates/feeds/poll_description.html8
1 files changed, 0 insertions, 8 deletions
diff --git a/papillon/templates/feeds/poll_description.html b/papillon/templates/feeds/poll_description.html
deleted file mode 100644
index 7522a5a..0000000
--- a/papillon/templates/feeds/poll_description.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{% load i18n %}
-<p>{% blocktrans with obj.user.name as voter_name %}{{ voter_name }} has added/modified a vote.{%endblocktrans%}</p>
-<p>{% trans "Current results:" %}</p>
-<ul>
-{% for choice in obj.poll.getChoices %}
- <li><strong>{{choice.name}}</strong>{% blocktrans count choice.getSum as sum %}: {{sum}} vote{%plural%}: {{sum}} votes{%endblocktrans%}</li>
-{% endfor %}
-</ul> \ No newline at end of file