Sunil Mohan Adapa 9368504da5
*.py: Use SPDX license identifier
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-02-19 14:38:55 +02:00

17 lines
511 B
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
"""
URLs for the sharing app.
"""
from django.conf.urls import url
from .views import AddShareView, EditShareView, IndexView, remove
urlpatterns = [
url(r'^apps/sharing/$', IndexView.as_view(), name='index'),
url(r'^apps/sharing/add/$', AddShareView.as_view(), name='add'),
url(r'^apps/sharing/(?P<name>[a-z0-9]+)/edit/$', EditShareView.as_view(),
name='edit'),
url(r'^apps/sharing/(?P<name>[a-z0-9]+)/remove/$', remove, name='remove'),
]