-
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.
Final Set of All Changes for Sig pages with all necessary additions a…
…nd code fixes
- Loading branch information
1 parent
d5247c1
commit 36dabc3
Showing
8 changed files
with
190 additions
and
34 deletions.
There are no files selected for viewing
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
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,148 @@ | ||
# Generated by Django 4.2.4 on 2023-12-21 19:49 | ||
from django.db import migrations | ||
from django.db import models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
initial = True | ||
|
||
dependencies = [] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="ModuleConfiguration", | ||
fields=[ | ||
( | ||
"id", | ||
models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
("module_name", models.CharField(max_length=200)), | ||
("module_enabled", models.BooleanField(default=False)), | ||
("module_config", models.JSONField()), | ||
], | ||
), | ||
migrations.CreateModel( | ||
name="SIG", | ||
fields=[ | ||
( | ||
"id", | ||
models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
( | ||
"name", | ||
models.CharField(max_length=10, unique=True, verbose_name="Name"), | ||
), | ||
("about", models.TextField(default="", verbose_name="About Us")), | ||
("what_we_do", models.TextField(default="", verbose_name="What We Do")), | ||
], | ||
options={ | ||
"verbose_name": "SIG", | ||
"verbose_name_plural": "SIGs", | ||
}, | ||
), | ||
migrations.CreateModel( | ||
name="Society", | ||
fields=[ | ||
( | ||
"id", | ||
models.BigAutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
( | ||
"name", | ||
models.CharField( | ||
choices=[ | ||
("AESS", "Aerospace and Electronic Systems Society"), | ||
("APS", "Antennas and Propagation Society"), | ||
("BTS", "Broadcast Technology Society"), | ||
("CASS", "Circuits and Systems Society"), | ||
("COM", "Communications Society"), | ||
("CIS", "Computational Intelligence Society"), | ||
("CS", "Computer Society"), | ||
("CTS", "Consumer Technology Society"), | ||
("CSS", "Control Systems Society"), | ||
("DEIS", "Dielectrics and Electrical Insulation Society"), | ||
("ES", "Education Society"), | ||
("ECS", "Electromagnetic Compatibility Society"), | ||
("EDS", "Electron Devices Society"), | ||
("EPS", "Electronics Packing Society"), | ||
("EMBS", "Engineering in Medicine and Biology Society"), | ||
("GRSS", "Geoscience and Remote Sensing Society"), | ||
("IES", "Industrial Electronics Society"), | ||
("IAS", "Industry Applications Society"), | ||
("ITS", "Information Theory Society"), | ||
("IMS", "Instrumentation and Measurement Society"), | ||
("ITSS", "Intelligent Transportation Systems Society"), | ||
("MS", "Magnetics Society"), | ||
("MTTS", "Microwave Theory and Technology Society"), | ||
("NPSS", "Nuclear and Plasma Sciences Society"), | ||
("OES", "Oceanic Engineering Society"), | ||
("PHO", "Photonics Society"), | ||
("PELS", "Power Electronics Society"), | ||
("PES", "Power and Energy Society"), | ||
("PSES", "Product Safety Engineering Society"), | ||
("PCS", "Professional Communication Society"), | ||
("RS", "Reliability Society"), | ||
("RAS", "Robotics and Automation Society"), | ||
("SPS", "Signal Processing Society"), | ||
("SSIT", "Society on Social Implications of Technology"), | ||
("SSCS", "Solid-State Circuits Society"), | ||
("SMCS", "Systems, Man, and Cybernetics Society"), | ||
("TEMS", "Technology and Engineering Management Society"), | ||
( | ||
"UFFCS", | ||
"Ultrasonics, Ferroelectrics, and Frequency Control Society", | ||
), | ||
("VT", "Vehicular Technology Society"), | ||
( | ||
"SIGHT", | ||
"Special Interest Group on Humanitarian Technology", | ||
), | ||
("WIE", "Women in Engineering"), | ||
], | ||
max_length=5, | ||
unique=True, | ||
verbose_name="Name", | ||
), | ||
), | ||
("url", models.URLField(unique=True, verbose_name="URL")), | ||
( | ||
"image", | ||
models.ImageField(upload_to="img/logo/", verbose_name="Image"), | ||
), | ||
( | ||
"dark_image", | ||
models.ImageField( | ||
blank=True, | ||
null=True, | ||
upload_to="img/logo/", | ||
verbose_name="Dark Image", | ||
), | ||
), | ||
("description", models.TextField(verbose_name="Description")), | ||
( | ||
"sig", | ||
models.IntegerField(default=-1, null=True, verbose_name="SIG ID"), | ||
), | ||
], | ||
options={ | ||
"verbose_name": "Society", | ||
"verbose_name_plural": "Societies", | ||
}, | ||
), | ||
] |
Empty file.
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
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
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
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
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