-
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 #27 from stevebrownlee/feature/group-projects
Final Phase of Removing GitHub Classroom
- Loading branch information
Showing
30 changed files
with
933 additions
and
207 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,4 +26,4 @@ prod_backup*.sql | |
setup | ||
learning.service | ||
logs/ | ||
.env | ||
*.env |
93 changes: 93 additions & 0 deletions
93
LearningAPI/migrations/0052_studentteam_nssuserteam_groupprojectrepository.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,93 @@ | ||
# Generated by Django 4.2.14 on 2024-08-28 20:03 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("LearningAPI", "0051_add_student_note_type_to_database_function"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="StudentTeam", | ||
fields=[ | ||
( | ||
"id", | ||
models.AutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
("group_name", models.CharField(max_length=55, unique=True)), | ||
("sprint_team", models.BooleanField(default=False)), | ||
( | ||
"cohort", | ||
models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
to="LearningAPI.cohort", | ||
), | ||
), | ||
], | ||
), | ||
migrations.CreateModel( | ||
name="NSSUserTeam", | ||
fields=[ | ||
( | ||
"id", | ||
models.AutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
( | ||
"student", | ||
models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
to="LearningAPI.nssuser", | ||
), | ||
), | ||
( | ||
"team", | ||
models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
to="LearningAPI.studentteam", | ||
), | ||
), | ||
], | ||
), | ||
migrations.CreateModel( | ||
name="GroupProjectRepository", | ||
fields=[ | ||
( | ||
"id", | ||
models.AutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
("repository_url", models.URLField()), | ||
( | ||
"project", | ||
models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
to="LearningAPI.project", | ||
), | ||
), | ||
( | ||
"team", | ||
models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
to="LearningAPI.studentteam", | ||
), | ||
), | ||
], | ||
), | ||
] |
138 changes: 138 additions & 0 deletions
138
...studentteam_nssuserteam_groupprojectrepository_squashed_0060_studentteam_slack_channel.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,138 @@ | ||
# Generated by Django 4.2.14 on 2024-09-03 01:49 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
replaces = [ | ||
("LearningAPI", "0052_studentteam_nssuserteam_groupprojectrepository"), | ||
("LearningAPI", "0053_alter_studentteam_group_name"), | ||
("LearningAPI", "0054_alter_nssuserteam_student_alter_nssuserteam_team"), | ||
("LearningAPI", "0055_studentteam_members_alter_nssuserteam_student_and_more"), | ||
("LearningAPI", "0056_rename_members_studentteam_students"), | ||
("LearningAPI", "0057_project_template_url"), | ||
( | ||
"LearningAPI", | ||
"0058_remove_project_template_url_project_api_template_url_and_more", | ||
), | ||
("LearningAPI", "0059_remove_groupprojectrepository_repository_url"), | ||
("LearningAPI", "0060_studentteam_slack_channel"), | ||
] | ||
|
||
dependencies = [ | ||
("LearningAPI", "0051_add_student_note_type_to_database_function"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="StudentTeam", | ||
fields=[ | ||
( | ||
"id", | ||
models.AutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
("group_name", models.CharField(max_length=55)), | ||
("sprint_team", models.BooleanField(default=False)), | ||
( | ||
"cohort", | ||
models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
to="LearningAPI.cohort", | ||
), | ||
), | ||
], | ||
), | ||
migrations.CreateModel( | ||
name="NSSUserTeam", | ||
fields=[ | ||
( | ||
"id", | ||
models.AutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
( | ||
"student", | ||
models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
to="LearningAPI.nssuser", | ||
), | ||
), | ||
( | ||
"team", | ||
models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="members", | ||
to="LearningAPI.studentteam", | ||
), | ||
), | ||
], | ||
), | ||
migrations.AddField( | ||
model_name="studentteam", | ||
name="students", | ||
field=models.ManyToManyField( | ||
through="LearningAPI.NSSUserTeam", to="LearningAPI.nssuser" | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="nssuserteam", | ||
name="team", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
to="LearningAPI.studentteam", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="project", | ||
name="api_template_url", | ||
field=models.URLField(default=""), | ||
), | ||
migrations.AddField( | ||
model_name="project", | ||
name="client_template_url", | ||
field=models.URLField(default=""), | ||
), | ||
migrations.CreateModel( | ||
name="GroupProjectRepository", | ||
fields=[ | ||
( | ||
"id", | ||
models.AutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
( | ||
"project", | ||
models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
to="LearningAPI.project", | ||
), | ||
), | ||
( | ||
"team", | ||
models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
to="LearningAPI.studentteam", | ||
), | ||
), | ||
], | ||
), | ||
migrations.AddField( | ||
model_name="studentteam", | ||
name="slack_channel", | ||
field=models.CharField(default="", max_length=55), | ||
), | ||
] |
17 changes: 17 additions & 0 deletions
17
LearningAPI/migrations/0053_alter_studentteam_group_name.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.2.14 on 2024-08-28 20:37 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("LearningAPI", "0052_studentteam_nssuserteam_groupprojectrepository"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="studentteam", | ||
name="group_name", | ||
field=models.CharField(max_length=55), | ||
), | ||
] |
31 changes: 31 additions & 0 deletions
31
LearningAPI/migrations/0054_alter_nssuserteam_student_alter_nssuserteam_team.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,31 @@ | ||
# Generated by Django 4.2.14 on 2024-08-28 20:47 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("LearningAPI", "0053_alter_studentteam_group_name"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="nssuserteam", | ||
name="student", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="teams", | ||
to="LearningAPI.nssuser", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="nssuserteam", | ||
name="team", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="members", | ||
to="LearningAPI.studentteam", | ||
), | ||
), | ||
] |
35 changes: 35 additions & 0 deletions
35
LearningAPI/migrations/0055_studentteam_members_alter_nssuserteam_student_and_more.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,35 @@ | ||
# Generated by Django 4.2.14 on 2024-08-28 20:50 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("LearningAPI", "0054_alter_nssuserteam_student_alter_nssuserteam_team"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="studentteam", | ||
name="members", | ||
field=models.ManyToManyField( | ||
through="LearningAPI.NSSUserTeam", to="LearningAPI.nssuser" | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="nssuserteam", | ||
name="student", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, to="LearningAPI.nssuser" | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="nssuserteam", | ||
name="team", | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
to="LearningAPI.studentteam", | ||
), | ||
), | ||
] |
17 changes: 17 additions & 0 deletions
17
LearningAPI/migrations/0056_rename_members_studentteam_students.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.2.14 on 2024-08-28 20:56 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("LearningAPI", "0055_studentteam_members_alter_nssuserteam_student_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name="studentteam", | ||
old_name="members", | ||
new_name="students", | ||
), | ||
] |
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.2.14 on 2024-08-29 19:39 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("LearningAPI", "0056_rename_members_studentteam_students"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="project", | ||
name="template_url", | ||
field=models.CharField(default="", max_length=256), | ||
), | ||
] |
26 changes: 26 additions & 0 deletions
26
LearningAPI/migrations/0058_remove_project_template_url_project_api_template_url_and_more.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.2.14 on 2024-08-29 19:49 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("LearningAPI", "0057_project_template_url"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="project", | ||
name="template_url", | ||
), | ||
migrations.AddField( | ||
model_name="project", | ||
name="api_template_url", | ||
field=models.URLField(default=""), | ||
), | ||
migrations.AddField( | ||
model_name="project", | ||
name="client_template_url", | ||
field=models.URLField(default=""), | ||
), | ||
] |
Oops, something went wrong.