Switch to django_gravatar2 tags.
authorRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Mon, 31 Mar 2014 11:56:52 +0000 (13:56 +0200)
committerRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Mon, 31 Mar 2014 11:56:52 +0000 (13:56 +0200)
migdal/templates/comments/migdal/entry/list.html
migdal/templates/comments/migdal/entry/preview.html
migdal/templates/migdal/entry/entry_begin.html
migdal/templates/migdal/last_comments.html
setup.py

index 59510ee..4d7fffd 100644 (file)
@@ -6,7 +6,7 @@
 <div class="comments">
   {% for comment in comment_list %}
     <div class="comment" id="c{{ comment.id }}">
-        <img class="avatar" src="{% gravatar_for_email comment.email 64 %}" alt="Avatar"/>
+        <img class="avatar" src="{% gravatar_url comment.email 64 %}" alt="Avatar"/>
         <div class="comment-data">
         <div class="comment-author">
             {% if comment.url %}
@@ -23,4 +23,4 @@
     </div>
   {% endfor %}
   <div style="clear: both"></div>
-</div>
\ No newline at end of file
+</div>
index 7b489e9..3560b01 100644 (file)
@@ -22,7 +22,7 @@
     <div class="comments">
 
     <div class="comment preview">
-        <img class="avatar" src="{% gravatar_for_email form.email.value 64 %}" alt="Avatar"/>
+        <img class="avatar" src="{% gravatar_url form.email.value 64 %}" alt="Avatar"/>
         <div class="comment-data">
         <div class="comment-author">{{ form.name.value }}</div>
         </div>
index e452a53..62206c0 100644 (file)
@@ -1,7 +1,7 @@
 {% load i18n %}
 {% load gravatar thumbnail %}
 
-<img class="avatar" src="{% gravatar_for_email object.author_email 64 %}" alt="Avatar"/>
+<img class="avatar" src="{% gravatar_url object.author_email 64 %}" alt="Avatar"/>
 {% if detail %}
     <h1>{{ object.title }}</h1>
 {% else %}
index 8deba13..da74b11 100644 (file)
@@ -1,4 +1,3 @@
-{% load gravatar %}
 {% load fnp_markup %}
 <ul id="latest-comments">
   {% for comment in object_list %}
@@ -10,4 +9,4 @@
     </a>
     </li>
   {% endfor %}
-</ul>
\ No newline at end of file
+</ul>
index 437b856..371846c 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@ def whole_trees(package_dir, paths):
 
 setup(
     name='django-migdal',
-    version='0.3.3',
+    version='0.4',
     author='Radek Czajka',
     author_email='radoslaw.czajka@nowoczesnapolska.org.pl',
     url = '',