Update usage {% url %} syntax

This commit is contained in:
Simon Meers 2013-03-15 21:49:04 +11:00
parent 7ee83431b3
commit 23ff54e356

View file

@ -28,7 +28,7 @@ that are required. A minimal integration can work like this:
3. Somewhere in your template navigation scheme, link to the change avatar
page::
<a href="{% url avatar_change %}">Change your avatar</a>
<a href="{% url 'avatar_change' %}">Change your avatar</a>
4. Wherever you want to display an avatar for a user, first load the avatar
template tags::
@ -135,4 +135,4 @@ Management Commands
This application does include one management command: ``rebuild_avatars``. It
takes no arguments and, when run, re-renders all of the thumbnails for all of
the avatars for the pixel sizes specified in the ``AUTO_GENERATE_AVATAR_SIZES``
setting.
setting.