puput
puput copied to clipboard
PUPUT_USERNAME_REGEX does not allows dots
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-]+/)|.*)$'