Created
November 6, 2017 17:08
-
-
Save jacobwyke/b844210856a80cc78044068126e7493b to your computer and use it in GitHub Desktop.
Split URL regex so that it passes PEP8/flake8 line length requirements
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
urlpatterns = [ | |
url(r'^reset_password/(?P<uidb64>[0-9A-Za-z_\-]+)/' | |
r'(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$', | |
views.reset_password, name='reset_password'), | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment