2019-01-11 19:16:01 +00:00
|
|
|
from django.contrib.auth.views import LogoutView
|
|
|
|
from django.urls import path, include
|
|
|
|
|
2019-01-19 06:52:00 +00:00
|
|
|
from cabinet.views import CabinetIndexView, LoginView, AdminConfigView
|
2019-01-11 19:16:01 +00:00
|
|
|
|
|
|
|
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')),
|
2019-01-27 21:20:09 +00:00
|
|
|
path('aggregator/', include('aggregator.urls', namespace='aggregator')),
|
2019-01-19 06:52:00 +00:00
|
|
|
path('admin/config/<slug>/', AdminConfigView.as_view(), name='admin_config'),
|
2019-01-11 19:16:01 +00:00
|
|
|
]
|