From f46262585a9367ce0448e1b30b33fb9c2127a4d1 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 27 May 2024 11:36:25 +0800 Subject: [PATCH] first commit --- __init__.py | 0 __pycache__/__init__.cpython-312.pyc | Bin 0 -> 141 bytes __pycache__/settings.cpython-312.pyc | Bin 0 -> 2673 bytes __pycache__/urls.cpython-312.pyc | Bin 0 -> 2385 bytes __pycache__/wsgi.cpython-312.pyc | Bin 0 -> 643 bytes asgi.py | 16 ++++ settings.py | 138 +++++++++++++++++++++++++++ urls.py | 49 ++++++++++ wsgi.py | 16 ++++ 9 files changed, 219 insertions(+) create mode 100644 __init__.py create mode 100644 __pycache__/__init__.cpython-312.pyc create mode 100644 __pycache__/settings.cpython-312.pyc create mode 100644 __pycache__/urls.cpython-312.pyc create mode 100644 __pycache__/wsgi.cpython-312.pyc create mode 100644 asgi.py create mode 100644 settings.py create mode 100644 urls.py create mode 100644 wsgi.py diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/__pycache__/__init__.cpython-312.pyc b/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5db0138fc0d89cc5fb4aaae2c4122370e1066e49 GIT binary patch literal 141 zcmX@j%ge<81WS1|(?IlN5P=Rpvj9b=GgLBYGWxA#C}INgK7-W!(s8khNy$pgOV1A| z%FjwoE-^;u#>Z#oWtPOp>lIY~;;_lhPbtkwwJTx;YGwrDVi4maGb1Bo5i^hl0P4{n A`2YX_ literal 0 HcmV?d00001 diff --git a/__pycache__/settings.cpython-312.pyc b/__pycache__/settings.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0c51730e389801f3d513c9fd2cb4a498603d4a8e GIT binary patch literal 2673 zcmb7G&2!pD6qf*l_%tE-BdOCWO*$!dEsPTq0r2av=oCm409Ysqyz#93L#Gx`;jIzivJMm&{7g5q!db` z6q-e8bOvS6S(N=DOlWBq&7pbFn?no!xag1P2;B)uX>?vXgWi!c5b-ShvS>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`UXOailQuH*W3jE`K$!q#z9?RKLgACvK05l?qO zH!!k8XobzTtCh+|w6C^fkqvCC7TK@RxFSn$nX2c#aR?jJM^s-lh2yu0O9!d3iQ{qJ z1+D)x4drX9*Q6pXT{)SK5}laDC(21N%5NFAU$+hYwnB6R znk1?o3FKMK+Gklf4j0F&v3P;a9;rw?VKP^FJg#$Xyc`P^$8WgABQRwK95Za?Bn#j0 zw!vNvOKlNFb9C5Sfw{q#Kak5|w%LRis@V*uqcen~_g&+Vn^+h*SQk-S3-B~<-r&!p zn}&)Dzi@(^r5`y4aPykf=TM3g*kCvn#eDuSI)Ns&He_z{mK^o1NgH^P-7m0W)X7cb zbe@^O@TkoANnVbZ;u-TNOf!2z>JqpUO3a)lH7AsqH(aITr2$u)GzZo0l2dy>Ol$ zma2nNH9#`$FQ4}M56>P3sKWa3#q0kzu)^}io#E>4V0AY@d#tc@u`^uR9;|E!XopLd zPWSrzXZrzKqJnd$@AMDO4g$17vxW2Qu(UQPtp#ZPca}d}{_$RUCiO+Z#o*mP&_jG7 literal 0 HcmV?d00001 diff --git a/__pycache__/wsgi.cpython-312.pyc b/__pycache__/wsgi.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..befbae698b957e37f6aafe63702b0b5aca3523eb GIT binary patch literal 643 zcmZ8fL2DC16rS0QO_{Vo#MbK|9t`MiM7$Icgw&9tsgQ~ggw1y6?PkL4%(630O>aH< z6Z{1|NPmi#ih{5QQN)8cCAXfO?KZS^4)eY@Z@%|^Z_C{>ZWG}s-$hsHI2D|dsG9E zu`!w6@O`Et?N#O$o+6d{ApJ*P+aIfaqkIOLP_q=I@%MGYee%1Uw%@|V%>+zPo&}d| z6ziR>r~U4BFxcGL>GivV;Kg?5)$`4RTUQ^!(_jpjiEh=4dJtGAK~OkK7uTzMUS!Ac z%I>*q^@=*kDbJNGh$S+J!#!b&#wFnoXkHpSz1!J%b5-j9v~22Sv(x3r)#E/edit/', depart.depart_edit), + + + #用户管理 + path('user/list/', user.user_list), + path('user/add/', user.user_add), + path('user//edit/', user.user_edit), + path('user//delete/',user.user_delete), + + # 管理员的管理 + path('admin/list/', admin.admin_list), + path('admin/add/', admin.admin_add), + path('admin//edit/', admin.admin_edit), + path('admin//delete/', admin.admin_delete), + path('admin//reset/', admin.admin_reset), + + #登录 + path('login/', account.login), + path('logout/', account.logout), + path('image/code/', account.image_code), + + path('chart/list/', chart.chart_list), +] diff --git a/wsgi.py b/wsgi.py new file mode 100644 index 0000000..d9c9b24 --- /dev/null +++ b/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for djangoProject3 project. + +It exposes the WSGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/5.0/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'djangoProject3.settings') + +application = get_wsgi_application()