add users url with ending slash (#129)

This commit is contained in:
Markos Gogoulos 2021-04-20 21:53:38 +03:00 committed by GitHub
parent 6a5c57f2b2
commit 784a18ad27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@ from . import views
urlpatterns = [
url(r"^user/(?P<username>[\w@._-]*)$", views.view_user, name="get_user"),
url(r"^user/(?P<username>[\w@._-]*)/$", views.view_user, name="get_user"),
url(
r"^user/(?P<username>[\w@.]*)/media$",
views.view_user_media,