telegram_bots/aggregator/urls.py

14 lines
515 B
Python
Raw Normal View History

2019-01-27 21:20:09 +00:00
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'),
]