mirror of
https://github.com/jazzband/django-avatar.git
synced 2026-03-16 22:20:30 +00:00
Update usage {% url %} syntax
This commit is contained in:
parent
7ee83431b3
commit
23ff54e356
1 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue