fix published draft posts in calendar
This commit is contained in:
@@ -83,8 +83,8 @@ def calendar(request):
|
||||
"""
|
||||
ICS-calendar for outlook, google calender,...
|
||||
"""
|
||||
# publish all events independent of authenticated user
|
||||
events = Event.all_events.published(False)
|
||||
# publish all events with status 'PUBLIC' and 'ONLY_INTERN' independent of authenticated user
|
||||
events = Event.all_events.published_all(True)
|
||||
|
||||
context = {
|
||||
"events": events,
|
||||
|
||||
Reference in New Issue
Block a user