Force django not to redirect after password change?
Maybe this is a stupid question. I have a simple Django app and when I change the password (success or not) I want to stay on the same page (I wanna manage with JS the messages). So I no wanna redirect at all at path (password_change/done). Is this possible?
How to pass on the chopped details from URL in Django?
I have a project with the following urls.py
.
How to know if the syntax of my urls is a valid django url syntax?
I generate my URLs dynamically and I want to know if there is a way to check if the syntax is valid or not. Because I’ll create my URL from the Django admin panel, and if the syntax isn’t correct for Django, the code will crash. For example, if I make a mistake and create a URL like this:
test/<:custom_pk>/`, the app will crash, and I won’t be able to modify it from the admin panel because of the crash.