Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added CCD/__pycache__/__init__.cpython-39.pyc
Binary file not shown.
Binary file added CCD/__pycache__/settings.cpython-39.pyc
Binary file not shown.
Binary file added CCD/__pycache__/urls.cpython-39.pyc
Binary file not shown.
2 changes: 2 additions & 0 deletions CCD/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
'django.contrib.messages',
'django.contrib.staticfiles',
'drf_spectacular',
'sidebar',
'why_recruit_at_IITG',
]

MIDDLEWARE = [
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ loguru = "*"
[dev-packages]

[requires]
python_version = "3.7"
python_version = "3.9.4"
39 changes: 15 additions & 24 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file added sidebar/__init__.py
Empty file.
Binary file added sidebar/__pycache__/__init__.cpython-39.pyc
Binary file not shown.
Binary file added sidebar/__pycache__/admin.cpython-39.pyc
Binary file not shown.
Binary file added sidebar/__pycache__/apps.cpython-39.pyc
Binary file not shown.
Binary file added sidebar/__pycache__/models.cpython-39.pyc
Binary file not shown.
3 changes: 3 additions & 0 deletions sidebar/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.contrib import admin

# Register your models here.
6 changes: 6 additions & 0 deletions sidebar/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.apps import AppConfig


class SidebarConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'sidebar'
11 changes: 11 additions & 0 deletions sidebar/models.py
Original file line number Diff line number Diff line change
@@ -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)
Empty file added sidebar/t.cpp
Empty file.
3 changes: 3 additions & 0 deletions sidebar/tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.test import TestCase

# Create your tests here.
3 changes: 3 additions & 0 deletions sidebar/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.shortcuts import render

# Create your views here.
Empty file added why_recruit_at_IITG/__init__.py
Empty file.
3 changes: 3 additions & 0 deletions why_recruit_at_IITG/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.contrib import admin

# Register your models here.
6 changes: 6 additions & 0 deletions why_recruit_at_IITG/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.apps import AppConfig


class WhyRecruitAtIitgConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'why_recruit_at_IITG'
57 changes: 57 additions & 0 deletions why_recruit_at_IITG/models.py
Original file line number Diff line number Diff line change
@@ -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)











3 changes: 3 additions & 0 deletions why_recruit_at_IITG/tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.test import TestCase

# Create your tests here.
3 changes: 3 additions & 0 deletions why_recruit_at_IITG/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.shortcuts import render

# Create your views here.