From fe9f46dbf185962524e125f9d67515064f430a6d Mon Sep 17 00:00:00 2001 From: bolzanMGB Date: Sun, 24 Nov 2024 18:35:14 -0300 Subject: [PATCH] =?UTF-8?q?altera=C3=A7=C3=A3o=20na=20Model?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Users/__pycache__/admin.cpython-312.pyc | Bin 1005 -> 2426 bytes .../Users/__pycache__/forms.cpython-312.pyc | Bin 1097 -> 1970 bytes .../Users/__pycache__/models.cpython-312.pyc | Bin 1823 -> 1828 bytes .../Users/__pycache__/views.cpython-312.pyc | Bin 1051 -> 1020 bytes mamutes/Users/templates/login.html | 4 ++++ mamutes/Users/views.py | 5 +++-- mamutes/db.sqlite3 | Bin 176128 -> 176128 bytes 7 files changed, 7 insertions(+), 2 deletions(-) diff --git a/mamutes/Users/__pycache__/admin.cpython-312.pyc b/mamutes/Users/__pycache__/admin.cpython-312.pyc index 781ab51f27bf4cf8b89bada08b981512aff1f29b..0fbde0b5d449f6c9a16a1370bba93a3c9f9e9800 100644 GIT binary patch literal 2426 zcmdT`&2Jk;6rcU{di@z3LQ)0fme8`IxFG}tQHzL@lzt^hlyX>%R$K2lS!>tp&e~M2 zTFDia5E7!{)F2KVIM68nKzr(;+&GZXmRciKt;DG}3+F;lycyexlM117VY7JpR``hy9*0Wu%$j|7CSAqP2vhkU^l1jdV==u4&qyyVE9>?@|? ztES3j#f$iwsrgYe>g%R1AQ63l9Q6uvB3N3JI?I|duGK&r#X@PgyIbG1<(c4~I(WwZ z#WM-^m-?3IvZcLG>#&AnYhp()pl67S;>3T7({XY;t{yiMkJ;viKo#5Z-7+xIGa)9^ zOn3}Ojtr3w&tv~A3Fgk#+zOr{*si)k`Dj3VI<&*GWS18)(;E_v_gknu4N+7(S}PY= zY@t(dhjwoQwciK%8p6mF9At`EGG(loDvp?%BbZS~G<8QZV~*@7j_L|Uu_%~vE=9Uh zqAnX69q8Yg*8%BhH7KfV`2mgu^8fCd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1hv+Lr?^oTCnKzgfgX#zV0)O~;tN;K2 diff --git a/mamutes/Users/__pycache__/forms.cpython-312.pyc b/mamutes/Users/__pycache__/forms.cpython-312.pyc index 821fdce6ed0396a5095e472abd40d6cdfecfd71e..4656d7b22dfd5c76b0779511ab42a61451f48300 100644 GIT binary patch literal 1970 zcmeHIOK;mo5Z>iWlq}m~lNfg6pmH849FV zPfivHJTHD&-F~SM@*670k2(|%z5`*GxWuJC38+OW%91YyvLy$KrGPHGimwKmr3E=F z7wDEwiA266uKI+y8k6_sES8l|tvRsjOc_}V-F&6+2B%c0P`5%JL={Pt?nR8Ra^}Qd z*sg+6Or@5l)81yNzoF<|GNxTjd$_ls$y_&Qe=-9|s&TzD)zd+w5j9Anq zmLw4-xAfB!GnuKa;#q5J`mAk#Xo5JUv!gD3DUCJ@C3w$jg@0kSiL~G{6kOStvdpYv zSFLDb_H@-wm$|wp3wa%S>SlSP&>`A%|yQAMA4&=ySGlnWuZE7(viq- z4Ualn-_wL{+Ze#MMZva%&`o@li?+R!IB96x<~c}Ks4&QUp>280ccVRWfcrSQ?cT13 zanpHNzkjy@6Y8~<+P!bq>dQ;ZpPS1!R=CHadf)^}3}2*UR8RS8cDh2r{cr=q;2R-z zo{&Ll{;4`J9{i~B1u*a{0PA~`{30sz2$vABLEuO*rCQ?0UdLyv&CqMGDyGMgoFW%) zwpb&MgzWgfm|1PI#)Hl9`@75s>#-M~#c+9qIRspfml4wCFQYVZ4A>7*8vybwEFd4e>jPuvFsDpvkJsK7h;j3o+Ao>Ck~uKu zvblZZTFeJr|VwMVKF-E5UyAvuh?9Q37rWsv%RgSD0tJ;UO z;KhHAmNlTpKZ2MXJD6WUIERqZ2pP1_KSsTba6+M!R-b_lP2*JmdW`D)Dms=CPP`XU zMZop`LjrE31l$-B5EEFhObE?w!7nAudT=gN%tqLbxwmOLN!&Ek7U%GTBpgX9wDj(X z(u*YR&8*?lzDoC2#;K$I9_e?oo9GL^1OpV_$OL#RQ%Zj&v#&|@HCgJBr9)+k`t+Ai VZXOa84$D(?gZ}jGAD|7Beh1HEo&W#< literal 1097 zcmb7DPiqrV5Pxs~#3VMQ^&hRRS||uBxN7iJq@l!C5R!`~hh=fuW?!0>-E8`HR|$B` zK|ewL3ZeJ~{0d$?mWSZMQ*UA-LQc-?woSGu=sW!OHFazGs7P>=Z3puS{ClsJ+jd-4Zh5_v)#Wk4L2(L*`CWhjX^2i^-zI`gXi zyjD2I5KR&bjgavwXLjTU-JO8@Vm|S7?Cu^z`xu@?G%DzwR+=?M<-{1R0XZOy7}Oz# zloX^;P&$;-2t)46nj)5J%-`j~_I~X4*lfK_R;-0*bOm6VmC1(UP($rYnmoDjw@iAC zMYfg``50R2+CCHccIK&SG&^pw6eW73*99IH|AI<>`$kD>;TlHwM@h-=g!NFGm>O+NJ zLgO+5DweqU60#)fINote+Ac$!wMrB6vzXQHDD@*lkeKI-!WxOkY z&XW#T;TN%+5(0L@QJp$pM0&1mREVzuppsb?H!~{oRg64$`zHDj3e(#tS_L($q>|y! zb=bFM=Oz4E0=*SkyAhg|`8| i%aqcuWakUHI#y)bq@Qoy8xthsqD(9AU;G3keb8@z5c=u> diff --git a/mamutes/Users/__pycache__/models.cpython-312.pyc b/mamutes/Users/__pycache__/models.cpython-312.pyc index 3d600b57571aed7ffe74933368896ff17f52b648..3949b3c4fa826ee3632455f88cd98411afcf9a5b 100644 GIT binary patch delta 150 zcmbQww}g-PG%qg~0}vdW>6~t}k=KTqk#DjWvkoKo=5prwj2s-L#i>PkiMf-dS#?Au zf$EBRfJ6hs4SwPN+RoYw95Rz*Snb$vu@+?H=cP`b&+5%6IQccJ4u|jt*8{9qc-$t- xvw1MePR?MFt4olQf5kA+dPqpZKCv*rr}kokp&lTmhp%~u8>RU`~F8vxtGC~*J) delta 145 zcmZ3&H=mF9G%qg~0}wo}aZWed$ZNyQ$UE7KS%;Bpb2;;TMpo8>jQqUGa;!R{5;Re5Oe^qDI1rEu{@vL^NMe0D&$xB$h83iVPVAbJJ-Vk~~^a_vrWED0KMybiU rY*L2o=VE{6}@NhCpO|bdO0Hlh9fo1>zXs0Cb diff --git a/mamutes/Users/__pycache__/views.cpython-312.pyc b/mamutes/Users/__pycache__/views.cpython-312.pyc index 458feb034b06e386bd5e981cbd6ca47400c07c0b..a152da6e6e00ff2d7b4039869da1c1827ee212c4 100644 GIT binary patch delta 99 zcmbQu@rRxFG%qg~0}vda>70IcBkv|gMyAOJ7)3?dRx^Tx85n{YG}--bF}u5lRB=uI z%&0Tjl<6{G`iz>({5lsnbUv^#h)7QsWp?9OU~^g6-~x}q08Tp^ Ax&QzG delta 131 zcmeyvKAVI0G%qg~0}ymoJEh;>$h(P=k!|t;Mo~HT)r=rv28Lh;O%A_X%=M zDT&1;Mfv)ZUoq;4Rf&|O<`(26mZTQz=j5kn=ILdW+enG+XGQZgc4zmZs gQj@0PwpfzyJUM diff --git a/mamutes/Users/templates/login.html b/mamutes/Users/templates/login.html index e69de29..298b3f2 100644 --- a/mamutes/Users/templates/login.html +++ b/mamutes/Users/templates/login.html @@ -0,0 +1,4 @@ +
+

um dois tres teste obaaaaaa +

+
\ No newline at end of file diff --git a/mamutes/Users/views.py b/mamutes/Users/views.py index 1f93704..f261dad 100644 --- a/mamutes/Users/views.py +++ b/mamutes/Users/views.py @@ -7,7 +7,8 @@ def login (request): if request.method == 'GET': - return render (request, 'cadastro/login.html') + return render(request, 'login.html') + else: username = request.POST.get('username') senha = request.POST.get('senha') @@ -16,7 +17,7 @@ def login (request): if user is not None: login_django (request, user) - return render(request, 'templates/login.html') + return render(request, 'login.html') else: return HttpResponse("Credenciais inválidas.") diff --git a/mamutes/db.sqlite3 b/mamutes/db.sqlite3 index 7fe05eb667b263bfd9c4a76ea41fc93b17e4494f..5a0d17fcf067a1185944cab9caad3b254169e26a 100644 GIT binary patch delta 288 zcmW;Dze~eF0LAgUYZ{xF+)L*=ME95VT(6vmo2);4I2j1|UxkudN4mY^WbO)_W z#E3g>Dp4-72@R8LDZx2*u>y@>^FvMAedWGnN8HSJ?_6hN2Gxfg* ah)1hzQb-Lpg812B6WJZHA;frx<()q$xLZsB delta 244 zcmZp8z}4`8Yl1YR^F$eEM(2$QocfHs%~|@}v-BBf70B`OZ)V{C&Ht7EG5=lu)BH#I z_w#S&f60H5|2_Y8{+*iz3nubU-@KkN5UB6~1OFfX@BE+m-}1izD!<2nlm80;dHz#C zO$UGq=kaepu%FRIK#rG}je-9le