Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
protokollsystem
proto3
Commits
cf1b5e99
Commit
cf1b5e99
authored
Jul 12, 2017
by
Robin Sonnabend
Browse files
Delay loading caldav
parent
08cd0d74
Changes
1
Hide whitespace changes
Inline
Side-by-side
views/forms.py
View file @
cf1b5e99
...
...
@@ -6,7 +6,6 @@ import ipaddress
from
models.database
import
TodoState
from
validators
import
CheckTodoDateByState
from
calendarpush
import
Client
as
CalendarClient
from
shared
import
current_user
import
config
...
...
@@ -38,6 +37,7 @@ def get_todostate_choices():
]
def
get_calendar_choices
(
protocoltype
=
None
):
from
calendarpush
import
Client
as
CalendarClient
calendars
=
CalendarClient
().
get_calendars
()
choices
=
[]
if
calendars
is
not
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment