Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Untis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-Untis
Commits
f2923005
Commit
f2923005
authored
5 years ago
by
Jonathan Weth
Committed by
root
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge branch 'feature/timetable-hints' into feature/refactor-sub-generator
parents
f053253b
cc7abbc3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
biscuit/apps/untis/api.py
+2
-2
2 additions, 2 deletions
biscuit/apps/untis/api.py
with
2 additions
and
2 deletions
biscuit/apps/untis/api.py
+
2
−
2
View file @
f2923005
...
...
@@ -2,7 +2,7 @@ from django.conf import settings
from
untisconnect.api_helper
import
get_term_by_id
,
run_using
,
untis_date_to_date
,
date_to_untis_date
from
.
import
models
from
timetable
import
models
as
models2
from
timetable
.settings
import
untis_settings
def
run_all
(
obj
,
filter_term
=
True
):
...
...
@@ -15,7 +15,7 @@ def run_one(obj, filter_term=True):
def
run_default_filter
(
obj
,
filter_term
=
True
):
# Get term by settings in db
TERM_ID
=
models2
.
untis_settings
.
term
TERM_ID
=
untis_settings
.
term
TERM
=
get_term_by_id
(
TERM_ID
)
SCHOOL_ID
=
TERM
.
school_id
# 705103
SCHOOLYEAR_ID
=
TERM
.
schoolyear_id
# 20172018
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment