Skip to content

Commit

Permalink
communities: config: Update static page URLs to prevent name collisions
Browse files Browse the repository at this point in the history
  • Loading branch information
sakshamarora1 committed Sep 30, 2024
1 parent 8b46ac6 commit 32661e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion invenio_communities/communities/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ class Meta:
r"^[-\w]+$",
flags=re.ASCII,
error=_(
"The identifier should contain only letters, numbers, or dashes."
"The identifier should contain only letters, numbers, underscores, or dashes."
),
),
is_not_uuid,
Expand Down
4 changes: 2 additions & 2 deletions invenio_communities/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

COMMUNITIES_ROUTES = {
"frontpage": "/communities",
"search": "/communities/search",
"new": "/communities/new",
"search": "/search/communities/all",
"new": "/new/communities/create",
"upload": "/communities/<pid_value>/upload",
"settings": "/communities/<pid_value>/settings",
"requests": "/communities/<pid_value>/requests",
Expand Down

0 comments on commit 32661e5

Please sign in to comment.