summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--combo/apps/notifications/urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/combo/apps/notifications/urls.py b/combo/apps/notifications/urls.py
index 54b9eef..1a5a654 100644
--- a/combo/apps/notifications/urls.py
+++ b/combo/apps/notifications/urls.py
@@ -21,9 +21,9 @@ from .api_views import add, ack, forget, count
urlpatterns = [
url('^api/notification/add/$', add,
name='api-notification-add'),
- url(r'^api/notification/ack/(?P<notification_id>[\w-]+)/$', ack,
+ url(r'^api/notification/ack/(?P<notification_id>[\w:_-]+)/$', ack,
name='api-notification-ack'),
- url(r'^api/notification/forget/(?P<notification_id>[\w-]+)/$', forget,
+ url(r'^api/notification/forget/(?P<notification_id>[\w:_-]+)/$', forget,
name='api-notification-forget'),
url('^api/notification/count/$', count,
name='api-notification-count'),