Skip to content

Instantly share code, notes, and snippets.

@jacobwyke
Created November 6, 2017 17:06
Show Gist options
  • Save jacobwyke/d44edc33ea8dc015254af4c7cb1fe93f to your computer and use it in GitHub Desktop.
Save jacobwyke/d44edc33ea8dc015254af4c7cb1fe93f to your computer and use it in GitHub Desktop.
Long url regex over allowed line length in PEP8/flake8
urlpatterns = [
url(r'^reset_password/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$',
views.reset_password, name='reset_password'),
]
@jacobwyke
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment