-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from rohin079/main
Showing
1,600 changed files
with
249,081 additions
and
56 deletions.
There are no files selected for viewing
Binary file removed
BIN
-2.52 KB
django-boilerplate/TechConnect/TechConnect/__pycache__/settings.cpython-310.pyc
Binary file not shown.
Binary file removed
BIN
-1.48 KB
django-boilerplate/TechConnect/TechConnect/__pycache__/urls.cpython-310.pyc
Binary file not shown.
Binary file removed
BIN
-1.1 KB
django-boilerplate/TechConnect/TechConnect/__pycache__/views.cpython-310.pyc
Binary file not shown.
Binary file removed
BIN
-31.3 KB
django-boilerplate/TechConnect/TechConnect/static_collected/favicon.ico
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-690 Bytes
django-boilerplate/TechConnect/blog_form/__pycache__/views.cpython-310.pyc
Binary file not shown.
25 changes: 0 additions & 25 deletions
25
django-boilerplate/TechConnect/blog_form/migrations/0001_initial.py
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-868 Bytes
django-boilerplate/TechConnect/blog_form/migrations/__pycache__/0001_initial.cpython-310.pyc
Binary file not shown.
Binary file removed
BIN
-1.27 KB
django-boilerplate/TechConnect/blog_form/migrations/__pycache__/0001_initial.cpython-311.pyc
Binary file not shown.
Binary file removed
BIN
-226 Bytes
django-boilerplate/TechConnect/blog_form/migrations/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file removed
BIN
-224 Bytes
django-boilerplate/TechConnect/blog_form/migrations/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file renamed
BIN
+1.05 KB
...ache__/context_processors.cpython-310.pyc → ...ache__/context_processors.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+850 Bytes
django-boilerplate/TechConnectProject/TechConnect/__pycache__/models.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+2.65 KB
django-boilerplate/TechConnectProject/TechConnect/__pycache__/settings.cpython-310.pyc
Binary file not shown.
File renamed without changes.
Binary file added
BIN
+1.74 KB
django-boilerplate/TechConnectProject/TechConnect/__pycache__/urls.cpython-310.pyc
Binary file not shown.
File renamed without changes.
Binary file added
BIN
+2.31 KB
django-boilerplate/TechConnectProject/TechConnect/__pycache__/views.cpython-310.pyc
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added
BIN
+1.67 KB
django-boilerplate/TechConnectProject/TechConnect/forms/__pycache__/forms.cpython-310.pyc
Binary file not shown.
28 changes: 28 additions & 0 deletions
28
django-boilerplate/TechConnectProject/TechConnect/forms/forms.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
# TechConnect/forms/forms.py | ||
|
||
from django import forms | ||
from ..models.models import Chapter | ||
from ..models.models import Opportunity | ||
from ..models.models import BlogSubmission | ||
from ..models.models import BlogPublication | ||
|
||
class ChapterForm(forms.ModelForm): | ||
class Meta: | ||
model = Chapter | ||
fields = ['name_of_chapter', 'event_name', 'event_location', 'event_date', 'event_poster', 'event_description'] | ||
|
||
class OpportunityForm(forms.ModelForm): | ||
class Meta: | ||
model = Opportunity | ||
fields = ['title', 'key_details', 'description'] | ||
|
||
class BlogSubmissionForm(forms.ModelForm): | ||
class Meta: | ||
model = BlogSubmission | ||
fields = ['name', 'year_of_education', 'blog_title', 'blog_material'] | ||
|
||
class BlogPublicationForm(forms.ModelForm): | ||
class Meta: | ||
model = BlogPublication | ||
fields = ['name', 'year_of_education', 'blog_title', 'blog_material'] |
42 changes: 42 additions & 0 deletions
42
django-boilerplate/TechConnectProject/TechConnect/migrations/0001_initial.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Generated by Django 4.1.10 on 2023-07-23 19:41 | ||
|
||
from django.db import migrations, models | ||
import uuid | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
initial = True | ||
|
||
dependencies = [ | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='Chapter', | ||
fields=[ | ||
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)), | ||
('name_of_chapter', models.CharField(max_length=100)), | ||
('event_name', models.CharField(max_length=100)), | ||
('event_location', models.CharField(max_length=100)), | ||
('event_date', models.DateField()), | ||
('event_poster', models.CharField(max_length=255)), | ||
('event_description', models.TextField()), | ||
], | ||
options={ | ||
'db_table': 'createChapter', | ||
}, | ||
), | ||
migrations.CreateModel( | ||
name='Opportunity', | ||
fields=[ | ||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('title', models.CharField(max_length=100)), | ||
('key_details', models.CharField(max_length=200)), | ||
('description', models.TextField()), | ||
], | ||
options={ | ||
'db_table': 'opportunity', | ||
}, | ||
), | ||
] |
17 changes: 17 additions & 0 deletions
17
django-boilerplate/TechConnectProject/TechConnect/migrations/0002_alter_opportunity_table.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Generated by Django 4.1.10 on 2023-07-23 19:48 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('TechConnect', '0001_initial'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelTable( | ||
name='opportunity', | ||
table=None, | ||
), | ||
] |
17 changes: 17 additions & 0 deletions
17
django-boilerplate/TechConnectProject/TechConnect/migrations/0003_alter_opportunity_table.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Generated by Django 4.1.10 on 2023-07-23 20:07 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('TechConnect', '0002_alter_opportunity_table'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelTable( | ||
name='opportunity', | ||
table='opportunity', | ||
), | ||
] |
26 changes: 26 additions & 0 deletions
26
django-boilerplate/TechConnectProject/TechConnect/migrations/0004_blogsubmission.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Generated by Django 4.1.10 on 2023-07-23 20:14 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('TechConnect', '0003_alter_opportunity_table'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='BlogSubmission', | ||
fields=[ | ||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('name', models.CharField(max_length=100)), | ||
('year_of_education', models.CharField(max_length=50)), | ||
('blog_title', models.CharField(max_length=200)), | ||
('blog_material', models.TextField()), | ||
], | ||
options={ | ||
'db_table': 'submitBlog', | ||
}, | ||
), | ||
] |
26 changes: 26 additions & 0 deletions
26
django-boilerplate/TechConnectProject/TechConnect/migrations/0005_blogpublication.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Generated by Django 4.1.10 on 2023-07-23 20:21 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('TechConnect', '0004_blogsubmission'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='BlogPublication', | ||
fields=[ | ||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('name', models.CharField(max_length=100)), | ||
('year_of_education', models.CharField(max_length=50)), | ||
('blog_title', models.CharField(max_length=200)), | ||
('blog_material', models.TextField()), | ||
], | ||
options={ | ||
'db_table': 'publishBlog', | ||
}, | ||
), | ||
] |
File renamed without changes.
Binary file added
BIN
+1.16 KB
...rplate/TechConnectProject/TechConnect/migrations/__pycache__/0001_initial.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+600 Bytes
...ctProject/TechConnect/migrations/__pycache__/0002_alter_opportunity_table.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+616 Bytes
...ctProject/TechConnect/migrations/__pycache__/0003_alter_opportunity_table.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+932 Bytes
...TechConnectProject/TechConnect/migrations/__pycache__/0004_blogsubmission.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+926 Bytes
...echConnectProject/TechConnect/migrations/__pycache__/0005_blogpublication.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+235 Bytes
...oilerplate/TechConnectProject/TechConnect/migrations/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file added
BIN
+2.36 KB
django-boilerplate/TechConnectProject/TechConnect/models/__pycache__/models.cpython-310.pyc
Binary file not shown.
54 changes: 54 additions & 0 deletions
54
django-boilerplate/TechConnectProject/TechConnect/models/models.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
from django.db import models | ||
import uuid | ||
|
||
class Chapter(models.Model): | ||
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) | ||
name_of_chapter = models.CharField(max_length=100) | ||
event_name = models.CharField(max_length=100) | ||
event_location = models.CharField(max_length=100) | ||
event_date = models.DateField() | ||
event_poster = models.CharField(max_length=255) | ||
event_description = models.TextField() | ||
|
||
def __str__(self): | ||
return self.name_of_chapter | ||
|
||
class Meta: | ||
db_table = 'createChapter' | ||
|
||
class Opportunity(models.Model): | ||
title = models.CharField(max_length=100) | ||
key_details = models.CharField(max_length=200) | ||
description = models.TextField() | ||
|
||
def __str__(self): | ||
return self.title | ||
|
||
class Meta: | ||
db_table = 'opportunity' | ||
|
||
|
||
class BlogSubmission(models.Model): | ||
name = models.CharField(max_length=100) | ||
year_of_education = models.CharField(max_length=50) | ||
blog_title = models.CharField(max_length=200) | ||
blog_material = models.TextField() | ||
|
||
def __str__(self): | ||
return self.blog_title | ||
|
||
class Meta: | ||
db_table = 'submitBlog' | ||
|
||
class BlogPublication(models.Model): | ||
name = models.CharField(max_length=100) | ||
year_of_education = models.CharField(max_length=50) | ||
blog_title = models.CharField(max_length=200) | ||
blog_material = models.TextField() | ||
|
||
def __str__(self): | ||
return self.blog_title | ||
|
||
class Meta: | ||
db_table = 'publishBlog' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.