diff --git a/CCD/__pycache__/__init__.cpython-39.pyc b/CCD/__pycache__/__init__.cpython-39.pyc new file mode 100644 index 0000000..c0be171 Binary files /dev/null and b/CCD/__pycache__/__init__.cpython-39.pyc differ diff --git a/CCD/__pycache__/settings.cpython-39.pyc b/CCD/__pycache__/settings.cpython-39.pyc new file mode 100644 index 0000000..7dbbc01 Binary files /dev/null and b/CCD/__pycache__/settings.cpython-39.pyc differ diff --git a/CCD/__pycache__/urls.cpython-39.pyc b/CCD/__pycache__/urls.cpython-39.pyc new file mode 100644 index 0000000..88fbcca Binary files /dev/null and b/CCD/__pycache__/urls.cpython-39.pyc differ 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 0000000..a16958b Binary files /dev/null and b/sidebar/__pycache__/__init__.cpython-39.pyc differ diff --git a/sidebar/__pycache__/admin.cpython-39.pyc b/sidebar/__pycache__/admin.cpython-39.pyc new file mode 100644 index 0000000..c7c1c36 Binary files /dev/null and b/sidebar/__pycache__/admin.cpython-39.pyc differ diff --git a/sidebar/__pycache__/apps.cpython-39.pyc b/sidebar/__pycache__/apps.cpython-39.pyc new file mode 100644 index 0000000..96b9be1 Binary files /dev/null and b/sidebar/__pycache__/apps.cpython-39.pyc differ diff --git a/sidebar/__pycache__/models.cpython-39.pyc b/sidebar/__pycache__/models.cpython-39.pyc new file mode 100644 index 0000000..491e3f5 Binary files /dev/null and b/sidebar/__pycache__/models.cpython-39.pyc differ 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.