telegram_bots/cabinet/urls.py

13 lines
413 B
Python
Raw Normal View History

2019-01-11 19:16:01 +00:00
from django.contrib.auth.views import LogoutView
from django.urls import path, include
from cabinet.views import CabinetIndexView, LoginView
app_name = 'cabinet'
urlpatterns = [
path('', CabinetIndexView.as_view(), name='index'),
path('login/', LoginView.as_view(), name='login'),
path('logout/', LogoutView.as_view(), name='logout'),
path('feeds/', include('feeds.urls', namespace='feeds')),
]