-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updates to basic buttons * added animation to home page and updated theme * tailwind formatting * added smooth home page animation * crud table addition * cleaned up inspection view * same update to download csv view * more frontend fixes * updated logo * created skelton for docs page * new branch with buggy code * removed secret key for sendgrid * bug fix * another bug fix * more fixes * edits to table view * edits to schedule backend * removed generte sch url * styled schedule table view * table styling * new branch * stats and some changes for schedule editing * stats and some changes data collection templataes * table view editing feature Co-authored-by: NullDefault <[email protected]> Co-authored-by: abax17 <[email protected]>
- Loading branch information
1 parent
f441df3
commit f57453c
Showing
7 changed files
with
244 additions
and
76 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
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 |
---|---|---|
@@ -1,9 +1,17 @@ | ||
from django.forms import forms, ModelChoiceField | ||
from database.forms import CrispyModelForm, label_dict | ||
|
||
from database.models.schedule_models import Schedule | ||
from django.forms import forms, ModelChoiceField | ||
from database.models.schedule_models import Schedule, Section | ||
from database.models.structural_models import ModelSet | ||
|
||
|
||
class CheckScheduleForm(forms.Form): | ||
schedule = ModelChoiceField(queryset=Schedule.objects.all()) | ||
preference_set = ModelChoiceField(queryset=ModelSet.objects.filter(obj_type__model='preference')) | ||
|
||
|
||
class ScheduleSectionEditForm(CrispyModelForm): | ||
class Meta: | ||
model = Section | ||
fields = ('timeblock', 'primary_instructor', 'other_instructor',) | ||
labels = label_dict |
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
Oops, something went wrong.