mirror of
https://github.com/django/django.git
synced 2025-04-15 04:44:37 +00:00
[1.11.x] Refs #27025 -- Fixed "invalid escape sequence" warning in auth_tests on Python 3.6.
Backport of d4d79d0f200357b28419203557cc61c8168316ab from master
This commit is contained in:
parent
233d0b238e
commit
e34cce79ff
@ -62,7 +62,7 @@ def userpage(request):
|
||||
pass
|
||||
|
||||
|
||||
uid_token = '(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})'
|
||||
uid_token = r'(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})'
|
||||
|
||||
# special urls for auth test cases
|
||||
urlpatterns = auth_urlpatterns + [
|
||||
|
Loading…
x
Reference in New Issue
Block a user