Skip to content

Commit

Permalink
chore: made fixtures that work (some extra need to be made for submis…
Browse files Browse the repository at this point in the history
…sions)
  • Loading branch information
tyboro2002 committed Apr 14, 2024
1 parent 635b33d commit ddd4405
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion backend/api/fixtures/large/large.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion backend/api/fixtures/medium/medium.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion backend/api/fixtures/small/small.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"model": "api.fileextension", "pk": 1, "fields": {"extension": "pages"}}, {"model": "api.fileextension", "pk": 2, "fields": {"extension": "wav"}}, {"model": "api.fileextension", "pk": 3, "fields": {"extension": "mp4"}}, {"model": "api.fileextension", "pk": 4, "fields": {"extension": "mp3"}}, {"model": "api.fileextension", "pk": 5, "fields": {"extension": "avi"}}, {"model": "api.fileextension", "pk": 6, "fields": {"extension": "odt"}}, {"model": "api.fileextension", "pk": 7, "fields": {"extension": "flac"}}, {"model": "api.fileextension", "pk": 8, "fields": {"extension": "webm"}}, {"model": "api.fileextension", "pk": 9, "fields": {"extension": "doc"}}, {"model": "api.fileextension", "pk": 10, "fields": {"extension": "js"}}, {"model": "api.fileextension", "pk": 11, "fields": {"extension": "pptx"}}, {"model": "api.fileextension", "pk": 12, "fields": {"extension": "gif"}}, {"model": "api.fileextension", "pk": 13, "fields": {"extension": "json"}}, {"model": "api.fileextension", "pk": 14, "fields": {"extension": "jpeg"}}, {"model": "api.fileextension", "pk": 15, "fields": {"extension": "mov"}}, {"model": "api.fileextension", "pk": 16, "fields": {"extension": "docx"}}, {"model": "api.fileextension", "pk": 17, "fields": {"extension": "xlsx"}}, {"model": "api.fileextension", "pk": 18, "fields": {"extension": "tiff"}}, {"model": "api.fileextension", "pk": 19, "fields": {"extension": "png"}}, {"model": "api.fileextension", "pk": 20, "fields": {"extension": "ods"}}, {"model": "api.fileextension", "pk": 21, "fields": {"extension": "csv"}}, {"model": "api.fileextension", "pk": 22, "fields": {"extension": "html"}}, {"model": "api.fileextension", "pk": 23, "fields": {"extension": "css"}}, {"model": "api.fileextension", "pk": 24, "fields": {"extension": "xls"}}, {"model": "api.fileextension", "pk": 25, "fields": {"extension": "jpg"}}, {"model": "api.fileextension", "pk": 26, "fields": {"extension": "txt"}}, {"model": "api.fileextension", "pk": 27, "fields": {"extension": "pdf"}}, {"model": "api.fileextension", "pk": 28, "fields": {"extension": "bmp"}}, {"model": "api.fileextension", "pk": 29, "fields": {"extension": "ppt"}}, {"model": "api.fileextension", "pk": 30, "fields": {"extension": "numbers"}}, {"model": "api.fileextension", "pk": 31, "fields": {"extension": "odp"}}, {"model": "api.fileextension", "pk": 32, "fields": {"extension": "key"}}, {"model": "api.course", "pk": 1, "fields": {"name": "Extended interactive info-mediaries", "academic_startyear": 2025, "description": "Have kid citizen around east.", "faculty": "Wetenschappen", "parent_course": null}}, {"model": "api.course", "pk": 2, "fields": {"name": "Future-proofed context-sensitive neural-net", "academic_startyear": 2024, "description": "Approach fall apply citizen. West effort many fund whether computer PM. Down beyond next.", "faculty": "Politieke_Sociale_Wetenschappen", "parent_course": null}}, {"model": "api.course", "pk": 3, "fields": {"name": "Balanced responsive concept", "academic_startyear": 2025, "description": "Interesting next simply true product candidate. Respond region series purpose.", "faculty": "Psychologie_PedagogischeWetenschappen", "parent_course": null}}, {"model": "api.project", "pk": 1, "fields": {"name": "Fully-configurable tangible definition", "description": "Nation with major food attorney surface attack. Among partner table. Foreign treatment choose whom wide.", "visible": false, "archived": false, "locked_groups": true, "start_date": "2024-02-20T17:40:28.977Z", "deadline": "2024-06-22T17:40:28.977Z", "max_score": 63, "score_visible": false, "group_size": 9, "course": 2}}, {"model": "api.project", "pk": 2, "fields": {"name": "Assimilated tangible help-desk", "description": "Always information home listen seek dog wrong recent. Across community maintain political home past. Course politics wrong bad.", "visible": true, "archived": false, "locked_groups": false, "start_date": "2024-03-18T17:40:28.977Z", "deadline": "2024-05-06T17:40:28.977Z", "max_score": 62, "score_visible": false, "group_size": 6, "course": 1}}, {"model": "api.project", "pk": 3, "fields": {"name": "Vision-oriented composite knowledgebase", "description": "No quickly usually to left scene worry. Sort past field course southern also use. Citizen same mouth somebody site beat.", "visible": true, "archived": false, "locked_groups": false, "start_date": "2024-05-18T17:40:28.977Z", "deadline": "2024-06-18T17:40:28.977Z", "max_score": 13, "score_visible": false, "group_size": 9, "course": 2}}, {"model": "api.project", "pk": 4, "fields": {"name": "Virtual 5thgeneration customer loyalty", "description": "Both it including into return return girl term. Explain want you clear. Blood local color they gun clearly quickly.", "visible": true, "archived": false, "locked_groups": true, "start_date": "2024-03-06T17:40:28.977Z", "deadline": "2024-05-14T17:40:28.977Z", "max_score": 43, "score_visible": true, "group_size": 15, "course": 1}}, {"model": "api.structurecheck", "pk": 1, "fields": {"name": "/focus/life", "project": 2, "obligated_extensions": [3, 15, 22, 26, 28], "blocked_extensions": [6, 27, 30]}}, {"model": "api.structurecheck", "pk": 2, "fields": {"name": "/late/expect/tend/phone/herself/realize/program/night/member", "project": 4, "obligated_extensions": [21], "blocked_extensions": [1, 3, 11]}}, {"model": "api.structurecheck", "pk": 3, "fields": {"name": "/method/difference", "project": 2, "obligated_extensions": [5, 6], "blocked_extensions": [21]}}, {"model": "api.structurecheck", "pk": 4, "fields": {"name": "/hit/sing/night/become", "project": 2, "obligated_extensions": [13, 26, 32], "blocked_extensions": [4, 5, 12, 17, 18]}}, {"model": "api.structurecheck", "pk": 5, "fields": {"name": "/structure/he/method/than", "project": 3, "obligated_extensions": [20], "blocked_extensions": [8, 17, 22, 24, 27]}}, {"model": "api.structurecheck", "pk": 6, "fields": {"name": "/notice/company/nor/edge/government/again/full/rather/argue/way", "project": 2, "obligated_extensions": [2, 4, 32], "blocked_extensions": [1, 3, 12, 18, 25]}}, {"model": "api.structurecheck", "pk": 7, "fields": {"name": "/pull/ability/edge/leader", "project": 4, "obligated_extensions": [1, 7, 14, 18], "blocked_extensions": [17, 20]}}, {"model": "api.structurecheck", "pk": 8, "fields": {"name": "/I/eye/whose", "project": 3, "obligated_extensions": [5], "blocked_extensions": [25, 27]}}, {"model": "api.student", "pk": "0", "fields": {"is_active": true, "student_id": "0", "courses": [1]}}, {"model": "api.student", "pk": "1", "fields": {"is_active": true, "student_id": "1", "courses": [1]}}, {"model": "api.student", "pk": "2", "fields": {"is_active": true, "student_id": "2", "courses": [1]}}, {"model": "api.student", "pk": "3", "fields": {"is_active": true, "student_id": "3", "courses": [2]}}, {"model": "api.student", "pk": "4", "fields": {"is_active": true, "student_id": "4", "courses": [2]}}, {"model": "api.student", "pk": "5", "fields": {"is_active": true, "student_id": "5", "courses": [2]}}, {"model": "api.student", "pk": "6", "fields": {"is_active": true, "student_id": "6", "courses": [2]}}, {"model": "api.student", "pk": "7", "fields": {"is_active": true, "student_id": "7", "courses": [1]}}, {"model": "api.student", "pk": "8", "fields": {"is_active": true, "student_id": "8", "courses": [1]}}, {"model": "api.student", "pk": "9", "fields": {"is_active": true, "student_id": "9", "courses": [2]}}, {"model": "api.group", "pk": 1, "fields": {"project": 4, "score": 24.0, "students": ["0", "1", "5", "6", "7"]}}, {"model": "api.group", "pk": 2, "fields": {"project": 4, "score": 23.0, "students": ["8", "9"]}}, {"model": "api.group", "pk": 3, "fields": {"project": 1, "score": 13.0, "students": ["4"]}}, {"model": "api.group", "pk": 4, "fields": {"project": 3, "score": 7.0, "students": ["3"]}}, {"model": "api.group", "pk": 5, "fields": {"project": 4, "score": 4.0, "students": ["2"]}}, {"model": "api.group", "pk": 6, "fields": {"project": 4, "score": 34.0, "students": []}}, {"model": "api.group", "pk": 7, "fields": {"project": 4, "score": 17.0, "students": []}}, {"model": "api.submission", "pk": 1, "fields": {"group": 4, "submission_number": null, "submission_time": "2024-04-13T00:00:00Z"}}, {"model": "api.submission", "pk": 2, "fields": {"group": 5, "submission_number": null, "submission_time": "2024-04-07T00:00:00Z"}}, {"model": "api.submission", "pk": 3, "fields": {"group": 3, "submission_number": null, "submission_time": "2024-04-02T00:00:00Z"}}, {"model": "api.submission", "pk": 4, "fields": {"group": 7, "submission_number": null, "submission_time": "2024-04-01T00:00:00Z"}}, {"model": "api.submission", "pk": 5, "fields": {"group": 6, "submission_number": null, "submission_time": "2024-04-05T00:00:00Z"}}, {"model": "api.submission", "pk": 6, "fields": {"group": 4, "submission_number": null, "submission_time": "2024-04-01T00:00:00Z"}}, {"model": "api.submission", "pk": 7, "fields": {"group": 1, "submission_number": null, "submission_time": "2024-04-13T00:00:00Z"}}, {"model": "api.submission", "pk": 8, "fields": {"group": 1, "submission_number": null, "submission_time": "2024-04-11T00:00:00Z"}}, {"model": "api.submission", "pk": 9, "fields": {"group": 2, "submission_number": null, "submission_time": "2024-04-04T00:00:00Z"}}, {"model": "api.submission", "pk": 10, "fields": {"group": 3, "submission_number": null, "submission_time": "2024-04-11T00:00:00Z"}}, {"model": "api.assistant", "pk": "10", "fields": {"is_active": true, "courses": [1]}}, {"model": "api.assistant", "pk": "11", "fields": {"is_active": true, "courses": [1]}}, {"model": "api.assistant", "pk": "12", "fields": {"is_active": true, "courses": [2]}}, {"model": "api.assistant", "pk": "13", "fields": {"is_active": true, "courses": [3]}}, {"model": "api.assistant", "pk": "14", "fields": {"is_active": true, "courses": [1]}}, {"model": "api.teacher", "pk": "15", "fields": {"is_active": true, "courses": [1]}}, {"model": "api.teacher", "pk": "16", "fields": {"is_active": true, "courses": [2]}}, {"model": "api.teacher", "pk": "17", "fields": {"is_active": true, "courses": [1]}}]
[{"model": "api.fileextension", "pk": 1, "fields": {"extension": "mov"}}, {"model": "api.fileextension", "pk": 2, "fields": {"extension": "pages"}}, {"model": "api.fileextension", "pk": 3, "fields": {"extension": "jpg"}}, {"model": "api.fileextension", "pk": 4, "fields": {"extension": "webm"}}, {"model": "api.fileextension", "pk": 5, "fields": {"extension": "json"}}, {"model": "api.fileextension", "pk": 6, "fields": {"extension": "avi"}}, {"model": "api.fileextension", "pk": 7, "fields": {"extension": "png"}}, {"model": "api.fileextension", "pk": 8, "fields": {"extension": "key"}}, {"model": "api.fileextension", "pk": 9, "fields": {"extension": "mp4"}}, {"model": "api.fileextension", "pk": 10, "fields": {"extension": "flac"}}, {"model": "api.fileextension", "pk": 11, "fields": {"extension": "css"}}, {"model": "api.fileextension", "pk": 12, "fields": {"extension": "tiff"}}, {"model": "api.fileextension", "pk": 13, "fields": {"extension": "wav"}}, {"model": "api.fileextension", "pk": 14, "fields": {"extension": "txt"}}, {"model": "api.fileextension", "pk": 15, "fields": {"extension": "bmp"}}, {"model": "api.fileextension", "pk": 16, "fields": {"extension": "docx"}}, {"model": "api.fileextension", "pk": 17, "fields": {"extension": "xls"}}, {"model": "api.fileextension", "pk": 18, "fields": {"extension": "pptx"}}, {"model": "api.fileextension", "pk": 19, "fields": {"extension": "doc"}}, {"model": "api.fileextension", "pk": 20, "fields": {"extension": "ppt"}}, {"model": "api.fileextension", "pk": 21, "fields": {"extension": "html"}}, {"model": "api.fileextension", "pk": 22, "fields": {"extension": "jpeg"}}, {"model": "api.fileextension", "pk": 23, "fields": {"extension": "csv"}}, {"model": "api.fileextension", "pk": 24, "fields": {"extension": "odt"}}, {"model": "api.fileextension", "pk": 25, "fields": {"extension": "js"}}, {"model": "api.fileextension", "pk": 26, "fields": {"extension": "mp3"}}, {"model": "api.fileextension", "pk": 27, "fields": {"extension": "gif"}}, {"model": "api.fileextension", "pk": 28, "fields": {"extension": "xlsx"}}, {"model": "api.fileextension", "pk": 29, "fields": {"extension": "numbers"}}, {"model": "api.fileextension", "pk": 30, "fields": {"extension": "odp"}}, {"model": "api.fileextension", "pk": 31, "fields": {"extension": "pdf"}}, {"model": "api.fileextension", "pk": 32, "fields": {"extension": "ods"}}]
2 changes: 1 addition & 1 deletion backend/authentication/fixtures/large/large.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion backend/authentication/fixtures/medium/medium.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion backend/authentication/fixtures/small/small.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"model": "authentication.user", "pk": "0", "fields": {"last_login": "2024-04-14T17:40:28.553Z", "username": "wmatthews", "is_staff": false, "email": "[email protected]", "first_name": "Ariel", "last_name": "Roberts", "last_enrolled": 2024, "create_time": "2024-04-14T17:40:28.553Z", "faculties": []}}, {"model": "authentication.user", "pk": "1", "fields": {"last_login": "2024-04-14T17:40:28.553Z", "username": "megan72", "is_staff": false, "email": "[email protected]", "first_name": "Michael", "last_name": "Pierce", "last_enrolled": 2024, "create_time": "2024-04-14T17:40:28.553Z", "faculties": []}}, {"model": "authentication.user", "pk": "10", "fields": {"last_login": "2024-04-14T17:40:28.756Z", "username": "burnsjohn", "is_staff": false, "email": "[email protected]", "first_name": "Stephanie", "last_name": "Munoz", "last_enrolled": 2024, "create_time": "2024-04-14T17:40:28.756Z", "faculties": []}}, {"model": "authentication.user", "pk": "11", "fields": {"last_login": "2024-04-14T17:40:28.757Z", "username": "april49", "is_staff": false, "email": "[email protected]", "first_name": "Hunter", "last_name": "White", "last_enrolled": 2024, "create_time": "2024-04-14T17:40:28.757Z", "faculties": []}}, {"model": "authentication.user", "pk": "12", "fields": {"last_login": "2024-04-14T17:40:28.757Z", "username": "charles83", "is_staff": false, "email": "[email protected]", "first_name": "Roy", "last_name": "Martin", "last_enrolled": 2024, "create_time": "2024-04-14T17:40:28.757Z", "faculties": []}}, {"model": "authentication.user", "pk": "13", "fields": {"last_login": "2024-04-14T17:40:28.758Z", "username": "william17", "is_staff": false, "email": "[email protected]", "first_name": "Gabriel", "last_name": "Murray", "last_enrolled": 2024, "create_time": "2024-04-14T17:40:28.758Z", "faculties": []}}, {"model": "authentication.user", "pk": "14", "fields": {"last_login": "2024-04-14T17:40:28.758Z", "username": "rachaelpetty", "is_staff": false, "email": "[email protected]", "first_name": "Richard", "last_name": "Ferguson", "last_enrolled": 2024, "create_time": "2024-04-14T17:40:28.758Z", "faculties": []}}, {"model": "authentication.user", "pk": "15", "fields": {"last_login": "2024-04-14T17:40:28.844Z", "username": "davidsanders", "is_staff": false, "email": "[email protected]", "first_name": "Amber", "last_name": "Banks", "last_enrolled": 2024, "create_time": "2024-04-14T17:40:28.844Z", "faculties": []}}, {"model": "authentication.user", "pk": "16", "fields": {"last_login": "2024-04-14T17:40:28.845Z", "username": "edwin42", "is_staff": false, "email": "[email protected]", "first_name": "Rachel", "last_name": "Price", "last_enrolled": 2024, "create_time": "2024-04-14T17:40:28.845Z", "faculties": []}}, {"model": "authentication.user", "pk": "17", "fields": {"last_login": "2024-04-14T17:40:28.845Z", "username": "awarren", "is_staff": false, "email": "[email protected]", "first_name": "Robert", "last_name": "Brown", "last_enrolled": 2024, "create_time": "2024-04-14T17:40:28.845Z", "faculties": []}}, {"model": "authentication.user", "pk": "2", "fields": {"last_login": "2024-04-14T17:40:28.554Z", "username": "jsoto", "is_staff": false, "email": "[email protected]", "first_name": "Taylor", "last_name": "Mendoza", "last_enrolled": 2024, "create_time": "2024-04-14T17:40:28.554Z", "faculties": []}}, {"model": "authentication.user", "pk": "3", "fields": {"last_login": "2024-04-14T17:40:28.554Z", "username": "loveteresa", "is_staff": false, "email": "[email protected]", "first_name": "Phillip", "last_name": "Fisher", "last_enrolled": 2024, "create_time": "2024-04-14T17:40:28.554Z", "faculties": []}}, {"model": "authentication.user", "pk": "4", "fields": {"last_login": "2024-04-14T17:40:28.555Z", "username": "deanna66", "is_staff": false, "email": "[email protected]", "first_name": "Steve", "last_name": "Miller", "last_enrolled": 2024, "create_time": "2024-04-14T17:40:28.555Z", "faculties": []}}, {"model": "authentication.user", "pk": "5", "fields": {"last_login": "2024-04-14T17:40:28.555Z", "username": "melissa94", "is_staff": false, "email": "[email protected]", "first_name": "Miranda", "last_name": "Myers", "last_enrolled": 2024, "create_time": "2024-04-14T17:40:28.555Z", "faculties": []}}, {"model": "authentication.user", "pk": "6", "fields": {"last_login": "2024-04-14T17:40:28.555Z", "username": "jroberts", "is_staff": false, "email": "[email protected]", "first_name": "Curtis", "last_name": "Johnson", "last_enrolled": 2024, "create_time": "2024-04-14T17:40:28.555Z", "faculties": []}}, {"model": "authentication.user", "pk": "7", "fields": {"last_login": "2024-04-14T17:40:28.556Z", "username": "ashleyroberts", "is_staff": false, "email": "[email protected]", "first_name": "Danny", "last_name": "Walker", "last_enrolled": 2024, "create_time": "2024-04-14T17:40:28.556Z", "faculties": []}}, {"model": "authentication.user", "pk": "8", "fields": {"last_login": "2024-04-14T17:40:28.556Z", "username": "fkline", "is_staff": false, "email": "[email protected]", "first_name": "Michael", "last_name": "Reed", "last_enrolled": 2024, "create_time": "2024-04-14T17:40:28.556Z", "faculties": []}}, {"model": "authentication.user", "pk": "9", "fields": {"last_login": "2024-04-14T17:40:28.557Z", "username": "ywarner", "is_staff": false, "email": "[email protected]", "first_name": "Kristen", "last_name": "Rush", "last_enrolled": 2024, "create_time": "2024-04-14T17:40:28.557Z", "faculties": []}}, {"model": "authentication.faculty", "pk": "Bio-ingenieurswetenschappen", "fields": {"name": "faculties.bioscience_engineering"}}, {"model": "authentication.faculty", "pk": "Diergeneeskunde", "fields": {"name": "faculties.veterinary_medicine"}}, {"model": "authentication.faculty", "pk": "Economie_Bedrijfskunde", "fields": {"name": "faculties.economics_business_administration"}}, {"model": "authentication.faculty", "pk": "Farmaceutische_Wetenschappen", "fields": {"name": "faculties.pharmaceutical_sciences"}}, {"model": "authentication.faculty", "pk": "Geneeskunde_Gezondheidswetenschappen", "fields": {"name": "faculties.medicine_health_sciences"}}, {"model": "authentication.faculty", "pk": "Ingenieurswetenschappen_Architectuur", "fields": {"name": "faculties.engineering_architecture"}}, {"model": "authentication.faculty", "pk": "Letteren_Wijsbegeerte", "fields": {"name": "faculties.arts_philosophy"}}, {"model": "authentication.faculty", "pk": "Politieke_Sociale_Wetenschappen", "fields": {"name": "faculties.political_social_sciences"}}, {"model": "authentication.faculty", "pk": "Psychologie_PedagogischeWetenschappen", "fields": {"name": "faculties.psychology_educational_sciences"}}, {"model": "authentication.faculty", "pk": "Recht_Criminologie", "fields": {"name": "faculties.law_criminology"}}, {"model": "authentication.faculty", "pk": "Wetenschappen", "fields": {"name": "faculties.sciences"}}]
[]

0 comments on commit ddd4405

Please sign in to comment.