Skip to content

Commit

Permalink
Updated documentation a bit. Preparing for 0.4 release.
Browse files Browse the repository at this point in the history
git-svn-id: https://django-threadedcomments.googlecode.com/svn/trunk@93 60388069-7741-0410-adde-d57be00c0a97
  • Loading branch information
floguy committed Mar 8, 2008
1 parent 5ce56a3 commit b1017f6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version 0.4, 7th March 2008
---------------------------

Added gravatar support, internationalization support on the comment models,
and fixed a bug with get_threaded_comment_form.

Version 0.3.1, 24th February 2008
----------------------------------

Expand Down
6 changes: 5 additions & 1 deletion docs/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,11 @@ Generates a gravatar image URL based on the given parameters.
Format is as follows (The square brackets indicate that those arguments are
optional.)::

{% get_gravatar_url for EMAIL_CONTEXT_VAR [rating "R" size 80 default img:blank as CONTEXT_VAR] %}
{% get_gravatar_url for emailvar [rating "R" size 80 default img:blank as contextvar] %}

Rating, size, and default may be either literal values or template variables.
The template tag will attempt to resolve variables first, and on resolution
failure it will use the literal value.

If ``as`` is not specified, the URL will be output to the template in place.

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

kwargs = {
'name' : 'threadedcomments',
'version' : '0.3.1',
'version' : '0.4',
'description' : 'A simple yet flexible threaded commenting system.',
'author' : 'Eric Florenzano',
'author_email' : 'floguy@gmail.com',
Expand Down
4 changes: 4 additions & 0 deletions threadedcomments/templatetags/gravatar.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ def get_gravatar_url(parser, token):
{% get_gravatar_url for myemailvar [rating "R" size 80 default img:blank as gravatar_url] %}
Rating, size, and default may be either literal values or template variables.
The template tag will attempt to resolve variables first, and on resolution
failure it will use the literal value.
If ``as`` is not specified, the URL will be output to the template in place.
For all other arguments that are not specified, the appropriate default
Expand Down

0 comments on commit b1017f6

Please sign in to comment.