I want to do the following, so that the profile of each registered user can be seen as follows: http://127.0.0.1:8000/username/
I was able to achieve this, the problem is when wanting to create another page, for example http://127.0.0.1:8000/explore/
Django consider "explore" as a user and throw me a 404 error.
this is my urls.py
urlpatterns = [
path("<slug:slug>/", PerfilView.as_view(), name="perfil"),
path("explore/", UserListView.as_view(), name="explore"),
]
Am I doing it the right way or am I unable to do this with django?
Regads