From 1d74882e4457c029334a4c4b005b11ff8bb0d83d Mon Sep 17 00:00:00 2001 From: jisyoona <664501563@qq.com> Date: Wed, 6 Sep 2023 11:28:30 +0800 Subject: [PATCH] update teachea app code --- .idea/.gitignore | 8 +++++ .idea/EduSystem.iml | 8 +++++ .idea/inspectionProfiles/Project_Default.xml | 33 ++++++++++++++++++ .../inspectionProfiles/profiles_settings.xml | 6 ++++ .idea/misc.xml | 4 +++ .idea/modules.xml | 8 +++++ .idea/vcs.xml | 6 ++++ .../API/__pycache__/__init__.cpython-39.pyc | Bin 0 -> 155 bytes .../API/__pycache__/admin.cpython-39.pyc | Bin 0 -> 196 bytes .../API/__pycache__/models.cpython-39.pyc | Bin 0 -> 193 bytes .../API/__pycache__/urls.cpython-39.pyc | Bin 0 -> 927 bytes .../API/__pycache__/views.cpython-39.pyc | Bin 0 -> 395 bytes .../EduSystemServer/.idea/.gitignore | 8 +++++ .../EduSystemServer/.idea/EduSystemServer.iml | 23 ++++++++++++ .../inspectionProfiles/Project_Default.xml | 33 ++++++++++++++++++ .../inspectionProfiles/profiles_settings.xml | 6 ++++ .../EduSystemServer/.idea/misc.xml | 4 +++ .../EduSystemServer/.idea/modules.xml | 8 +++++ EduSystemServer/EduSystemServer/.idea/vcs.xml | 6 ++++ .../__pycache__/__init__.cpython-39.pyc | Bin 0 -> 216 bytes .../__pycache__/settings.cpython-39.pyc | Bin 0 -> 2370 bytes .../__pycache__/urls.cpython-39.pyc | Bin 0 -> 1054 bytes EduSystemServer/EduSystemServer/settings.py | 4 +++ .../__pycache__/__init__.cpython-39.pyc | Bin 0 -> 159 bytes .../Student/__pycache__/admin.cpython-39.pyc | Bin 0 -> 200 bytes .../Student/__pycache__/models.cpython-39.pyc | Bin 0 -> 444 bytes .../__pycache__/__init__.cpython-39.pyc | Bin 0 -> 158 bytes .../course/__pycache__/admin.cpython-39.pyc | Bin 0 -> 199 bytes .../course/__pycache__/models.cpython-39.pyc | Bin 0 -> 1495 bytes .../__pycache__/__init__.cpython-39.pyc | Bin 0 -> 159 bytes .../teacher/__pycache__/admin.cpython-39.pyc | Bin 0 -> 200 bytes .../teacher/__pycache__/models.cpython-39.pyc | Bin 0 -> 973 bytes EduSystemServer/teacher/models.py | 2 +- 33 files changed, 166 insertions(+), 1 deletion(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/EduSystem.iml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 EduSystemServer/API/__pycache__/__init__.cpython-39.pyc create mode 100644 EduSystemServer/API/__pycache__/admin.cpython-39.pyc create mode 100644 EduSystemServer/API/__pycache__/models.cpython-39.pyc create mode 100644 EduSystemServer/API/__pycache__/urls.cpython-39.pyc create mode 100644 EduSystemServer/API/__pycache__/views.cpython-39.pyc create mode 100644 EduSystemServer/EduSystemServer/.idea/.gitignore create mode 100644 EduSystemServer/EduSystemServer/.idea/EduSystemServer.iml create mode 100644 EduSystemServer/EduSystemServer/.idea/inspectionProfiles/Project_Default.xml create mode 100644 EduSystemServer/EduSystemServer/.idea/inspectionProfiles/profiles_settings.xml create mode 100644 EduSystemServer/EduSystemServer/.idea/misc.xml create mode 100644 EduSystemServer/EduSystemServer/.idea/modules.xml create mode 100644 EduSystemServer/EduSystemServer/.idea/vcs.xml create mode 100644 EduSystemServer/EduSystemServer/__pycache__/__init__.cpython-39.pyc create mode 100644 EduSystemServer/EduSystemServer/__pycache__/settings.cpython-39.pyc create mode 100644 EduSystemServer/EduSystemServer/__pycache__/urls.cpython-39.pyc create mode 100644 EduSystemServer/Student/__pycache__/__init__.cpython-39.pyc create mode 100644 EduSystemServer/Student/__pycache__/admin.cpython-39.pyc create mode 100644 EduSystemServer/Student/__pycache__/models.cpython-39.pyc create mode 100644 EduSystemServer/course/__pycache__/__init__.cpython-39.pyc create mode 100644 EduSystemServer/course/__pycache__/admin.cpython-39.pyc create mode 100644 EduSystemServer/course/__pycache__/models.cpython-39.pyc create mode 100644 EduSystemServer/teacher/__pycache__/__init__.cpython-39.pyc create mode 100644 EduSystemServer/teacher/__pycache__/admin.cpython-39.pyc create mode 100644 EduSystemServer/teacher/__pycache__/models.cpython-39.pyc diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..35410ca --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/EduSystem.iml b/.idea/EduSystem.iml new file mode 100644 index 0000000..8388dbc --- /dev/null +++ b/.idea/EduSystem.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..a44b4ce --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,33 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..d56657a --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..4236f4c --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/EduSystemServer/API/__pycache__/__init__.cpython-39.pyc b/EduSystemServer/API/__pycache__/__init__.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..14641dd584edb2d9d2a9a3b9a16c9d34cbb4c9b7 GIT binary patch literal 155 zcmYe~<>g`kg4oO7Q$X}%5P=LBfgA@QE@lA|DGb33nv8xc8Hzx{2;!H6vsH|1j8|%j zQ&D1OUU5u7QGQlxa!HJ9N@;LqaY6Ca2 QKczG$)edCxXCP((09zs^Y5)KL literal 0 HcmV?d00001 diff --git a/EduSystemServer/API/__pycache__/admin.cpython-39.pyc b/EduSystemServer/API/__pycache__/admin.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7f8c3f3df310214af73a9a68fcd0d0e5af0aecc6 GIT binary patch literal 196 zcmYe~<>g`kg4oO7Q=EYGV-N=!FabFZKwK;UBvKes7;_kM8KW2(8B&;n88n$+0!0}# z8E>&BrsQVk`Drpm@ug%X=B4NBCFkdr6lEqAfecv5P{a(Rz{D?GXR8?37_Zb4r=rBn zyyBREqWrAXeTs4TT8#xcM%25i1wLFFwDo80`A(wtN~MxcqG HftUdRuWK>4 literal 0 HcmV?d00001 diff --git a/EduSystemServer/API/__pycache__/models.cpython-39.pyc b/EduSystemServer/API/__pycache__/models.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f32bab2e7eb20c515c36e139efd3a8d3046ee09a GIT binary patch literal 193 zcmYe~<>g`kg4oO7Q*40rV-N=!FabFZKwK;UBvKes7;_kM8KW2(8B&;n88n$+0!0}# z8E>)W=BK3Q6#Hp1-QrBiO3X{o*Gow%0%=~!P{abHz{D>*XR8?37_Zb4r=rBnyyBRE zqWrAXeTs4TT8#xcM%24c2eLFFwD8z8$hC)JJ-Xyj)gW&i*z CKrs6N literal 0 HcmV?d00001 diff --git a/EduSystemServer/API/__pycache__/urls.cpython-39.pyc b/EduSystemServer/API/__pycache__/urls.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..91aba384250e44d18477873cac27f91025c75f96 GIT binary patch literal 927 zcma)5U2oGc6wO!Hk!|8H_$`f864A$KAV$@RB7`OiFI7PXIV1IAr!-{?DsQPoAKtw|Q^8lo zx|UcMg8Tma4Mo?rEGw)vm0Vq;vQQdHQERHq1%@Rg9Pg+NtF zv7$&(n)nFTM(au?aZE(6BC^GNEh;ItG}losSWJ05i6*fYRgtUMB*#!*#s2ILGr&@b ze_8X~u-lhyL7ztGf)Io`Dp)0?P7qp2!4TVJxT?CtUjC%ZZzY3(ouPH4`zE)iggSI z9x4Uqpv4Ws(EkAgYlU_*XzhT&Gmd|Lq%^SNTE%a}VKdA!7?CV%+>5KZglV;!lO8{5 z#(z2Nt~4jT4t}-dF??)azs{#gI!j+u{ZitBtMqC=Yw4fa{~PW9f)vW7#(}8XHOJ>n Ukh-MLZ2(jT)q8wupSu42ZZypC%>~zWi3UsP69ceAxOTEmG zeC9p`FDeS4Hd0}I!%7wEs&3H$+NG{qeag)pQjr_Nv6lMIga_ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/EduSystemServer/EduSystemServer/.idea/inspectionProfiles/Project_Default.xml b/EduSystemServer/EduSystemServer/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..a44b4ce --- /dev/null +++ b/EduSystemServer/EduSystemServer/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,33 @@ + + + + \ No newline at end of file diff --git a/EduSystemServer/EduSystemServer/.idea/inspectionProfiles/profiles_settings.xml b/EduSystemServer/EduSystemServer/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/EduSystemServer/EduSystemServer/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/EduSystemServer/EduSystemServer/.idea/misc.xml b/EduSystemServer/EduSystemServer/.idea/misc.xml new file mode 100644 index 0000000..a73aa05 --- /dev/null +++ b/EduSystemServer/EduSystemServer/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/EduSystemServer/EduSystemServer/.idea/modules.xml b/EduSystemServer/EduSystemServer/.idea/modules.xml new file mode 100644 index 0000000..d842152 --- /dev/null +++ b/EduSystemServer/EduSystemServer/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/EduSystemServer/EduSystemServer/.idea/vcs.xml b/EduSystemServer/EduSystemServer/.idea/vcs.xml new file mode 100644 index 0000000..b2bdec2 --- /dev/null +++ b/EduSystemServer/EduSystemServer/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/EduSystemServer/EduSystemServer/__pycache__/__init__.cpython-39.pyc b/EduSystemServer/EduSystemServer/__pycache__/__init__.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5f288d95bc6fe1feb085cef08398bc034fc4568e GIT binary patch literal 216 zcmYe~<>g`kg4oO7Q*?mzV-N=!FabFZKwK;WBvKes7;_k+7*ZJ)FfL?Z1oDCzG?`uk zWf=T4nWESWDswA~3v;4`GV_W{5_59m6N}@0D}w`lQj%6O6oHHa6Tf_%tzukbyi!Y? ziV}fJV*-luvr>~wVq8;7gDZ?*iPLf4NWPuybRdpNmLM6ol#g}Xkv8}x6R0#;*@SyCCl+$k}G}*cV|lc zTllc?ZQu86{B@tUecvQBi9L3bHcFA!`QpcS&pq!icd_#MoB+@IpMRrTUJ!nZ7t>D` z7F+PLUjZP&5Riycj%bKjJWBmEHw7g;|FakmBaP;a43dm2n(v9mLQg>HccPJlZw9^> zP}W#PF;+q`?!r5fh-mSx1hjdSHw1C3G3BpjC9`ZJLP2MRXNi1G=l|dICR5 z;0+@7Bx4!fG%lfA#%0jC0`DsN)VP8^Gp?ePE)+huHbg=4P_X@dib>x&{ z`yQvHqa@)AS7xyR?}s;MkTDDPI3Er$3$M*=GRzo+^z4QU8&(fEZp?CUNP-=Qo*8p$ zvtnd)9w1O)WH`3$KBh+6_5;drArr2TnO%aAgO4qW6^8AA53|sQ zp-FQn<)jPS<85YKPO9V$H=%88FwUo}Acc2l#hj&55bgxM@ZLEnDSib_#KZez+LKz2 zBl{7_am2%iGsGv+{0PHjuOLO4ZMF1VtCtO_Txsc1R&6%TWR__(+m%LL4`&Z7<(Tz| zVhsim^(3WH2H~z1I6S;QwgGicOnLaD3Zx`aa|2 zk3~T!q@%P}->uZONUEzffcv`Ein2{r*AE)4awP3F^mZgQ8?82tuaIzW#_Oc`1{Pz- zK1C*+Mg%1`D*FsmmB&Xyz_CtT;#hHWy%+$|6|99u*AN5*u zY~!hbt@8?~2QH?>J}V&;_Sg3;IHU3^BUVxG!{yVr$WE9o!u=#4=&R*vfHYz#T60dbgk6V+U9fZ$7sH+ZSU_!d9_+? z9B5@TPKzEbRqA>hP=J6k(xY6hQZ84u1GS|^i>*eZZSJ?KrAB=xT4-yvW>sx#dbE6? z?^a^^YNe#c6&Ed()wUX|)uZd`etXZHq~Cm@Rx7aCfI`hz)%xzfx~rL`Mp*-am6~Q6 z4XB(f)Qnkq@T5MPRUdp+kJ2%&ZGaDL&{2x*_(h;=P(cZJUoAa7)DFMLe4ARtV~5Sr zoqTw5W}MDOxAvL!!ZNI&)_eBz?uN0#q8Xzj5H^u((~D+Y)+C=B8*h_ hL+T&tgS0GVl68!W$9uqCl0KxQsrN5wMM{lF`d{1-FM9w0 literal 0 HcmV?d00001 diff --git a/EduSystemServer/EduSystemServer/__pycache__/urls.cpython-39.pyc b/EduSystemServer/EduSystemServer/__pycache__/urls.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..073108e0234688f16ecd86d72a3c00899cfde0e3 GIT binary patch literal 1054 zcma)5L2uJA6i(B0?XnH{3BGlaMk02s0Buy8HZ-A$!6ho{y!f?s72A>RjBVGQ`62us zZn<*e7a(y!Jf|r{Af#D}WjpVE@B2PK)195r!|~zEcedzy-dDG2k3Mb=@H1yPF)#I4 zhxvI&_^ID<>u%l^K^ll&+N<|LzLEAJU_J1cgXQMEkLwNSu|6BH%}@TlKljs+1s7fv z(i`9Nj#zndYb=Nh(AS{J`?qIgtmKT(OHD0TG7R4>fLxY3FQ~PkrMVFhmR&E$4V2SG!QOlN{bqT6gf}>!~l#!f@5KAVMa;9RAyqfq;jqbt(K74I8!14 zne4~=iB$#9OyYtQEN_zV=!Oc!GNbUgl$m3Eoc8$*x^UXP1~-H6N@ zD@QB4R@V_b!`CF6*uC162eZA()jUB1*Oi9upvE0WQTPqp*^4?=k21k!CbBQtp3?M{J6NS2G50JWezVph-~ literal 0 HcmV?d00001 diff --git a/EduSystemServer/EduSystemServer/settings.py b/EduSystemServer/EduSystemServer/settings.py index 34c413d..75318b2 100644 --- a/EduSystemServer/EduSystemServer/settings.py +++ b/EduSystemServer/EduSystemServer/settings.py @@ -41,7 +41,11 @@ INSTALLED_APPS = [ 'Student', 'teacher', 'course', +<<<<<<< Updated upstream 'Eduadmin', +======= + # 'admin1', +>>>>>>> Stashed changes ] MIDDLEWARE = [ diff --git a/EduSystemServer/Student/__pycache__/__init__.cpython-39.pyc b/EduSystemServer/Student/__pycache__/__init__.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6842f248212315a0aedfe498417e6bbfb5e1d816 GIT binary patch literal 159 zcmYe~<>g`kg4oO7Q$X}%5P=LBfgA@QE@lA|DGb33nv8xc8Hzx{2;!HEvsH|1j8|%j zQ&D1OUU5u7QGQlxa!HJ9N@;LqaY2KczG$)edC(XCP((02V1IdjJ3c literal 0 HcmV?d00001 diff --git a/EduSystemServer/Student/__pycache__/admin.cpython-39.pyc b/EduSystemServer/Student/__pycache__/admin.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..287aaeaaf3dcb8b794755cdc25816e04229e3298 GIT binary patch literal 200 zcmYe~<>g`kg4oO7Q=EYGV-N=!FabFZKwK;UBvKes7;_kM8KW2(8B&;n88n$+0!0}# z8E>&BrsQVk`Drpm@ug%X=B4NBCFkdr6lEqAfecv5P{a(Rz{D>{XR8?37_Zb4r=rBn zyyBREqWrAXeTs4TT8Cb*x#8U_?X=jkceAG=M#e-)r z{*t{)DgFY%laoYk2WIxY+2QS*_51xUqj*qX@J#1NMb^V0vPYS1Q2_=#Vlj6)XGaV) z&~F&%$V2T~cXcovW}BZh$84@zaS9k^(~7Rgzu+cyk+~e0tDznmz$?L9%{3b#wc+Fi zV3MB|7L6`mpO*KJ%lG->?#?CL1@G6e*Q`F6l~N})lQOGbYxA0qZ9{b+^po>+0F%atc~bpWeZ6wfplW&5 N-f6bj<$q$9@dFa6b6NlZ literal 0 HcmV?d00001 diff --git a/EduSystemServer/course/__pycache__/__init__.cpython-39.pyc b/EduSystemServer/course/__pycache__/__init__.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7872ab8bb18195f10b892d4185b1883715aa2d6c GIT binary patch literal 158 zcmYe~<>g`kg4oO7Q$X}%5P=LBfgA@QE@lA|DGb33nv8xc8Hzx{2;!HsvsH|1j8|%j zQ&D1OUU5u7QGQlxa!HJ9N@;LqaYg`kg4oO7Q=EYGV-N=!FabFZKwK;UBvKes7;_kM8KW2(8B&;n88n$+0!0}# z8E>&BrsQVk`Drpm@ug%X=B4NBCFkdr6lEqAfecv5P{a(Rz{D>HXR8?37_Zb4r=rBn zyyBREqWrAXeTs4TT8CON;fs5mtSY=vGy9N5Z9Bml6F^XJGRpX+6I!8w0qex3l46gDTZAmp9bwH$poPfwwn zQy{?<%+i!X$SKfE5+Bl!Qx7fuL*BJ4TOV>R^peax`D2THsKlF{nWr~1?>F@g9chnn1==Y^l`g^(R=V`q4CY`N zt30cmZeEIl-z|O2{rAs*PG9d%|9Cd}?l)x(VrW~cxh>)}5~J`QA1VI<7aMuO!z@a< zvPtg0!-F%YCr`)ISHCD{pufQYjWqfuOn5ewo5IC!g@@~Y;FfNun-{oVY33LbBD_a%g|_*)UgVz^*u*5?uX(1 zGD-*|v^>}dWweoSeF3#J3uL&Rlp;#@4Dk`h)#BgP?v?&p{}z|mL=lBdU7j|+^}uS)Az}5 z*9kpQ({^_=5|vHVQ8x8P`8PAkhx}lpMH`Llx#00IyNx5_c2|4d)i2k?Jnrap$G57q zk7t0`C+$kxHU!aw?;(4A$PRT2BJ$1=|VoDibup5 zv!JeZPwNdN1QG}d(Lh2pp^5$WmD%emwF(6T}4)pON^S1cf{`*QdC#h^wG^@YpiGKJ!gM{`I!2>aZ1M!@L6g`kg4oO7Q$X}%5P=LBfgA@QE@lA|DGb33nv8xc8Hzx{2;!HEvsH|1j8|%j zQ&D1OUU5u7QGQlxa!HJ9N@;LqaYg`kg4oO7Q=EYGV-N=!FabFZKwK;UBvKes7;_kM8KW2(8B&;n88n$+0!0}# z8E>&BrsQVk`Drpm@ug%X=B4NBCFkdr6lEqAfecv5P{a(Rz{D>{XR8?37_Zb4r=rBn zyyBREqWrAXeTs4TT8rX)2nIRi+8?a(Wzyv1RYo1apelWNBZ KH1#tOGXMaT^)tNy literal 0 HcmV?d00001 diff --git a/EduSystemServer/teacher/__pycache__/models.cpython-39.pyc b/EduSystemServer/teacher/__pycache__/models.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cd590d523344e8aa56a55ee251c836704cb202a1 GIT binary patch literal 973 zcmZuw&ubJh6wb_Kc4u~HZS7X@>}@ao14N{@R6%GF+EZ8v*?pnib@qpujC6adRHTAc zFABYQ@L&-U6b}mZFUeJ>b^ijvi@waPc108Nk#CZ``QG;uQL9x5w&Sngfp~;`v1GbY zB#StbO9()~iAm34jzew`aKXDzz>`kb-Se0Sbe%N(G43M`$CP>lka5zsbh`OS7I7py z2$C=d2y>;^rQq0rKo30TBQJpuB`8CHyqxn8Dp1XNFyRr@avo0jIhe_LWx{9Se9o&V zb`I(&w!Y`G26MjD}%lV^w7r~T8<&$A~Vji)=%@Jw~6Iz6FA{I(pK z=&n?)K_Yoy^rWE{$3OAl)amT$!RgUEQ_}e!3{dHbZ63@1rruH|+^fn6z>9E=Mm?3QW0CDkOk1~J~(&`Nyie1g)bgfZS z_PaV~Va9@sV8Uyu9$fFp7?i#ECS2YUs^B4V=3#}5pO=G$f4pbZTAT+yOQ4w5ZD@Q~ x#9sTv{w;83&$^qhtu?3#p)2~Eg9T_6O8iy(eDdZ0#WcZ{!sn~Dkckx^(O(_#52*kE literal 0 HcmV?d00001 diff --git a/EduSystemServer/teacher/models.py b/EduSystemServer/teacher/models.py index c31a43e..4eca1f1 100644 --- a/EduSystemServer/teacher/models.py +++ b/EduSystemServer/teacher/models.py @@ -3,7 +3,7 @@ from django.db import models # Create your models here. class Teacher(models.Model): - tid = models.AutoField(primary_key=True, verbose_name="教师编号") + tid = models.AutoField(primary_key=True, verbose_name="教师编号", name="tid") t_name = models.CharField(max_length=255, verbose_name="教师名称", name="t_name") sex = models.CharField(max_length=128, verbose_name="教师性别", name="t_sex") title = models.CharField(max_length=128, verbose_name="教师职称", name="t_title")