django-notifications/notifications/urls.py
theodore.therone@gmail.com 9608ee8a6e Added tests, confirmed works for python2/3
Also added .travis.yml
2015-03-28 08:25:56 +00:00

12 lines
506 B
Python

# -*- coding: utf-8 -*-
from django.conf.urls import patterns, url
urlpatterns = patterns('notifications.views',
url(r'^$', 'all', name='all'),
url(r'^unread/$', 'unread', name='unread'),
url(r'^mark-all-as-read/$', 'mark_all_as_read', name='mark_all_as_read'),
url(r'^mark-as-read/(?P<slug>\d+)/$', 'mark_as_read', name='mark_as_read'),
url(r'^mark-as-unread/(?P<slug>\d+)/$', 'mark_as_unread', name='mark_as_unread'),
url(r'^delete/(?P<slug>\d+)/$', 'delete', name='delete'),
)