newmediamonitoring/dashboard/urls.py

21 lines
712 B
Python

from django.contrib import admin
from django.urls import path
from dashboard import views
urlpatterns = [
path('', views.index, name='dashboard-index'),
path('login/', views.user_login, name='dashboard-login'),
path('refresh_captcha/', views.refresh_captcha, name='refresh-captcha'),
path('logout/', views.user_logout, name='dashboard-logout'),
path('register/', views.register, name='dashboard-register'),
#省市县地区级联菜单
#获取省
path('get/province/',views.get_province),
path('get/city/',views.get_city),
path('get/district/',views.get_district),
path('get/town/',views.get_town),
path('get/village/',views.get_village),
]