Update index.rst - Fix Error: Reverse for 'avatar_change' not found.

This commit is contained in:
Petr Dlouhý 2024-08-14 12:12:16 +02:00 committed by GitHub
parent d81495f50c
commit 3343c51e2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,7 +55,7 @@ that are required. A minimal integration can work like this:
4. 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>
5. Wherever you want to display an avatar for a user, first load the avatar
template tags::