puput icon indicating copy to clipboard operation
puput copied to clipboard

PUPUT_USERNAME_REGEX does not allows dots

Open marctc opened this issue 7 years ago • 0 comments

Due this Wagtail issue (https://github.com/wagtail/wagtail/issues/3653) filtering entries by author with usernames with dots is not possible. So you cannot write something like this PUPUT_USERNAME_REGEX = '[-\w\.]+'. A possible workaround is overwrite the wagtailcore/urls.py file and replace:

serve_pattern = r'^((?:[\w-]+/))$' with serve_pattern = r'^((?:[\w-]+/)|.*)$'

marctc avatar Jul 04 '17 09:07 marctc