telegram_bots/feeds/urls.py

13 lines
442 B
Python
Raw Normal View History

2019-01-11 19:16:01 +00:00
from django.urls import path
from feeds.views import FeedListView, FeedConfigEditView, FeedConfigCreateView, FeedConfigDeleteView
app_name = 'feeds'
urlpatterns = [
path('', FeedListView.as_view(), name='index'),
path('<int:pk>/', FeedConfigEditView.as_view(), name='edit'),
path('new/<content_type>/', FeedConfigCreateView.as_view(), name='new'),
path('delete/<int:pk>/', FeedConfigDeleteView.as_view(), name='delete'),
]