From f079d90d0edd434822820ec79b2c54294049f5f6 Mon Sep 17 00:00:00 2001 From: Swydk Date: Sat, 31 Aug 2024 12:10:39 +0500 Subject: [PATCH] cors --- backend/__pycache__/settings.cpython-310.pyc | Bin 2730 -> 3268 bytes backend/settings.py | 40 +++++++++++++----- main/__pycache__/permissions.cpython-310.pyc | Bin 0 -> 716 bytes main/__pycache__/urls.cpython-310.pyc | Bin 793 -> 1057 bytes main/permissions.py | 10 +++++ main/urls.py | 4 +- main/views.py | 2 +- .../__pycache__/serializers.cpython-310.pyc | Bin 646 -> 912 bytes stacking/__pycache__/views.cpython-310.pyc | Bin 564 -> 764 bytes users/__pycache__/views.cpython-310.pyc | Bin 5185 -> 5196 bytes 10 files changed, 44 insertions(+), 12 deletions(-) create mode 100644 main/__pycache__/permissions.cpython-310.pyc create mode 100644 main/permissions.py diff --git a/backend/__pycache__/settings.cpython-310.pyc b/backend/__pycache__/settings.cpython-310.pyc index 9c26f27cc521242d168dfe45f46bab6b1b02a06d..28cb2222a5d0044283c2e4402db39a0f08028c0d 100644 GIT binary patch delta 945 zcmZ`&O-~a+819s9yQN(yA1y7Pet{NhK?xd3G%jUI*KS+rE*kc-S^EyK_A|R%2|dV7 zV+;qa7ZXk#y%~OiiHT=Dt|#M(AK+D-78NlvlX>TTo_C(fE3WaXdfv77*Kj3Oc4VS8VC20j$mky*+5D!3@d$J2OtQP`jvhdfl(NPb8sFm zz(u&U=hl%DgmIX-LnY&IxgD>xV^l{Qj1q!LWdNp>FfdAlu0ey(t8xlw zWg)@KLN2Q&L|&4x)VOt)Jg(KPO;WM+f@bN}O8njfnLouuk?pngG67Puv_luQmNK5Q zUa4EeJVeKMhXHNdv|TCb`rM5yJ>Xs-nn4WPse|pQo5WCch@!^Sna{AQMN%>2e4#*0 zQ*ME%&kpj51ePRK&ZTiy6@?_0g$%Ysd7R8+DRsi{92bK5oXpEuJynP%_wMbquvO%cuJS5 z1+BDMHLdyCnVFgY&~w*r&K}%$rBU;_dvbypMPhEMWvyhhHLBX67uqg!Ya5ET_s?C; zPwrV1J8*ew2#qx#vo8i&&@9sGsnPl^cBdp{mPM@6*1z(8aj#I$SZRLss`F21$~gS~ nKnLStI^0gy#Ri<+PUJjdj{Gjx$s(HnGu_`=j`1}gcBXy;SnCzM delta 407 zcmYk2y-&hW6vg|>6DqV)L_P(-9W(?6otSJCBLUG^P0WjiRBypXpiLi!(3m(nIGHXE zxH!79I5?WP8D~~j{|9_Bd6M(XJ-In|xF3nvNXC>TKgYDc{#`qhId1qD{!3tCi5CnUe?Sdc^d6EMJp+<;=U>d?O0}+Tq4C0XJc@0FS zAqlgrk%ZKk=`rUFRL3L?^JE4VNCYs6GRI(%#9@gfV3{OgMIf^fQn|I&{wBIdNOa%% z&;GOL37sZ)3cJcl`M7#mINC3&YVn{_-7YJtT2P&3Tc_=6&DNTF$F#4rmTorfgc5Z#U4Hl%4z98gcbT0+@BfKY)Tgis&AL8m080j1;~5iQ}oC&H0*-w9g6eMJ1VUx*?;HND#*$cIv;2|$u(kv(ok3pYEM za1Dzj0Tl!(XyB|!19wGdHt)kNktW#_kg8lDw&P*w&-y?gS986rKIo1LykS zg7UCm504y_@h|KeZ6kLup@-!y9g}?B)-gpx=*Vvww?y@(odAa-jAP$1F34$YHk8~g zB^1VemB_s>L|s9G-w#-t6)a-*%D_@Kd^S`0SVje~!QH29Fb=a9IU7cUGMWq%DA@Bb zn#fGBG)yu!yYL+Pv)88gG6a5kW(R=vzDM6|H>~ad4;%Swrp}%83EK+q&SQmB_Hs4pU&;h! bHP*lep%t$zt7+d@3A$;m2g~23S6hDoyXfN` literal 0 HcmV?d00001 diff --git a/main/__pycache__/urls.cpython-310.pyc b/main/__pycache__/urls.cpython-310.pyc index 07999e27a78f628fc937bbdaa18e8ad3e15ee02c..bc2d887d6031b209414b4226770d7aebffca48b7 100644 GIT binary patch delta 542 zcmYk2zfZzI6vyw5+VZ1?{s43!Y$lQr8C_jNbtPb zz6(lr2_p}A@<0y^+XzhC#3+YAnjzZ)Yf<(Tke39bgtMTeoP%u2dB~+)fPBg-s3~hu zOt}c9g!iyl0s>aAGQ%?h*wevSRF}vzJo6#LwFPFP%R*me>`kxIL5=GC`{|G{{VW99 ziQGP%`!MN1#ME`wAj~=)^Ok3Ii^ig9g{=%~+Rr#m0I=?bgO`4#PJ@w}oXpekB*p9gaFy VagC?W2O+Yoa$X-rMeJmMegQ}xl%)Uw delta 310 zcmZ3;F_TRvpO=@50SFp%&ZLDfGcY^`agYHEkmCTv#fKOs>IBp?GH^1avNSV9@u%`H z5J+K5Wn0L^$N*-ur?SJ@9H|^|HfJg)oXwTW1!r@o^1#_VseE8IV+wC7Q!0O!U^8Pg zQ#xamPzql#gC_q=kc%{#Zm~?ZX6zAWyd@A?oLUrIl9-(umYG@}oLVwjkjay?iY2ii zQ{PWhc=8seX1!Z%Mfs&AsYSOqic-@vi$N@w(xRN=TiighAh84}kXO8tp-2X3bdk*D fxy%tN3P7d+BM+kt5c4oHF|)COXawYA`^LQ9jw;#C4Y##(C%Mvd438i=X8C>xW~}7o454RHX8O zrBd@Nd2jYDWUSOi#{OdLRK+ZG^1+5@lumD|A)Y1Ix|Dgg!>jx`LU_Nkd^`bual;2$ zWnrzD;EKZvmeGpDRm=%Fy0k4@0Y<`7_T^AGRR47Wn))Z?P zCZqgyI|D_$IdA>ohjR@FXL^=^gTpAa{)&?Hp-bQqERsjMYbyb5)aGFI|MDi(X4*KR tThJn)E(%q#YwQ^yi>}c=BDXca=vb*b<4Jlu(#IUvrsSx>nmjPpoFTOg~MQB6g582Z-PV5g_3rh!!}D7sO%(5-dPm3?eufgc!jh wewu8P<(ZY7Z}I!)r=;ct!<__{#b(eg4x8Nkl+v73JCK{fF5+R}VH9Hm02?kdwg3PC diff --git a/stacking/__pycache__/views.cpython-310.pyc b/stacking/__pycache__/views.cpython-310.pyc index ee604dceba5220ec3c3ddd274ecbfff1dce14b2d..102bcee6063c9daf8bceae8b8c4f57297e14198c 100644 GIT binary patch delta 454 zcmY*VyGjE=6rH=-$Lwa4Y~lk1L9}x57lPPX8H+@VZ6styi0%@Yi3V%}(O#C|N7!5E z8?5IKQm3`>-Z8!g?wLDhF6W$?H}}JO*GweBE=!{&X{KQK{ZLM{9P1?z;h6A3OVu6s zZ>90TCM;9 delta 267 zcmeyvx`l-=pO=@50SGvA&!l~0n8+u?Xf;t=(wmVXg(-z4hb5Oaij|SUogsxag{_4l zg)Nmai>;YCiamurm_d`{B}k_x<1LP|%+&JY)RN+tj1U3N(Bjmh;F84bR87W-8$>5w zlVmKO_@P{$6)1g604SH4n3GwRS`?q0lUQ85lA(wXC{e^WxsB0ZnhnTg2jXH7gM)#K zk%O@a#PrkTm|V)F6mp9jp})8YY$A_ueoAUi7|;>HsU={=Py>P5AS`|$>lTMiZhlH> VPO2TqmBk!Df`@^Jk%v)?1pwKXKK=jz diff --git a/users/__pycache__/views.cpython-310.pyc b/users/__pycache__/views.cpython-310.pyc index 71bec3b49949bd7d09a6e4c9caf630545ae4df2c..fce195e8d53838abc5897297f53927b74ae02b1c 100644 GIT binary patch delta 138 zcmX@8aYlnTpO=@50SG2oUPuex$jic{$(X{F&X~g7%ap>I!k)s>!r06h#htLFx1_!ck