notifications: allow dash in notification_id right part (#13122)
This commit is contained in:
parent
ad3a44d64c
commit
37c1985ccc
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue