Fix Error: Reverse for 'avatar_change' not found.

Code is changed, but the doc is not changed, so people do not know how to modiy when have the problem.
This commit is contained in:
bibo 2023-11-05 12:56:10 +08:00 committed by GitHub
parent 8fa396f5b0
commit 63d79707df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,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::