core: add basic model against which rules can be checked

This commit is contained in:
Jens Langhammer
2018-11-22 13:12:59 +01:00
parent 849f9c9251
commit 095a5c0268
7 changed files with 31 additions and 15 deletions

View File

@ -11,5 +11,5 @@ class OverviewView(LoginRequiredMixin, TemplateView):
template_name = 'overview/index.html'
def get_context_data(self, **kwargs):
kwargs['applications'] = self.request.user.applications.objects.all()
kwargs['applications'] = self.request.user.applications.all()
return super().get_context_data(**kwargs)