notifications: allow dash in notification_id right part (#13122)

This commit is contained in:
Benjamin Dauvergne 2018-03-20 11:33:02 +01:00
parent ad3a44d64c
commit 37c1985ccc
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class NotificationQuerySet(QuerySet):
class Notification(models.Model):
ID_RE = r'^[\w-]+:[\w]+$'
ID_RE = r'^[\w-]+:[\w-]+$'
objects = NotificationQuerySet.as_manager()