-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude some paths from being redirected #4
Conversation
too much url pattern caching
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you'll need to clear the url caches in the Redirect
save to make it fully compatible with latest Django.
Also some minor comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gonna go ahead and approve, but why not put it in https://github.com/spothero/django-robust-redirects/blob/master/robustredirects/utils.py ?
Allow setting excluded paths that will never be redirected.