Skip to content

PUPUT_USERNAME_REGEX does not allows dots #122

Description

@marctc

Due this Wagtail issue (wagtail/wagtail#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-]+/)|.*)$'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions