Skip to content
Snippets Groups Projects

Introduce hidden events

Merged Benjamin Hättasch requested to merge feature-event-public into master
6 files
+ 187
149
Compare changes
  • Side-by-side
  • Inline
Files
6
+ 2
1
@@ -14,9 +14,10 @@ class DashboardView(TemplateView):
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context['events'] = Event.objects.all()
context['events'] = Event.objects.filter(public=True)
return context
class DashboardEventView(DetailView):
template_name = 'AKDashboard/dashboard_event.html'
context_object_name = 'event'
Loading