Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Chronos
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-Chronos
Commits
066e7486
Verified
Commit
066e7486
authored
4 years ago
by
Tom Teichler
Browse files
Options
Downloads
Patches
Plain Diff
[Reformat] sort imports
parent
1484f485
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aleksis/apps/chronos/preferences.py
+1
-4
1 addition, 4 deletions
aleksis/apps/chronos/preferences.py
aleksis/apps/chronos/templatetags/week_helpers.py
+1
-5
1 addition, 5 deletions
aleksis/apps/chronos/templatetags/week_helpers.py
with
2 additions
and
9 deletions
aleksis/apps/chronos/preferences.py
+
1
−
4
View file @
066e7486
...
...
@@ -3,10 +3,7 @@ from django.utils.translation import gettext as _
from
dynamic_preferences.preferences
import
Section
from
dynamic_preferences.types
import
BooleanPreference
,
IntegerPreference
from
aleksis.core.registries
import
(
person_preferences_registry
,
site_preferences_registry
,
)
from
aleksis.core.registries
import
person_preferences_registry
,
site_preferences_registry
chronos
=
Section
(
"
chronos
"
,
verbose_name
=
_
(
"
Chronos
"
))
...
...
This diff is collapsed.
Click to expand it.
aleksis/apps/chronos/templatetags/week_helpers.py
+
1
−
5
View file @
066e7486
...
...
@@ -4,11 +4,7 @@ from typing import Optional, Union
from
django
import
template
from
django.db.models.query
import
QuerySet
from
aleksis.apps.chronos.util.date
import
(
CalendarWeek
,
week_period_to_date
,
week_weekday_to_date
,
)
from
aleksis.apps.chronos.util.date
import
CalendarWeek
,
week_period_to_date
,
week_weekday_to_date
register
=
template
.
Library
()
...
...
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