You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
420 B

from django.contrib import admin
from django.urls import path, include
from django.views.generic import RedirectView
from bots.views import BotRPCView
urlpatterns = [
path('', RedirectView.as_view(pattern_name='cabinet:index')),
path('cabinet/', include('cabinet.urls', namespace='cabinet')),
path('bots_rpc/<str:endpoint>/', BotRPCView.as_view(), name='bots_rpc'),