You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NoReverseMatch at /accounts/sessions/
Exception Value: 'user_sessions' is not a registered namespace
<form method="post" action="{% url 'user_sessions:session_delete' object.pk %}">
What can i do to prevent that? This makes the urls very inflexible. Also maybe you can change the default urls to:
Hi @elnappo I guess you're right about the inconsistency in the URLs and that should be fixed. If you want to provide your own URLs instead of including the urlpatterns provided by the package, make sure you include the namespace user_sessions as well. Otherwise you'll get the error message as you've listed above. The solution would be something along the lines of wrapping the urlpatterns with an include.
in urls.py there are two views:
shouldn't it be?:
I tried to change the url for the views with
but I get a
What can i do to prevent that? This makes the urls very inflexible. Also maybe you can change the default urls to:
In this case you can simply do:
Thank you
The text was updated successfully, but these errors were encountered: