From 474f256c2beaf5279933acad765e85206240c19b Mon Sep 17 00:00:00 2001 From: Gyanendra Prakash Date: Sun, 16 May 2021 22:35:41 +0530 Subject: [PATCH] why@IITG, side-bar models --- CCD/__pycache__/__init__.cpython-39.pyc | Bin 0 -> 145 bytes CCD/__pycache__/settings.cpython-39.pyc | Bin 0 -> 2871 bytes CCD/__pycache__/urls.cpython-39.pyc | Bin 0 -> 589 bytes CCD/settings.py | 2 + Pipfile | 2 +- Pipfile.lock | 39 ++++++-------- sidebar/__init__.py | 0 sidebar/__pycache__/__init__.cpython-39.pyc | Bin 0 -> 149 bytes sidebar/__pycache__/admin.cpython-39.pyc | Bin 0 -> 190 bytes sidebar/__pycache__/apps.cpython-39.pyc | Bin 0 -> 428 bytes sidebar/__pycache__/models.cpython-39.pyc | Bin 0 -> 620 bytes sidebar/admin.py | 3 ++ sidebar/apps.py | 6 +++ sidebar/models.py | 11 ++++ sidebar/t.cpp | 0 sidebar/tests.py | 3 ++ sidebar/views.py | 3 ++ why_recruit_at_IITG/__init__.py | 0 why_recruit_at_IITG/admin.py | 3 ++ why_recruit_at_IITG/apps.py | 6 +++ why_recruit_at_IITG/models.py | 57 ++++++++++++++++++++ why_recruit_at_IITG/tests.py | 3 ++ why_recruit_at_IITG/views.py | 3 ++ 23 files changed, 116 insertions(+), 25 deletions(-) create mode 100644 CCD/__pycache__/__init__.cpython-39.pyc create mode 100644 CCD/__pycache__/settings.cpython-39.pyc create mode 100644 CCD/__pycache__/urls.cpython-39.pyc create mode 100644 sidebar/__init__.py create mode 100644 sidebar/__pycache__/__init__.cpython-39.pyc create mode 100644 sidebar/__pycache__/admin.cpython-39.pyc create mode 100644 sidebar/__pycache__/apps.cpython-39.pyc create mode 100644 sidebar/__pycache__/models.cpython-39.pyc create mode 100644 sidebar/admin.py create mode 100644 sidebar/apps.py create mode 100644 sidebar/models.py create mode 100644 sidebar/t.cpp create mode 100644 sidebar/tests.py create mode 100644 sidebar/views.py create mode 100644 why_recruit_at_IITG/__init__.py create mode 100644 why_recruit_at_IITG/admin.py create mode 100644 why_recruit_at_IITG/apps.py create mode 100644 why_recruit_at_IITG/models.py create mode 100644 why_recruit_at_IITG/tests.py create mode 100644 why_recruit_at_IITG/views.py diff --git a/CCD/__pycache__/__init__.cpython-39.pyc b/CCD/__pycache__/__init__.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c0be171ef86340e70cb9d71ad6cfce8fab6ac8bd GIT binary patch literal 145 zcmYe~<>g`kf^X~k6F~H15P=LBfgA@QE@lA|DGb33nv8xc8Hzx{2;!HSvsFxJacWU< zjC*BbUTR)SQDTfsYH@Z+enCudxHAaHJ3G6?fN*?#W?p7Ve7s&kBh^U?)={d)LmUI#nw* zjc$2>zCbUacf14-!KH4w;sM}-0m?7gZai)~6wABX{r5lYe*1sBvKAMsIru&K`N?0IvDv@`uHL+1_@_6t-vhjKWN3wGWqph7-J3S{p4{14oZxr5?C5tZ;9Dq{{+hBUXo%1Ose}~=(Ah(I`;ZZ7)6-G?|V+2xOH$>4?UmuS$#6q`pA8_PxwJ( z+q_L#$a{n1rC2V8K!gVTBg>8m`#-S)GMEbV8>B$4mQT3074FBIV+^RvNIwe5x?S6N zcz+`z@wN3EHojrrIK1g&`|&3?uY9l(xf^CJ@;_p|0mhfy!(Od-<;(j8IPlAo+rU z$$Z#)s~_1`fXa+w(zAkEIbI*zITT}?99jVpG6ZONBQvG~pE*8K#Jr5E3fGF)}DLQ31yNC&h)5eVv zuv1o_yKwWB8$vE4SaR=L$S)K*iES5vSK*^mmB?*qEo z)+J?323BN;FR~o>j0ZxaJCTZAV@GKkswAcanYfM1>3uG?RaAI%J-(QBU>hEh zfQL2m>6Ob{`^3Tm{AzQkXsCv!B;|WbM+YxxURHFeqh_3I*3Kto(*zsSOv*l7hBoa5 z1t3gPG0pS>N#y{QXFnoI$%h-l4N+xNgoOilld7&r9mO#3D&HnWS=sDvCySz{wRQob zotAFs$w{@T8z2G!5MEEJ4ONykWmoJd$wH^qGExAgR&y&kVJMBZCK`a-(yqR(ruy1= z>B$LMG{iKlo}5cj0i<<(x7Cr&d!nYoU<;0vMNMpOcg1bRlv=U^4pa0|3l4%xx>M@) zo6S*6yZ%WtDWx(4!5R#JS4!uREKecdf=yO58J+AXI_y{njuHrX7p>}TMKVOGtBD;` zR}4dKZtFkgg3EwfR{i;zbZaj?M%do=k>$b}A6R=bVGrPYXHVai(qh7{?WJY%@gw+0 zN#zURU1XEn@Ew<9J*c>ag}J3NH^&vYVr9Nk<+wr~oWohQBm zJ96Oz`O1ka2M$O`JZBZFrT6#${cOKyTaHF4!SVb1mv?1A$Pb_Fj~J8Z81^%YB8pZ- zQ$eZsK^5pwguM?drXvw)F1U_GjEso{LKQ*ub#P4-SMgPdc>?izfZ5=Rs&vPO!2h#s z$3{Tc>3Vn>ESbpE!JLfm{KOlOF?Eqtx~$Q#R(7j#=iCWEEozAiiM`o7MUrexwdiTOqmMS_mK)z= zDx!Yg^8Sj`v++nAsI{z@&7^4R&Xn&Bell^x9mHDJgh<4FWj-wI?K>u)@DPBrUct){;eTb6Lj2>|o-VFj8(3A#$S#;~NU;hB* CRj1_u literal 0 HcmV?d00001 diff --git a/CCD/settings.py b/CCD/settings.py index 07f33cc..c48c6c1 100644 --- a/CCD/settings.py +++ b/CCD/settings.py @@ -38,6 +38,8 @@ 'django.contrib.messages', 'django.contrib.staticfiles', 'drf_spectacular', + 'sidebar', + 'why_recruit_at_IITG', ] MIDDLEWARE = [ diff --git a/Pipfile b/Pipfile index 9bafed2..51eadd2 100644 --- a/Pipfile +++ b/Pipfile @@ -12,4 +12,4 @@ loguru = "*" [dev-packages] [requires] -python_version = "3.7" +python_version = "3.9.4" diff --git a/Pipfile.lock b/Pipfile.lock index cbc874d..dcecc41 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,11 +1,11 @@ { "_meta": { "hash": { - "sha256": "cb4748f53f13126025f525ccb801bb027d7cf8f6dc009daa129cbad67f44925c" + "sha256": "b019ef52485a3628d597f13b2e1508042b06ebc2a516c7e74d313cddd70e5339" }, "pipfile-spec": 6, "requires": { - "python_version": "3.7" + "python_version": "3.9.4" }, "sources": [ { @@ -32,6 +32,14 @@ "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==20.3.0" }, + "colorama": { + "hashes": [ + "sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b", + "sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2" + ], + "markers": "sys_platform == 'win32'", + "version": "==0.4.4" + }, "django": { "hashes": [ "sha256:0604e84c4fb698a5e53e5857b5aea945b2f19a18f25f10b8748dbdf935788927", @@ -56,14 +64,6 @@ "index": "pypi", "version": "==0.15.1" }, - "importlib-metadata": { - "hashes": [ - "sha256:8c501196e49fb9df5df43833bdb1e4328f64847763ec8a50703148b73784d581", - "sha256:d7eb1dea6d6a6086f8be21784cc9e3bcfa55872b52309bc5fad53a8ea444465d" - ], - "markers": "python_version < '3.8'", - "version": "==4.0.1" - }, "inflection": { "hashes": [ "sha256:1a29730d366e996aaacffb2f1f1cb9593dc38e2ddd30c91250c6dde09ea9b417", @@ -152,15 +152,6 @@ "markers": "python_version >= '3.5'", "version": "==0.4.1" }, - "typing-extensions": { - "hashes": [ - "sha256:7cb407020f00f7bfc3cb3e7881628838e69d8f3fcab2f64742a5e76b2f841918", - "sha256:99d4073b617d30288f569d3f13d2bd7548c3a7e4c8de87db09a9d29bb3a4a60c", - "sha256:dafc7639cde7f1b6e1acc0f457842a83e722ccca8eef5270af2d74792619a89f" - ], - "markers": "python_version < '3.8'", - "version": "==3.7.4.3" - }, "uritemplate": { "hashes": [ "sha256:07620c3f3f8eed1f12600845892b0e036a2420acf513c53f7de0abd911a5894f", @@ -169,13 +160,13 @@ "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==3.0.1" }, - "zipp": { + "win32-setctime": { "hashes": [ - "sha256:3607921face881ba3e026887d8150cca609d517579abe052ac81fc5aeffdbd76", - "sha256:51cb66cc54621609dd593d1787f286ee42a5c0adbb4b29abea5a63edc3e03098" + "sha256:4e88556c32fdf47f64165a2180ba4552f8bb32c1103a2fafd05723a0bd42bd4b", + "sha256:dc925662de0a6eb987f0b01f599c01a8236cb8c62831c22d9cada09ad958243e" ], - "markers": "python_version >= '3.6'", - "version": "==3.4.1" + "markers": "sys_platform == 'win32'", + "version": "==1.0.3" } }, "develop": {} diff --git a/sidebar/__init__.py b/sidebar/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/sidebar/__pycache__/__init__.cpython-39.pyc b/sidebar/__pycache__/__init__.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a16958b6b62a84f51427181c9cd8db29801b8398 GIT binary patch literal 149 zcmYe~<>g`k0`-0U2_X70h(HF6K#l_t7qb9~6oz01O-8?!3`HPe1o6wt*(xTqIJKxa z#=SBzFEuZvC^5z*wK%&ZzaSg`k0`-0U2~I%zF^Gc(44TX@fuanW zjJH@5Q*tx&{4|-O_)@YG^V0M6lJoOQiZYXmKnAR2C}IXuVB(j#vsFxJacWURJ;6^RXH$;f~ZYDq=6E)hbCA{m!+qCozLo1v_*v+@eO1P|hs ziC19au8BlXy3hCX`8)g6bUI>aXJ7C4A9#LKvTrUXGjwx`01SA}3LbIJmJA#aZw!Ry zuOf254VgFiK^F74J)GBdP?brRK2T-fI3_c6bBv%_#DU>$9tm(F7X+%fb{b}&*Q)6x zUQXaqm1*U}+Ak{5x$&>Fblz^Nn@s0m4@}2ic>_C?vQ&kZ(vGA=a+^~;k@C4!dEYq# zov1e7NQDwI*=e}c`(zDmV+X(I!9{#)bYtS>R+YMhM#T$lo;Fn-hj#(F41z`6506z{ v8^7K*0u^X$hG58DzN@S}VaNS9h}k$ah`9eFyJ(CxJG|`Pens0d#GQygzG`X6 literal 0 HcmV?d00001 diff --git a/sidebar/__pycache__/models.cpython-39.pyc b/sidebar/__pycache__/models.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..491e3f55e1fda834bb773dac215fe3081d0ad0e6 GIT binary patch literal 620 zcmb_ZyG{Z@6rI@zECk}?8*E4nm4z{CFiWIC5+%fBv&lGcC$O*&oPj8{w#M(^C;X6U zt>~?+yt8YR!qS`ElY7t1+{YPSuU84$+1u;g1tsL&B-`d-(n4292ta_wB%uMNq(i_0 z`HciUS>_?4qndT^VmNL2TDj4 zc2+zUDM%i+g_}zCI20U7$IrA^F)Z5uZ8fP4G zWu$2!T?1u=p7c!kvqBN=8g37vg8n;_VR|TZ1*SY5XH6IuLb+Gw6Z47lSAUh$-f5xr MIetS?vu5wRU-AHj)c^nh literal 0 HcmV?d00001 diff --git a/sidebar/admin.py b/sidebar/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/sidebar/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/sidebar/apps.py b/sidebar/apps.py new file mode 100644 index 0000000..fc4d0d3 --- /dev/null +++ b/sidebar/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class SidebarConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'sidebar' diff --git a/sidebar/models.py b/sidebar/models.py new file mode 100644 index 0000000..9f229ba --- /dev/null +++ b/sidebar/models.py @@ -0,0 +1,11 @@ +from django.db import models + +# Create your models here. +class QuickLinks(models.Model): + name = models.CharField(max_length=300) + link_name = models.URLField(max_length=500) + + +class DownloadLinks(models.Model): + name = models.CharField(max_length=300) + link_name = models.URLField(max_length=500) diff --git a/sidebar/t.cpp b/sidebar/t.cpp new file mode 100644 index 0000000..e69de29 diff --git a/sidebar/tests.py b/sidebar/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/sidebar/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/sidebar/views.py b/sidebar/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/sidebar/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/why_recruit_at_IITG/__init__.py b/why_recruit_at_IITG/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/why_recruit_at_IITG/admin.py b/why_recruit_at_IITG/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/why_recruit_at_IITG/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/why_recruit_at_IITG/apps.py b/why_recruit_at_IITG/apps.py new file mode 100644 index 0000000..9f9dad0 --- /dev/null +++ b/why_recruit_at_IITG/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class WhyRecruitAtIitgConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'why_recruit_at_IITG' diff --git a/why_recruit_at_IITG/models.py b/why_recruit_at_IITG/models.py new file mode 100644 index 0000000..ed0fa22 --- /dev/null +++ b/why_recruit_at_IITG/models.py @@ -0,0 +1,57 @@ +from django.db import models + +# Create your models here. +#About IITG .............................. + +class About_IITG(models.Model): + intro_text = models.CharField(max_length=1500) + About_IITG_photo = models.ImageField(upload_to='img') + +#Academics ............................... + +class academicsintro(models.Model): + intro_text = models.CharField(max_length=1500) + +class UG_programme(models.Model): + name_of_programme = models.CharField(max_length=200) + points_text = models.CharField(max_length=800) + +class PG_programme(models.Model): + name_of_programme = models.CharField(max_length=200) + points_text = models.CharField(max_length=800) + + +#Graduating Students ......................... + +class UG_data(models.Model): + title = models.CharField(max_length=200) + data_photo1 = models.ImageField(upload_to='img',blank=True, null=True) + data_photo_2 = models.ImageField(upload_to='img',blank=True, null=True) + +class PG_data(models.Model): + title = models.CharField(max_length=200) + data_photo_1 = models.ImageField(upload_to='img',blank=True, null=True) + data_photo_2 = models.ImageField(upload_to='img',blank=True, null=True) + +#Research and Development ...................... + +class R_and_D(models.Model): + title = models.CharField(max_length=200) + points_text = models.CharField(max_length=2800) + +#Achievements .................................... + +class Achievements(models.Model): + title = models.CharField(max_length=200) + points_text = models.CharField(max_length=5800) + + + + + + + + + + + diff --git a/why_recruit_at_IITG/tests.py b/why_recruit_at_IITG/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/why_recruit_at_IITG/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/why_recruit_at_IITG/views.py b/why_recruit_at_IITG/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/why_recruit_at_IITG/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here.