Resolve "Add model for planning of courses (dependend on ValidityRange)" #98

Merged
Member

Closes #2

Closes #2
Author
Member

There is an interface in cursus that is a supertype of courses which you could implement, so that we wouldn't need this additional type.

See:
https://docs.graphene-python.org/en/latest/types/interfaces/
https://edugit.org/AlekSIS/onboarding/AlekSIS-App-Cursus/-/merge_requests/2/diffs#a81fc04014516b978c11ae4b968d93b6d93e1dec_0_62

I think this would be the better way to do this (and would probably also require less work in the magnet board)

There is an interface in cursus that is a supertype of courses which you could implement, so that we wouldn't need this additional type. See: https://docs.graphene-python.org/en/latest/types/interfaces/ https://edugit.org/AlekSIS/onboarding/AlekSIS-App-Cursus/-/merge_requests/2/diffs#a81fc04014516b978c11ae4b968d93b6d93e1dec_0_62 I think this would be the better way to do this (and would probably also require less work in the magnet board)
Member

wouldn't this also require defining an additional type as can be seen in the graphene docs?

wouldn't this also require defining an additional type as can be seen in the graphene docs?
Author
Member

I don't understand what you mean

I don't understand what you mean
Member

added 1 commit

  • 78d36d1e - Actually save and sort modified course config data

Compare with previous version

added 1 commit <ul><li>78d36d1e - Actually save and sort modified course config data</li></ul> [Compare with previous version](/AlekSIS/onboarding/AlekSIS-App-Lesrooster/-/merge_requests/10/diffs?diff_id=32597&start_sha=5bfbfe8a06af6cdbee27909ef37a1127034ffd91)
Member

added 2 commits

Compare with previous version

added 2 commits <ul><li>bd0eee36 - Add column for subject</li><li>2cc36737 - Remove unneeded methods</li></ul> [Compare with previous version](/AlekSIS/onboarding/AlekSIS-App-Lesrooster/-/merge_requests/10/diffs?diff_id=32598&start_sha=78d36d1e2ee534f1257474e4d1c43bcabad048fb)
Member

added 2 commits

  • f83b711d - Allow creating and updating course configs
  • 2947619d - Specify fields for timebound course config mutations

Compare with previous version

added 2 commits <ul><li>f83b711d - Allow creating and updating course configs</li><li>2947619d - Specify fields for timebound course config mutations</li></ul> [Compare with previous version](/AlekSIS/onboarding/AlekSIS-App-Lesrooster/-/merge_requests/10/diffs?diff_id=32701&start_sha=2cc367370293d323fe7b7e75499561ebc69073ac)
Member

added 3 commits

  • 9af3ef14 - Fix creating/editing course configs when switching between validityranges
  • c243f06b - Prevent duplicate courses in table
  • 94808f58 - Only show classes of a pre-selected grade in course config raster

Compare with previous version

added 3 commits <ul><li>9af3ef14 - Fix creating/editing course configs when switching between validityranges</li><li>c243f06b - Prevent duplicate courses in table</li><li>94808f58 - Only show classes of a pre-selected grade in course config raster</li></ul> [Compare with previous version](/AlekSIS/onboarding/AlekSIS-App-Lesrooster/-/merge_requests/10/diffs?diff_id=32756&start_sha=2947619d9440ee5249ce629d20d5a4b8976937ae)
Member

added 4 commits

  • 521a8dd7 - Re-add mutation to create timebound course config
  • c43cc570 - Beautify course config raster and differentiate teacher selection
  • b2e25c85 - Add model and form extensions for assigning lesson quotas to teachers
  • 1a8aa626 - Fix typo

Compare with previous version

added 4 commits <ul><li>521a8dd7 - Re-add mutation to create timebound course config</li><li>c43cc570 - Beautify course config raster and differentiate teacher selection</li><li>b2e25c85 - Add model and form extensions for assigning lesson quotas to teachers</li><li>1a8aa626 - Fix typo</li></ul> [Compare with previous version](/AlekSIS/onboarding/AlekSIS-App-Lesrooster/-/merge_requests/10/diffs?diff_id=32996&start_sha=94808f584e9445d7f0c096bd8be3360d47e1f77c)
Owner

added 23 commits

  • 1a8aa626...b76e47ce - 14 commits from branch 1-frontend-for-models
  • dbba2166 - Add missing docstrings
  • 38cf45c6 - Add status field to ValidityRange model
  • a6c69da1 - Fix managers
  • 84ad45ed - Skip recurrences if there are no recurrences
  • dcf4f581 - Fix version in pyproject.toml
  • 51659d20 - Rename Break to BreakSlot
  • f3c962e0 - Merge branch 'models' into 'master'
  • 1bf54e78 - Merge branch 'master' into 2-add-model-for-planning-of-courses-dependend-on-validityrange
  • 2e955c6d - Fix migration history

Compare with previous version

added 23 commits <ul><li>1a8aa626...b76e47ce - 14 commits from branch <code>1-frontend-for-models</code></li><li>dbba2166 - Add missing docstrings</li><li>38cf45c6 - Add status field to ValidityRange model</li><li>a6c69da1 - Fix managers</li><li>84ad45ed - Skip recurrences if there are no recurrences</li><li>dcf4f581 - Fix version in pyproject.toml</li><li>51659d20 - Rename Break to BreakSlot</li><li>f3c962e0 - Merge branch &#39;models&#39; into &#39;master&#39;</li><li>1bf54e78 - Merge branch &#39;master&#39; into 2-add-model-for-planning-of-courses-dependend-on-validityrange</li><li>2e955c6d - Fix migration history</li></ul> [Compare with previous version](/AlekSIS/onboarding/AlekSIS-App-Lesrooster/-/merge_requests/10/diffs?diff_id=33185&start_sha=1a8aa6260f75341a351de918f892f931e97daf9e)
Owner

added 1 commit

  • f8081833 - Fix bugs with queryset and rename Break to BreakSlot

Compare with previous version

added 1 commit <ul><li>f8081833 - Fix bugs with queryset and rename Break to BreakSlot</li></ul> [Compare with previous version](/AlekSIS/onboarding/AlekSIS-App-Lesrooster/-/merge_requests/10/diffs?diff_id=33202&start_sha=2e955c6d71e551a42f8de0db5eeb85c217cb96cc)
Owner

Set fields explicitly for all queries/mutations.

Set `fields` explicitly for all queries/mutations.
Owner

FIXME

FIXME
Owner

added 57 commits

  • f8081833...1f3e30d8 - 54 commits from branch 1-frontend-for-models
  • de4decc5 - Merge branch '1-frontend-for-models' into...
  • 6a97051f - Reformat
  • eea6bf35 - Fix lint

Compare with previous version

added 57 commits <ul><li>f8081833...1f3e30d8 - 54 commits from branch <code>1-frontend-for-models</code></li><li>de4decc5 - Merge branch &#39;1-frontend-for-models&#39; into...</li><li>6a97051f - Reformat</li><li>eea6bf35 - Fix lint</li></ul> [Compare with previous version](/AlekSIS/onboarding/AlekSIS-App-Lesrooster/-/merge_requests/10/diffs?diff_id=33205&start_sha=f8081833c5138a9cdba5a6a977f90e1e34e49da9)
Owner

marked this merge request as ready

marked this merge request as **ready**
Owner

mentioned in commit 3df2b59cf3

mentioned in commit 3df2b59cf3d29069fb53e06f6ba825ec1581cfa6
hansegucker merged commit 3df2b59cf3 into 1-frontend-for-models 2023-07-31 23:17:05 +02:00
Owner

created #24 to continue this discussion

created #24 to continue this discussion
Owner

mentioned in issue #24

mentioned in issue #24
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aleksis/AlekSIS-App-Lesrooster!98
No description provided.