implement bots

This commit is contained in:
2019-11-12 20:13:56 +03:00
parent bf76e3c3ed
commit 58806f2103
47 changed files with 10251 additions and 305 deletions

12
bots/urls.py Normal file
View File

@@ -0,0 +1,12 @@
from django.urls import path
from bots.views import BotListView, BotConfigEditView, BotConfigDeleteView, BotConfigCreateView
app_name = 'bots'
urlpatterns = [
path('', BotListView.as_view(), name='index'),
path('<int:pk>/', BotConfigEditView.as_view(), name='edit'),
path('new/<content_type>/', BotConfigCreateView.as_view(), name='new'),
path('delete/<int:pk>/', BotConfigDeleteView.as_view(), name='delete'),
]