mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-16 22:20:24 +00:00
regex depr
This commit is contained in:
parent
5425e37524
commit
09ed44fe56
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ class TemplatePermissionChecker(object):
|
|||
needs an interface beeing implemented like suggested in:
|
||||
https://github.com/twoscoops/django-admin2/issues/142
|
||||
'''
|
||||
_has_named_permission_regex = re.compile('^has_(?P<name>\w+)_permission$')
|
||||
_has_named_permission_regex = re.compile('^has_(?P<name>\\w+)_permission$')
|
||||
|
||||
view_name_mapping = {
|
||||
'view': 'detail_view',
|
||||
|
|
|
|||
Loading…
Reference in a new issue