mirror of
https://github.com/jazzband/django-defender.git
synced 2026-03-16 22:10:32 +00:00
Fix for usernames with capital letters
This commit is contained in:
parent
972c670879
commit
7fc366e4ca
1 changed files with 2 additions and 2 deletions
|
|
@ -5,9 +5,9 @@ urlpatterns = patterns(
|
|||
'',
|
||||
url(r'^blocks/$', block_view,
|
||||
name="defender_blocks_view"),
|
||||
url(r'^blocks/ip/(?P<ip_address>[a-z0-9-._]+)/unblock$', unblock_ip_view,
|
||||
url(r'^blocks/ip/(?P<ip_address>[A-Za-z0-9-._]+)/unblock$', unblock_ip_view,
|
||||
name="defender_unblock_ip_view"),
|
||||
url(r'^blocks/username/(?P<username>[a-z0-9-._@]+)/unblock$',
|
||||
url(r'^blocks/username/(?P<username>[A-Za-z0-9-._@]+)/unblock$',
|
||||
unblock_username_view,
|
||||
name="defender_unblock_username_view"),
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue