changeset 179:92c13d075110

Doc fixes
author Sylvain Beucler <beuc@beuc.net>
date Sat, 24 Jul 2010 12:49:40 +0200
parents dfa737adc4b0
children 77499f1e64b3
files doc/DJANGO savane/svmain/urls.py templates/svmain/pagination.inc.html
diffstat 3 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/DJANGO
+++ b/doc/DJANGO
@@ -29,3 +29,7 @@
   EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
   This will direct all mails to the console, which means you won't
   risk sending real e-mails to real people by mistake when testing.
+
+- http://code.google.com/p/django-treemenus/ may be nice to implement
+  the left menu, which is mostly static.  The context menu however is
+  dynamic so it's not a good idea to implement it with TreeMenus.
--- a/savane/svmain/urls.py
+++ b/savane/svmain/urls.py
@@ -32,6 +32,7 @@
       { 'template' : 'index.html',
         'extra_context' : { 'has_left_menu': False } },
       name='homepage'),
+  # TODO: add a web interface to edit some static content (using Django template notation?)
   url(r'^contact/$', 'django.views.generic.simple.direct_to_template',
       { 'template' : 'svmain/text.html',
         'extra_context' : { 'title' : 'Contact', }, },
--- a/templates/svmain/pagination.inc.html
+++ b/templates/svmain/pagination.inc.html
@@ -26,7 +26,7 @@
             - Page {{ page_obj.number }} sur {{ paginator.num_pages }} ({{paginator.count}})
         </span>
       {% else %}
-	({{paginator.count}} élément(s))
+	({{paginator.count}} element(s))
       {% endif %}
     </span>
 </div>