From 5558b9cf4b5483bf68ba17d69e640cba79093dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20Jer=C5=A1e?= Date: Fri, 19 Jan 2024 09:47:52 +0100 Subject: [PATCH 1/3] Remove unnecessary todo --- friprosveta/management/commands/unitime/AcademicAreas.py | 1 - 1 file changed, 1 deletion(-) diff --git a/friprosveta/management/commands/unitime/AcademicAreas.py b/friprosveta/management/commands/unitime/AcademicAreas.py index bfc01d9..411a4d8 100644 --- a/friprosveta/management/commands/unitime/AcademicAreas.py +++ b/friprosveta/management/commands/unitime/AcademicAreas.py @@ -1,7 +1,6 @@ from .CreateXML import create_xml -# TODO: added campus, term, year as arguments def academic_areas(campus, term, year): area = [ "academicArea", From c59a393aa709feb1433b3b91c3179b003aeb5dcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20Jer=C5=A1e?= Date: Fri, 19 Jan 2024 09:51:02 +0100 Subject: [PATCH 2/3] Comment deprecated attributes --- friprosveta/management/commands/unitime/SubjectAreas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/friprosveta/management/commands/unitime/SubjectAreas.py b/friprosveta/management/commands/unitime/SubjectAreas.py index 58b0a16..c0d6ccb 100644 --- a/friprosveta/management/commands/unitime/SubjectAreas.py +++ b/friprosveta/management/commands/unitime/SubjectAreas.py @@ -23,8 +23,8 @@ def subject_areas(tt, campus, term, year): # TODO: id je zraven zato, da je koda unikatna. Upam, da je to OK. "shortTitle": subject.short_name, "longTitle": subject.name, - "schedBookOnly": "false", - "pseudoSubjArea": "false", + # "schedBookOnly": "false", - deprecated + # "pseudoSubjArea": "false", - deprecated "department": "1", }, [], From bf88812be9cfd53f381dc42c9f8041ed283f8f7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20Jer=C5=A1e?= Date: Fri, 19 Jan 2024 10:20:34 +0100 Subject: [PATCH 3/3] Remove deprecated attributes --- friprosveta/management/commands/unitime/SubjectAreas.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/friprosveta/management/commands/unitime/SubjectAreas.py b/friprosveta/management/commands/unitime/SubjectAreas.py index c0d6ccb..4b938fa 100644 --- a/friprosveta/management/commands/unitime/SubjectAreas.py +++ b/friprosveta/management/commands/unitime/SubjectAreas.py @@ -23,8 +23,6 @@ def subject_areas(tt, campus, term, year): # TODO: id je zraven zato, da je koda unikatna. Upam, da je to OK. "shortTitle": subject.short_name, "longTitle": subject.name, - # "schedBookOnly": "false", - deprecated - # "pseudoSubjArea": "false", - deprecated "department": "1", }, [],