MrDoc/app_api/urls_app.py
2020-05-16 21:27:00 +08:00

17 lines
654 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# coding:utf-8
# @文件: urls_app.py
# @创建者:州的先生
# #日期2020/5/11
# 博客地址zmister.com
from django.urls import path,re_path
from app_api import views_app
urlpatterns = [
path('login/',views_app.LoginView.as_view()),# 登录
path('projects/',views_app.ProjectView.as_view()), # 文集
path('docs/',views_app.DocView.as_view()), # 文档
path('doctemps/',views_app.DocTempView.as_view()), # 文档模板
path('images/',views_app.ImageView.as_view()), # 图片
path('imggroups/',views_app.ImageGroupView.as_view()), # 图片分组
path('attachments/',views_app.AttachmentView.as_view()), # 附件
]