Permalink
Browse files

Real usage example was added to the README file.

  • Loading branch information...
svetlyak40wt committed Nov 9, 2008
1 parent f75ac5e commit 1cbdc6e27e4bc0f3d58c52afa98f04558429f315
Showing with 10 additions and 0 deletions.
  1. +10 −0 README.md
View
@@ -57,3 +57,13 @@ It is called without any parameters:
Use template tag `{% avatar email site %}` to create simple block with `<img src="" />`
for the email's and site's owner.
+For example, I use following code, to show avatars on my site, which uses threaded comments and
+django-openid:
+
+ {% load faces_tags %}
+ <div class="b-avatar">
+ {% avatar comment.user.email comment.user.openids.get.openid %}
+ </div>
+
+Very simple, is't it?
+

0 comments on commit 1cbdc6e

Please sign in to comment.