telegram_bots/aggregator/urls.py
2019-01-28 00:20:09 +03:00

14 lines
515 B
Python

from django.urls import path
from .views import AggregationSourceListView, AggregationSourceCreateView, AggregationSourceUpdateView, \
AggregationSourceDeleteView
app_name = 'feeds'
urlpatterns = [
path('', AggregationSourceListView.as_view(), name='index'),
path('<int:pk>/', AggregationSourceUpdateView.as_view(), name='edit'),
path('new/', AggregationSourceCreateView.as_view(), name='new'),
path('delete/<int:pk>/', AggregationSourceDeleteView.as_view(), name='delete'),
]