url() => path()

This commit is contained in:
Johannes Wilm 2022-08-09 21:42:20 +02:00 committed by GitHub
parent 6ccc046386
commit 502d96f81f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ that are required. A minimal integration can work like this:
urlpatterns = [
# ...
url('avatar/', include('avatar.urls')),
path('avatar/', include('avatar.urls')),
]
4. Somewhere in your template navigation scheme, link to the change avatar