Skip to content

Fixes py27 django 1.10 dep warnings in core subdomain urls. #3047

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

Merged

Conversation

jColeChanged
Copy link

Django 1.10 doesn't like using patterns('', ...) and instead
wants the use of a list. It also no longer wants the string path
to a callable and instead wants the callable itself.

Joshua Cole added 3 commits August 17, 2017 10:32
Django 1.10 doesn't like using patterns('', ...) and instead
wants the use of a list. It also no longer wants the string path
to a callable and instead wants the callable itself.
Django 1.10 wants urls to have the view they are passed as a
callable. In addition, the view didn't define server_error,
it only defined server_error_500. Switched to using that.
handler404 and handler500 were being passed as strings rather than
as callables
@ericholscher
Copy link
Member

Thanks! 👍

@ericholscher ericholscher merged commit ed9bcdc into readthedocs:master Aug 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants