Show announcements in timetable views #345

Merged
hansegucker merged 9 commits from feature/show-announcements-in-timetable-views into master 2020-03-20 16:09:21 +01:00
hansegucker commented 2020-03-17 15:41:03 +01:00 (Migrated from edugit.org)
Blocked by https://edugit.org/AlekSIS/official/AlekSIS/-/merge_requests/184 Closes #63
hansegucker commented 2020-03-17 15:41:04 +01:00 (Migrated from edugit.org)

changed milestone to %"2.0a2"

changed milestone to %"2.0a2"
hansegucker commented 2020-03-17 15:41:20 +01:00 (Migrated from edugit.org)

mentioned in merge request AlekSIS!488

mentioned in merge request AlekSIS!488
nik commented 2020-03-17 21:18:27 +01:00 (Migrated from edugit.org)

Please use the API provided by ExtensibleModel to inject methods.

Please use the API provided by `ExtensibleModel` to inject methods.
hansegucker commented 2020-03-17 21:18:48 +01:00 (Migrated from edugit.org)

How?

How?
nik commented 2020-03-17 21:20:36 +01:00 (Migrated from edugit.org)

Announcement.method(…)

`Announcement.method(…)`
nik commented 2020-03-17 21:21:12 +01:00 (Migrated from edugit.org)

Probably .classmethod for clarity (I will add it)

Probably `.classmethod` for clarity (I will add it)
hansegucker commented 2020-03-18 15:14:04 +01:00 (Migrated from edugit.org)

changed this line in version 2 of the diff

changed this line in [version 2 of the diff](/AlekSIS/official/AlekSIS-App-Chronos/-/merge_requests/41/diffs?diff_id=1442&start_sha=f5aaaf03e86917ff68f12b24d582937f97daa473#aff889560e418df674a6887a541974fc95f8cd36_561_560)
hansegucker commented 2020-03-18 15:14:05 +01:00 (Migrated from edugit.org)

added 2 commits

  • 49cb122f - Rename queryset methods for announcements
  • 1ed1dd51 - Use API provided through ExtensibleModel to extend announcement query set

Compare with previous version

added 2 commits <ul><li>49cb122f - Rename queryset methods for announcements</li><li>1ed1dd51 - Use API provided through ExtensibleModel to extend announcement query set</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Chronos/-/merge_requests/41/diffs?diff_id=1442&start_sha=f5aaaf03e86917ff68f12b24d582937f97daa473)
hansegucker commented 2020-03-18 15:16:46 +01:00 (Migrated from edugit.org)

resolved all threads

resolved all threads
hansegucker commented 2020-03-19 10:59:33 +01:00 (Migrated from edugit.org)

@nik It's ready to merge.

@nik It's ready to merge.
nik commented 2020-03-19 11:01:54 +01:00 (Migrated from edugit.org)

Please move this to model_extensions.py.

Please move this to `model_extensions.py`.
hansegucker commented 2020-03-19 11:02:34 +01:00 (Migrated from edugit.org)

Also this?

Also this?
nik commented 2020-03-19 11:04:19 +01:00 (Migrated from edugit.org)

Everythin that extends a foreign model.

Everythin that extends a foreign model.
hansegucker commented 2020-03-19 11:04:38 +01:00 (Migrated from edugit.org)

OK

OK
hansegucker commented 2020-03-19 11:41:03 +01:00 (Migrated from edugit.org)

resolved all threads

resolved all threads
hansegucker commented 2020-03-19 11:41:06 +01:00 (Migrated from edugit.org)

changed this line in version 3 of the diff

changed this line in [version 3 of the diff](/AlekSIS/official/AlekSIS-App-Chronos/-/merge_requests/41/diffs?diff_id=1449&start_sha=1ed1dd51900c4c8505c69b18235ed7d1b4c1c635#aff889560e418df674a6887a541974fc95f8cd36_560_555)
hansegucker commented 2020-03-19 11:41:06 +01:00 (Migrated from edugit.org)

changed this line in version 3 of the diff

changed this line in [version 3 of the diff](/AlekSIS/official/AlekSIS-App-Chronos/-/merge_requests/41/diffs?diff_id=1449&start_sha=1ed1dd51900c4c8505c69b18235ed7d1b4c1c635#aff889560e418df674a6887a541974fc95f8cd36_561_555)
hansegucker commented 2020-03-19 11:41:08 +01:00 (Migrated from edugit.org)

added 1 commit

  • edfd5296 - Move extensions for announcement model to model_extensions.py

Compare with previous version

added 1 commit <ul><li>edfd5296 - Move extensions for announcement model to model_extensions.py</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Chronos/-/merge_requests/41/diffs?diff_id=1449&start_sha=1ed1dd51900c4c8505c69b18235ed7d1b4c1c635)
nik commented 2020-03-19 12:21:03 +01:00 (Migrated from edugit.org)

Unnecessary import?

Unnecessary import?
hansegucker commented 2020-03-19 12:22:07 +01:00 (Migrated from edugit.org)

Missing import: 940bfa7d

Missing import: 940bfa7d
nik commented 2020-03-19 12:27:21 +01:00 (Migrated from edugit.org)

Maybe we should add a mechanism for form_extensions.py just like for model extensions?

Maybe we should add a mechanism for `form_extensions.py` just like for model extensions?
hansegucker commented 2020-03-19 12:29:05 +01:00 (Migrated from edugit.org)

Seems like a good idea.

Seems like a good idea.
nik commented 2020-03-20 16:09:13 +01:00 (Migrated from edugit.org)

Will open new issue for the refactoring.

Will open new issue for the refactoring.
nik commented 2020-03-20 16:09:14 +01:00 (Migrated from edugit.org)

resolved all threads

resolved all threads
nik commented 2020-03-20 16:09:21 +01:00 (Migrated from edugit.org)

merged

merged
nik commented 2020-03-20 16:09:22 +01:00 (Migrated from edugit.org)

mentioned in commit 30e640c9f9

mentioned in commit 30e640c9f9cb0fa869e0fba3b178afe213c73d8b
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
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-Chronos!345
No description provided.