From f059e317b6099cbbe8d4ddd1efddb67c8eb610e6 Mon Sep 17 00:00:00 2001 From: graks Date: Wed, 26 Sep 2018 13:14:02 +0200 Subject: [PATCH 1/6] added ratings too universityreview model --- .../__pycache__/__init__.cpython-36.pyc | Bin 167 -> 167 bytes .../__pycache__/settings.cpython-36.pyc | Bin 2744 -> 2436 bytes .../__pycache__/urls.cpython-36.pyc | Bin 1085 -> 1085 bytes .../__pycache__/wsgi.cpython-36.pyc | Bin 580 -> 580 bytes backend/db.sqlite3 | Bin 139264 -> 208896 bytes .../__pycache__/__init__.cpython-36.pyc | Bin 163 -> 163 bytes .../postings/__pycache__/admin.cpython-36.pyc | Bin 286 -> 286 bytes .../__pycache__/models.cpython-36.pyc | Bin 562 -> 2047 bytes .../api/__pycache__/__init__.cpython-36.pyc | Bin 167 -> 167 bytes .../__pycache__/serializers.cpython-36.pyc | Bin 763 -> 771 bytes .../api/__pycache__/urls.cpython-36.pyc | Bin 397 -> 397 bytes .../api/__pycache__/views.cpython-36.pyc | Bin 1457 -> 1457 bytes backend/postings/api/serializers.py | 2 +- .../migrations/0004_auto_20180926_1312.py | 86 ++++++++++++++++++ .../__pycache__/0001_initial.cpython-36.pyc | Bin 792 -> 792 bytes .../0002_auto_20180916_1536.cpython-36.pyc | Bin 623 -> 623 bytes ...0003_universityreview_title.cpython-36.pyc | Bin 668 -> 668 bytes .../__pycache__/__init__.cpython-36.pyc | Bin 174 -> 174 bytes backend/postings/models.py | 1 + 19 files changed, 88 insertions(+), 1 deletion(-) create mode 100644 backend/postings/migrations/0004_auto_20180926_1312.py diff --git a/backend/RateMyCourse/__pycache__/__init__.cpython-36.pyc b/backend/RateMyCourse/__pycache__/__init__.cpython-36.pyc index a57441012a2a1fd05207c0a4b971dd300ff6bd38..5322945907daaff65b94a236f6d79a1921052b73 100644 GIT binary patch delta 15 WcmZ3^xSWyQn3tF9YWnJl>*OI delta 15 WcmZ3^xSWyQn3tF9Y{BA*>)UGDHcdXheymXhw;qutbRg zu{aP*q-aG+rZ5FFXliffVvJ=It71*f(=9EIVh#;)uHw)yE=erOOxEALl*5{lO&(}k Zk^JOmoEeM>ll{5Ecv)EZSeT%Y4FKvg9_|1D delta 434 zcmZn>-XW@N%*)G_R=7C&I3EMUV+JI^31m9}aq**x%KJ4^3{nhJbmlNc38&~riKOU7 ziKehbi2<=V5KE-!M@gnI1v6+GZDwJNWvl5}#I-n44OjUzDv^kXn?RSzMf% zpI5BsS?pL^l98HMl9`-XlA7|%232i*R(XkDB0>dFkDgbszh8K2Qb>MwY95kipwus8 zRNY{m^-#k>T7y%;)}rY$#G(sHlT%`GW-_W4O{OR*7gsmOP@j}D(gDZd25 delta 16 XcmdnXv6qA0n3tF9Y{BA<>}D(gDU}4f diff --git a/backend/RateMyCourse/__pycache__/wsgi.cpython-36.pyc b/backend/RateMyCourse/__pycache__/wsgi.cpython-36.pyc index ebe18f9bc5313fc0881c72d61f300af8d0552a1a..5bc65929102070fe324e6102eb8074251d4ffeba 100644 GIT binary patch delta 16 XcmX@Ya)gE5n3tF9YWnJp?6yn*DlG)f delta 16 XcmX@Ya)gE5n3tF9Y{BA^(u(AfBardAW}1{=R%9oqzB65{#Yr|)&_ ztPBuUdL*CkJil|k^SF;*Gd}vJx=)e3gez8B$JdJH_eaV1OI`|=fum%1V zet0#ThYjclJ%&JY2ZdlGnJEzUT{<#TV(X{KZDWlF%r+8TPGzzSOY<3@&o>y0uVhm( zzmFaAMf{-{8({tXj{#p~z#n2*c9``K`@>s(Ly?frUn+G>9zlV>*@4_F$ zvv35SC^>xHP-laMxYy=_U%~2utR%Lw)L5_YGb+E+$p>m7I!e!1jep10yO zZgUh)jW=;r3vRP3YM0ZgW64Y=m9{kDwl)Plms&|@l4K`t^C~#epySEKuitr_2)1CgZb<$>dUYA-ig{;kE%}L!pzh-p1e`;IH7z@J09}{1RM*`{5|G zL6h~5*4xP7A6mH<3dd{?`8rmX7EUMA86>6Ig79`3uh`#6B6ORK7VWp05zZ^)*4f`^ zQnQH1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iLjk*4{KB8JhdglJt2%Z;wti

bjbR*y*NgRs!EUJquP{0E&6I`Z-1uV#70;XcwTj7y?o)Y<= inemmCmCC;xCIsiH_cW^WXebmCpMt{;x{zx4fxiGrIq{SL diff --git a/backend/postings/__pycache__/__init__.cpython-36.pyc b/backend/postings/__pycache__/__init__.cpython-36.pyc index 0e233cfdfb43af07eeaef5698628771f1dc9f185..cdaf68fb0a72c09fad2704b11354f05a575d809c 100644 GIT binary patch delta 15 WcmZ3?xR{aMn3tF9YWnJl>~jDibp*ly delta 15 WcmZ3?xR{aMn3tF9Y{BA*>~jDiQUtpI diff --git a/backend/postings/__pycache__/admin.cpython-36.pyc b/backend/postings/__pycache__/admin.cpython-36.pyc index 358d84feee473c5db5129dc8b3b3c0748b204e78..3e6cf9c84a316d00a38a6f776c8270ad303b385a 100644 GIT binary patch delta 16 XcmbQoG>?hhn3tF9YWnJp?Ba|7B{T$9 delta 16 XcmbQoG>?hhn3tF9Y{BAP!m_ZeBH*&WtyDXfYEe8nS&F7d$>o_@lI#70X*qS0?>={5nc_IxQ|oJzKg_l*V%& zMbeKV+*T&U2T}A(87I|>FmRFd2A8pTJmU$I4buOii6-=l{5u+aJ$aFHkx!-~zRoAl zQa%*3mwYnh`E`*kCWB|gr=uqma_M9_$V!p($yt1U%~Lj6WO*@5r}?A`_IR-r6eFc3 zr>k8<$vYry@;1hXeINi3o0+TuKpgPyjTRy&S3a_5UNxEh#s~v&E#@#6d)hVcf$uOM z05+w4%3sd-t6Shkxo{Z2h|8q7{Z+}r!fW;Z+WF&Mw6WjI(g?}p1s_8S;OJeS&k;UpW;T#U)6y z6BU(3ACCfH9Tn42I)?OLq^N$81ME@HeA~TE-`s)oQ&>78YpUXPLGsRZr0>&)_dwRy z0W`Gz4K=-ii%seMD6$Kl=b2c&vw`cbGxpogkX_k1iPPmcBU*vumzx0g;`13!Q8w2N zO7f1on+Cm)m0fptbIwe-@3IEmx1?Q-hP}Sm>0TXf;@ZUe|0Qs*h|B3^5yhzNZDdFA zE%X;_$nw3RevVB&Jlj$r%}%f;6n)xq3bGq)HIl15DP9$NJ(=7)`g%G6416m#!#rR% zfN^AZo5Ol4{f(;t2~8oGRJ6kN&S3tTYhB!@k zagXf2ON8o8d<+sQ)6vGXpa$6s*%w%NfTx-bdQks;UC_#?=Sz=W#pyIVW@pv3vrgzk ur{=txAFAC{69_6TL6ED%`|gwOH`SNxTb(W?Gy?O`I_w;}-A32yI{yJQD8_mK delta 305 zcmey*zllZJn3tF9Y{BB_NJa*R#|%h-1;};);$o$V%8G0$EWr$#tP?k=GP+H^%_wEa zlERq6)XNyfmdcz3W3vO<94XArj8U9OqFfNIlMk>-%HQJ3O{|E|NzF?y$*AH>Ni0cK zC@4+J$t=!DP4Uy@o-D~|5*)=}nwMFYT2!1_QW>9@n45ZwqqI1+2+U$F$t=l9y~XPS z)ESbQo9dRCnv)U*HYgr$&@J}l{JfIXypoj+MSMUH6!A@tVT={y0x~%mdBBj1v4|PS o_0wdTJb_(S1ELD76h!a?iCY{tx%nxjIjMHQaA7EB0unsT0O$rykpKVy diff --git a/backend/postings/api/__pycache__/__init__.cpython-36.pyc b/backend/postings/api/__pycache__/__init__.cpython-36.pyc index 9bff9423439f962450b8b708cf9a9b1684f422c9..bcfb9f65a1e1db74f684c3598b6db084a0fb3e3f 100644 GIT binary patch delta 15 WcmZ3^xSWyQn3tF9YWnJl>*OI delta 15 WcmZ3^xSWyQn3tF9Y{BA*>6MzN)E1T$!IP8MM_XJ;!) zEXmAEpX|k0#U{kSz)&PK`4nTNArm7TbCC#;@2AO9!~+uN1rdB80wi1nQ441YPcC7K L6~GXD$Rq^-IC~sN delta 157 zcmZo>`_0N}%*)GlwqS8|?nKTjjBFF{sR*UBMX{zZrm&JHhs~o2Q diff --git a/backend/postings/api/__pycache__/urls.cpython-36.pyc b/backend/postings/api/__pycache__/urls.cpython-36.pyc index 2991bc1301215b7915280131581f46e3e7271709..eb6b6972e73f80b9916a1038b345517ed4fc382c 100644 GIT binary patch delta 16 XcmeBW?qy~-=H=zOn!b7?dmAGFBrpV} delta 16 XcmeBW?qy~-=H=x&Td;T|dmAGFBnAYY diff --git a/backend/postings/api/__pycache__/views.cpython-36.pyc b/backend/postings/api/__pycache__/views.cpython-36.pyc index f7b96d3ad79f0c4d8e994e333ead3a33ba909ebd..595466e4a78e632c16c8d6d025bf2ef078b64d68 100644 GIT binary patch delta 16 XcmdnUy^)*Un3tF9YWnJp?5kJ-DU<~z delta 16 XcmdnUy^)*Un3tF9Y{BATk delta 72 zcmaFQ@}7m=n3tF9Y{BA*?8g~zO+0^;O@x7gp-5!%EXK7O5GI%pB1D12Ee@O9{FKt1 PR6AxMub2r)@Gt`a^+6Fg diff --git a/backend/postings/migrations/__pycache__/0003_universityreview_title.cpython-36.pyc b/backend/postings/migrations/__pycache__/0003_universityreview_title.cpython-36.pyc index fb98ec203e36a3575ffe20282fa7f3ddec1340a4..7295b5f036dc6bc79b51ed728f9e561ec2ef3cb3 100644 GIT binary patch delta 72 zcmbQkI)|0rn3tF9YWnJl>~|P%O?+~TO@e`ep-5u#5ylM~5GI%pA|!#tEe@O9{FKt1 PR6AxMub2r)2rvTx;z$u9 delta 72 zcmbQkI)|0rn3tF9Y{BA*>~|QWCO)~vCeFaXP$WM22;&9~2ouZ)5fVV+7Kcr4eoARh OsvR?sSIh(?1egKCvk;X4 diff --git a/backend/postings/migrations/__pycache__/__init__.cpython-36.pyc b/backend/postings/migrations/__pycache__/__init__.cpython-36.pyc index a21ad51f9c68d203eb2a3bdee02aa93dd9dd33d7..722cbe54a93f683fe595d67d212b772e38f3111c 100644 GIT binary patch delta 15 WcmZ3-xQ>zCn3tF9YWnJl?8^Znv;^Y- delta 15 WcmZ3-xQ>zCn3tF9Y{BA*?8^Znkp$cT diff --git a/backend/postings/models.py b/backend/postings/models.py index bc1038a..2384882 100644 --- a/backend/postings/models.py +++ b/backend/postings/models.py @@ -48,6 +48,7 @@ class Course(RateableEntity): class UniversityReview(models.Model): university_name = models.CharField(max_length=200) username = models.CharField(max_length=200) + rating = models.IntegerField(default=1) title = models.CharField(max_length=200) date_published = models.DateTimeField('date published') content = models.CharField(max_length=200) From 2eeebbfed9e47f0b7e9ea133a26b1a7ee0710f3f Mon Sep 17 00:00:00 2001 From: ludger Date: Wed, 26 Sep 2018 17:44:04 +0200 Subject: [PATCH 2/6] Added frontend reviewing option --- frontpage/css/main.css | 10 +++++++++ frontpage/css/main.css.map | 2 +- frontpage/css/main.scss | 13 +++++++++++ frontpage/index2.html | 32 +++++++++++++++++++++++++++ frontpage/js/main.js | 44 ++++++++++++++++++++++++++++++++------ 5 files changed, 94 insertions(+), 7 deletions(-) diff --git a/frontpage/css/main.css b/frontpage/css/main.css index db1b058..515b546 100644 --- a/frontpage/css/main.css +++ b/frontpage/css/main.css @@ -73,4 +73,14 @@ body { .review-block-description { font-size: 13px; } +.animated { + -webkit-transition: height 0.2s; + -moz-transition: height 0.2s; + transition: height 0.2s; } + +.stars { + margin: 20px 0; + font-size: 24px; + color: #d17581; } + /*# sourceMappingURL=main.css.map */ diff --git a/frontpage/css/main.css.map b/frontpage/css/main.css.map index a548d4a..021c2fa 100644 --- a/frontpage/css/main.css.map +++ b/frontpage/css/main.css.map @@ -1,6 +1,6 @@ { "version": 3, -"mappings": "AACA,IAAI;EACF,QAAQ,EAAE,QAAQ;EAClB,KAAK,EAAE,IAAI;EACX,UAAU,EAAE,0FAA0F;EACtG,KAAK,EAAE,IAAI;EACX,UAAU,EAAE,MAAM;EAClB,aAAa,EAAE,CAAC;EAChB,UAAU,EAAC,MAAM;;AAEnB,cAAe;EACb,OAAO,EAAE,IAAI;EACb,WAAW,EAAE,MAAM;EACnB,MAAM,EAAE,0BAA0B;EAClC,MAAM,EAAE,uBAAuB;EAC/B,MAAM,EAAE,kBAAkB;;AAE5B,iBAAiB;EACf,SAAS,EAAE,IAAI;;AAEjB,iBAAiB;EACf,aAAa,EAAE,IAAI;;AAOrB,KAAM;EACJ,UAAU,EAAE,OAAO;EACnB,Q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;EACJ,UAAU,EAAE,OAAO;EACnB,QAAQ,EAAE,QAAQ;EAClB,KAAK,EAAE,IAAI;;AAGb,MAAM;EACJ,UAAU,EAAE,KAAK;;AAGnB,IAAK;EACH,WAAW,EAAE,IAAI;;AAEnB,SAAS;EACP,gBAAgB,EAAC,OAAO;EACxB,KAAK,EAAC,IAAI;;AAEZ,aAAa;EACX,gBAAgB,EAAC,OAAO;EACxB,MAAM,EAAC,iBAAiB;EACxB,OAAO,EAAC,mBAAmB;EAC3B,aAAa,EAAC,GAAG;;AAEnB,KAAK;EACH,WAAW,EAAC,GAAG;;AAEjB,iBAAiB;EACf,cAAc,EAAC,GAAG;;AAGpB,aAAa;EACX,gBAAgB,EAAC,OAAO;EACxB,MAAM,EAAC,iBAAiB;EACxB,OAAO,EAAC,IAAI;EACZ,aAAa,EAAC,GAAG;EACjB,aAAa,EAAC,IAAI;;AAEpB,kBAAkB;EAChB,SAAS,EAAC,IAAI;EACd,MAAM,EAAC,MAAM;;AAEf,kBAAkB;EAChB,SAAS,EAAC,IAAI;;AAEhB,kBAAkB;EAChB,SAAS,EAAC,IAAI;EACd,aAAa,EAAC,IAAI;;AAEpB,mBAAmB;EACjB,SAAS,EAAC,IAAI;EACd,WAAW,EAAC,GAAG;EACf,aAAa,EAAC,IAAI;;AAEpB,yBAAyB;EACvB,SAAS,EAAC,IAAI;;AAGhB,SAAU;EACR,kBAAkB,EAAE,WAAW;EAC/B,eAAe,EAAE,WAAW;EAC5B,UAAU,EAAE,WAAW;;AAGzB,MACA;EACE,MAAM,EAAE,MAAM;EACd,SAAS,EAAE,IAAI;EACf,KAAK,EAAE,OAAO", "sources": ["main.scss"], "names": [], "file": "main.css" diff --git a/frontpage/css/main.scss b/frontpage/css/main.scss index c9f83c7..924b10f 100644 --- a/frontpage/css/main.scss +++ b/frontpage/css/main.scss @@ -81,4 +81,17 @@ body { } .review-block-description{ font-size:13px; +} + +.animated { + -webkit-transition: height 0.2s; + -moz-transition: height 0.2s; + transition: height 0.2s; +} + +.stars +{ + margin: 20px 0; + font-size: 24px; + color: #d17581; } \ No newline at end of file diff --git a/frontpage/index2.html b/frontpage/index2.html index 9c25473..40f34c3 100644 --- a/frontpage/index2.html +++ b/frontpage/index2.html @@ -167,6 +167,38 @@

+ + +
+
+
+
+ + + +
+ +
+
+ + +
diff --git a/frontpage/js/main.js b/frontpage/js/main.js index 5c6ee9c..d6a1702 100644 --- a/frontpage/js/main.js +++ b/frontpage/js/main.js @@ -1,9 +1,41 @@ +(function(e){var t,o={className:"autosizejs",append:"",callback:!1,resizeDelay:10},i='
+
@@ -208,7 +209,6 @@ - diff --git a/frontpage/js/main.js b/frontpage/js/main.js index d6a1702..0a88c97 100644 --- a/frontpage/js/main.js +++ b/frontpage/js/main.js @@ -1,6 +1,6 @@ (function(e){var t,o={className:"autosizejs",append:"",callback:!1,resizeDelay:10},i=' - +

+
+ + +
+
+ + +
diff --git a/frontpage/js/main.js b/frontpage/js/main.js index 0a88c97..dc305f4 100644 --- a/frontpage/js/main.js +++ b/frontpage/js/main.js @@ -55,4 +55,16 @@ $(function(){ }); + var d = new Date(); + + var month = d.getMonth()+1; + var day = d.getDate(); + + var output = + + ((''+day).length<2 ? '0' : '') + day + '/' + + ((''+month).length<2 ? '0' : '') + month + '/' + + d.getFullYear(); + $(".date").append(output); + }); \ No newline at end of file From c2fddf672566a256cb9685c4bcade1d0ceedefd0 Mon Sep 17 00:00:00 2001 From: andrewlalis Date: Thu, 27 Sep 2018 11:32:22 +0200 Subject: [PATCH 6/6] Removed pyc files. --- .../__pycache__/__init__.cpython-36.pyc | Bin 167 -> 0 bytes .../__pycache__/settings.cpython-36.pyc | Bin 2436 -> 0 bytes .../RateMyCourse/__pycache__/urls.cpython-36.pyc | Bin 1085 -> 0 bytes .../RateMyCourse/__pycache__/wsgi.cpython-36.pyc | Bin 580 -> 0 bytes .../postings/__pycache__/__init__.cpython-36.pyc | Bin 163 -> 0 bytes .../postings/__pycache__/admin.cpython-36.pyc | Bin 286 -> 0 bytes backend/postings/__pycache__/apps.cpython-36.pyc | Bin 388 -> 0 bytes .../postings/__pycache__/models.cpython-36.pyc | Bin 2053 -> 0 bytes .../api/__pycache__/__init__.cpython-36.pyc | Bin 167 -> 0 bytes .../api/__pycache__/serializers.cpython-36.pyc | Bin 771 -> 0 bytes .../postings/api/__pycache__/urls.cpython-36.pyc | Bin 397 -> 0 bytes .../api/__pycache__/views.cpython-36.pyc | Bin 1457 -> 0 bytes .../__pycache__/0001_initial.cpython-36.pyc | Bin 792 -> 0 bytes .../0002_auto_20180916_1536.cpython-36.pyc | Bin 623 -> 0 bytes .../0003_universityreview_title.cpython-36.pyc | Bin 668 -> 0 bytes .../__pycache__/__init__.cpython-36.pyc | Bin 174 -> 0 bytes 16 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 backend/RateMyCourse/__pycache__/__init__.cpython-36.pyc delete mode 100644 backend/RateMyCourse/__pycache__/settings.cpython-36.pyc delete mode 100644 backend/RateMyCourse/__pycache__/urls.cpython-36.pyc delete mode 100644 backend/RateMyCourse/__pycache__/wsgi.cpython-36.pyc delete mode 100644 backend/postings/__pycache__/__init__.cpython-36.pyc delete mode 100644 backend/postings/__pycache__/admin.cpython-36.pyc delete mode 100644 backend/postings/__pycache__/apps.cpython-36.pyc delete mode 100644 backend/postings/__pycache__/models.cpython-36.pyc delete mode 100644 backend/postings/api/__pycache__/__init__.cpython-36.pyc delete mode 100644 backend/postings/api/__pycache__/serializers.cpython-36.pyc delete mode 100644 backend/postings/api/__pycache__/urls.cpython-36.pyc delete mode 100644 backend/postings/api/__pycache__/views.cpython-36.pyc delete mode 100644 backend/postings/migrations/__pycache__/0001_initial.cpython-36.pyc delete mode 100644 backend/postings/migrations/__pycache__/0002_auto_20180916_1536.cpython-36.pyc delete mode 100644 backend/postings/migrations/__pycache__/0003_universityreview_title.cpython-36.pyc delete mode 100644 backend/postings/migrations/__pycache__/__init__.cpython-36.pyc diff --git a/backend/RateMyCourse/__pycache__/__init__.cpython-36.pyc b/backend/RateMyCourse/__pycache__/__init__.cpython-36.pyc deleted file mode 100644 index 5322945907daaff65b94a236f6d79a1921052b73..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 167 zcmXr!<>k7XzB-x#2p)q77+?f49Dul(1xTbY1T$zd`mJOr0tq9CUm?y`F`>n&Ma41c zMTyzPG5&d}E=8GTsWC38#n~nK1u@S4E}nkwF+qtXslJuY`K3k0sWC~3$=RuSDX4<+ e@tJvw`IB}bFGMzLE$b<ZI>r?+io_Zv(E#u78Wzk_d_x;W}tM!G2!XNhUKmS=wrT$JOK6AK# zfe-r&38eHCq#-j%>uHkiXZkY1gR$n9*|}=y^M(&%rEYAqRPwg96OMIasjg z^a2#&JY0Z_a0%&UScEIcorkOXIk;x0K!EFT18%}CxNQqG4R<~Wc3NM6&-5btJr8$5 zj3ZwlS@`^Y2EO=^p=tdh+=DMs`ySkn=~pp*K-0FMU!p1fGA!wfu&iG}A6N0YhR=0a z(QiOTO)Wn(AEi^NLZxpywktBiIdyC%_FPYFo18Qb%C7G*B91(_Pb@AK3RU6|4@Dq$ z55xx$8?Kr#q>jkA>G6r?1JP&bN}PCpEUigT(0T(M4_%Ll)WH}-lT+6b@ymB8Mx_Jt zH6}p{JDiW$vr-9Mi%H`chZ$Jzutb~^IxKN_L@ic2%(^so&v%H}^9KWQKp7X^-tnnS z2QUz!p15ZYe8T=uERXaOf&Rh1NHv4U?%vuSU+J!{+rhU7Pe-e3%fBqS51(55bl>Zm z&hE+*f6L$bE(h@U`fK}LOVj5q*JC@x1mZD0KXO?Nd9XM>rewJe_h?s&Aq_51bA7%O z+?rxWCdA?VU_@AOZA!=pV+itT!4L(ejTSejEjX6Nii*MXqDL4vdY(BX`>wYetWI=? z6ktI1O^-;7SiVR3fuv40jU!p`&9v)DGE%}`9rF@a%cp~2)rYPlmE)iPP-R|EDkFJA z$$moheggMo{4$m!q4sntWfKuks>}Ev!KPN+y9vYTvmWA`G;WMBPgp(q#90T_+U=Xx zF3yki<3@yiYZMJiGR=$0@sxaTz=G1m6(_^d04G%Hq7UN0;RH#Qcv!WGnCX||#(BpL zoGlA8Lm+~sX(y+3Bp_Yi4pz>f>5;cMXFPZ~(LHMJ2-Ht_j=&Dqr<9L?{Di@wY*`3% zFXi%UrCHI1O0BJid3kfwhuQ(C?m<_rU`cEboWE(?W`$#)Qa>N(izVb1Kbn3Fe*=n^sv zJ^xZxm8h6uK~>6aMKfM2KZUau<>gj2T#)Pa*0xeHUbR$B4U4s=sv!#**a2!-Xw)i| zy0R^|mGE4<)zXZucD>wcZiI81(%7uanxcjmw$*Aa(y!Oba?~vPm2#`C8m)E>>ubaj zA{q*Pmpb8GMb_jfCpEk-Z)vZLO<7g9TkVSRMy}UTh_-sMt*Dx@(ZaI2`1+Ja2VwsEp$q{ld0CO>mKC(H;LA)85`Tv_4d|4ceNBaC^OLrD>p#+HkP>`b%@f>1=>cxC?ueJMCE diff --git a/backend/RateMyCourse/__pycache__/urls.cpython-36.pyc b/backend/RateMyCourse/__pycache__/urls.cpython-36.pyc deleted file mode 100644 index 0a0e5dae526a6e9bfb48ce7360647ec89593e57b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1085 zcma)5O>fgc5ValWqi$M+#1Gh8YN@rM+@gX&DW#R5MTK61MY{1$9H(BdwYx5~5~rT| zA&B3@#aB-Jg`Svo9Vs9o)sjc+@$8%T-tIiz*zkTPKR$kKS=KLW<>})31-|MK1GB~! zvze3G+!;HzS+}wlcgHSokK4R6?${QznG4RMyXf6G;IcM!*gEU6wQtUilQ`ow=DoN4 zJ}n)~I;9%kUX4U46_B&jH)JI8S(=oR>Qv;O_hAm?yp&l%wFa51bCRV>6Ddj!%4|?X z3v!vlXBChGAqf`}NSe=tYUmx5d2HC-wXH#)1mq=SgytmWg^+qk$V>`O_|=3K zMUz~q-)-t^$tYk&A#O#n^R2;PyU{fl9JWbLIXoMf^}zQ=8C7a$io)0m>i<{>JqKxs z1hr91I){i=v%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ZGCrPRFu$y*!m$hy3Dzod}G|-zo z3H>hMyb`72yc=>}*0L=eA94QNiejVqF1~{aaDES8SJ5%MwaQqQ8L_ZzUa8pRFN(#= zE}B}iXda&@Gj=T+b+L@<)>!pF+3vuE)^?(ohT?E{7waJeq|X!Fepfz;Dyt{1&N!`C W{&rcj0SaAkvi`uSyGTE0M1KJ68(|gz diff --git a/backend/postings/__pycache__/models.cpython-36.pyc b/backend/postings/__pycache__/models.cpython-36.pyc deleted file mode 100644 index ef0a55dc3c90efb1b3fe92c72b65242cd66916f3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2053 zcmah~OK;p%6!v5Mj3+Y*xGtvqU_e^OVUR>3`S67W9hzJ03llyePORCR34I z6q9EeKNRzqd~(Q(i!xtMM$ZnPj-O1(rK77+UWtNFPLs0>p0UX?FUol~Ehcra`^zgq zF;Z#@GVK~lZh^4Q+X*&wfdD{kX0jdtalpGbT7;Y|d}PmDY%%+d5e4A-%waC}Y&X0I ze!zSHxFzjl{&LP=-2yktg~RxHQl;hXFG>~`Uf1uhoZoMwjs0Gp#Yi46`3a;TsmeUg z@>g-f7-V-PkHev`ag}h0xI`4*!PBhdQ{F&si-a%|s9#N5$Y;u>cfwznbw-@C9J{kp z`j2zL=hN(aekGmJ!{?)ihmWEG4y#Itu?3|d`-f1R%rCh*9R+8CL&0JO8ttS>QO4Dh zgj%&pbj=0iWFLgQDM)gS0DspQf~uA7WPO3H?PLLV3sq}GHaG`Ka+~Visloq_r_1vy z{V^~3^ZqMreRpScALAVLS3!kF zaS772qN1`mz@q?IMa6WKjv@UQ8LD3t0DByoZ@ahdn>%oRf}8f}HdXPuAh~6Z^ar%z zJ&=_-fQGiep{6%r*p%K6B0uLvk&Ekh)^Oc*#(vuwx>pX4lI-dvCt8E!SL*;e@%a>| zD4VMWCAsD9xzXa};Nj067ae~U; zM79UtB7eDptmq8&Gi(a+Y)XMNtzbRpWO(C&e^8>uDx2bRUmepxGFJ_#L!+uxB)gXxm8!XgUK)Mx% zI8AqPkM4b!2-TbPXkyf*p$x=p1A^M56S&W@@D-kVLg+#B_jN%lu-)E=w y%(IT@bEl@gnj)&{R4WK7FhRhp!(H~I`*r>O`bHk7XzB-x#2p)q77+?f49Dul(1xTbY1T$zd`mJOr0tq9CUm?y`F`>n&Ma41c zMTyzPG5&d}E=8GTsWC38#n~nK1u@S4E}nkwF+qtXslJuY`K3k0sWC~3$=RuSDKQ24 q#U+_}>BTXL1(`AN@tJvYx15VgIZlzddcsTZ#7B^Pc8p-PEVaY!n)s*skIEH|E}CeH3+@3u;><R;f*c%w7{fmbsck3H|ry!G3D|KR8KkI$MC@<8@hi19I+9ifv%QcYGgr_{$x zvsI7>l$;P5$nYDHACr!7-XWLI)(LlH?2-sAR~%?pYql0MSEt^f%7=6U`rp$rka=9wG#J=rMigGLo@O z776xE7c`G$iulj&UjH9|G=)YuRxjPKeHwf%l)T-F~funluLO*_tJl2z?G-QnKzBn+iFg?pc)APOby&HJv)4TpQ z(MzB6&n!Z-3|&gQ{Va>!z<_P|l|cn=E3-8I*bTR>jXE*xMw#K%E35^a P@CSVC#Cqx;?FGL9h-k~$ diff --git a/backend/postings/api/__pycache__/urls.cpython-36.pyc b/backend/postings/api/__pycache__/urls.cpython-36.pyc deleted file mode 100644 index eb6b6972e73f80b9916a1038b345517ed4fc382c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 397 zcmYjNyH3L}6t$hCDGf#ahz>-EGO(elfEualKwA}+Ay}<$P^_t@v?+1N!gOA4_gwU6&ztd2!8&%R%z!AqWO0bU;;uDNG;YMsE zrf*^dCN}|ZtXIS>-gq+Eu*zBST%9aWuV?){8c=@bUUaKwp2^}|lw6t2lqFD+Ww&w;>RJFRVB*@f zr9-43YM3w-)DGXUG{}0Th^4T!Vl%nYuG&$WiYh>)@*N3B_h|T@4X@}zf{-*2ERuAZ zf+xZ)P!D8OWH}v9z42s3=PLAWH_S>Qfj+Ty1SzNbLtz?7%JPuv)Ly=;oBbr?Wefwo N5UDra!N+z7{{j(pay$S4 diff --git a/backend/postings/api/__pycache__/views.cpython-36.pyc b/backend/postings/api/__pycache__/views.cpython-36.pyc deleted file mode 100644 index 595466e4a78e632c16c8d6d025bf2ef078b64d68..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1457 zcmZ`(&u`l{6y~F3N&b=4O;-%qy2F57e92|EVJNyfMNnXI)^yo{6QC&~ZAg|ShoqCb za8K?v{S$g0_V?_<>rVX_cG`Q2-MPUgflt)qBl+IbRd0N`nho?u+N5}D5YSqbdSTD3u@kN?VRVCwj zZERjmOq|a1nD8)%^QG%elua%dN-vGFT}q8AX7KteMCp@a4tFC*gV04uQl&GMB(9Sr zvsx}n>h}^{E-g1By|S*Si+M86RVj6VE4w}xuz@?t%G4Nr58X|HJ7%AJ5t8>;*w3<`tb^iz=rt8Z=m^lH}I6Lp@`ND=KyZ%j~rYMK=f^H38*})E1Nb_6$jK; zmEHBW8$DLtn-ea{p>ts!v*8Kv`TBj$VDXCzA8rN#5y^AXW zejl45lo@nj9|+wD4)_l58)!b^J!{l~lSr%t(&qt%v9%zaf#`YAfn!@{R`kZeJtP$ylSluWLQkl!~T$#l7u0Iz-8< z(%c@~?!Tfo8=1=@ttR!Myx0a3OXAU)vN~5+>U=H{7Cg9C*UPO6DHqWnHi(_j@+Wkg kiSCa`?KXx|+$pB1jVf}{_qT`eG2JrF4bz7nz1~6a5A*0^9{>OV diff --git a/backend/postings/migrations/__pycache__/0001_initial.cpython-36.pyc b/backend/postings/migrations/__pycache__/0001_initial.cpython-36.pyc deleted file mode 100644 index ee47a9567615cb03540b5805920400f8252756e6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 792 zcmY*X&2H2%5VoD{PqMqEAdVn$LfT7J#0{aUXjiRzXe*WW5+YgIooVXb#0hp%*k0k< z2SL0DFTllD#G$XiiAlDlC6-6?c|4PEzVYkPDEygz|L|Kd_KQ9EeDZf`+m~d30nb>@ zBc6*$aJJ7tfcKSwhkW6E@gfiW_iWs`p}TA>T$roWB$X<(b=|xG%ad z23f>`MFM!_r7ZHXv*fF7L%(1+lf6AJ%B141DTVbsPp9>&rR zJh~Psj|Q+wG#|U*@Q&Z9+dR|i5{*^W>I5$pesV&=o)ZVtvG0aST@`X}FsTsSpfoB^ z%t|hCCVoVNvQN$EaUx)p|ESsJk&IHImOVL!DL^QBYG_8+98%MP*sf zGG#9iu3G%!A0BfvpnTVx7rH`Sk*t1G-*wLwW?+xTL)VvWDJfkjCFxveNd8dDk9CqY zmkIThRuvI-L%pq?wVhUU%OVA6JW*i6WH%}MZ%8s2Mu;DX6TV%F|xN>oo(j%yee zCEkwr8#B)+uQh+<XQ!_}myjm3DD z%$GzfE(=>Jo!a>R?Zn&L+ppv;|E+Rmnn&5CZJ&_o3t#xY&xLr(H`>+4k7#TGEE1g- fTQF<;Y+GxC_hi@JbE@O|Z`ac8Gz!>8m`(35!-M2w diff --git a/backend/postings/migrations/__pycache__/0002_auto_20180916_1536.cpython-36.pyc b/backend/postings/migrations/__pycache__/0002_auto_20180916_1536.cpython-36.pyc deleted file mode 100644 index d8befd8c88f59dac72879378445ad6a20afa4092..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 623 zcmYjO&2AGh5cd8g-E32VfG6O9w3lj=iV6@yl@d{LXet$PSu9!G%xL9g<6Z3CRyns< z9t80`TzuukD{x}Gn<&`w_?sE~8_(ynlau&Y@$>5|pRwQUzY!9?pk-c?0R~>lHeTj= z?2>^G!6SnJy_NqEWIlwSSu*%T=UC#|cq0p)H?mS@=|cN4Byd5?Ovxb2JYaM+F1#$j za5aDcLKwjC``$Z($a#gI4PitDj_v4b&upW*GL2M)vEwvNCqgRO$h^#+wo2ZiHnQ1j zypwouBZ>%>Z_qwDYpWKbU^**q!;in!V#+ zsIK88>DusXg>y{}@;RDyQ`LNSJ^!@0bXU#_Vb-%G>~AHqqjsmR-= z64P|@CVe|O7n9d#=cn~n2UO7gk$FZY3Wj0m`80=qzjyfsX*PmYu8QguZo5Xh_~FSt TdO;L6df%(@!7&@x^f>qj?kcPb diff --git a/backend/postings/migrations/__pycache__/0003_universityreview_title.cpython-36.pyc b/backend/postings/migrations/__pycache__/0003_universityreview_title.cpython-36.pyc deleted file mode 100644 index 7295b5f036dc6bc79b51ed728f9e561ec2ef3cb3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 668 zcmZ8f&2G~`5MKW~CY5pnUH~bV%4tLe2vtRiT5)J9fw&k;t8HfLI`JR7c4*FU?Smj* zgcs;#ublb{oS1bR6|vTSn$dW^neVfwdwbDs_Ve?t#n^B5&v7X}rmJ2M00XOFrIlEv zo!AyTWnhEzoq>ba%K7Fb4!9rL*t?^5+1S=mnP*b8d0i>(mo;FamZr2j0R_i&RZM^^ zv4ABuJjtxYL3iZ=(V@QzzylwG8yi9x+_+Q?A)+xuJviI(>#(U+n^&3APvbZ~;G%15 zeh^Py#jhuaeDZR7s7GCuZ&0ed-Adf#_*Hvt-WI3>ycT6s;N34;gVqiJFGW|hw7!@zbbQyfYk7XzB-x#2p)q77+?f49Dul(1xTbY1T$zd`mJOr0tq9CU(wE1F`>n&Ma41c zMTyzPG5&d}E=8GTsWC38#n~nK1u@S4E}nkwF+qtXslJuY`K3k0sWC~3$=RuSDKQ24 w#U+_}>BTX*nLynonfZCeG4b)4d6^~g@p=W7w>WHa^HWN5Qtd#N76UN@0QprgfB*mh