"""PythonServer URL ConfigurationThe `urlpatterns` list routes URLs to views. For more information please see:https://docs.djangoproject.com/en/2.0/topics/http/urls/Examples:Function views1. Add an import: from my_app import views2. Add a URL to urlpatterns: path('', views.home, name='home')Class-based views1. Add an import: from other_app.views import Home2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')Including another URLconf1. Import the include() function: from django.urls import include, path2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))"""from django.contrib import adminfrom django.urls import path,includefrom django.views import static ##新增from django.conf import settings ##新增from django.conf.urls import url ##新增from mqa import views as mqa_viewsfrom mqa import views_html as mqa_views_htmlurlpatterns = [# path('index.html/', admin.site.urls),path('mqa/activate/<str:version>', mqa_views.info.as_view(), name='mqa上传接口'),# path('mqa/index.html', mqa_views_html.index.as_view(), name='主页'),#path('mqa/login.html', mqa_views_html.login.as_view(), name='登录'),url(r'^static/(?P<path>.*)$', static.serve,{'document_root': settings.STATIC_ROOT}, name='static'),path('html/login.html', mqa_views_html.login, name='登录'),path('html/logout.html', mqa_views_html.logout, name='登出'),path('html/index.html', mqa_views_html.index, name='主页'),path('html/welcome.html', mqa_views_html.welcome, name='欢迎页'),path('html/password.html', mqa_views_html.setpassword, name='修改密码'),path('html/mqa-list.html', mqa_views_html.mqalist, name='mqa报表查询'),path('html/mqa-list-detail.html', mqa_views_html.mqalistdetali, name='mqa明细查询'),path('captcha/', include('captcha.urls')),]handler404 = mqa_views_html.page_not_found
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。