|
@ -23,7 +23,7 @@ def AktualniZadaniView(request): |
|
|
class CojemamOrganizatoriView(generic.ListView): |
|
|
class CojemamOrganizatoriView(generic.ListView): |
|
|
model = Organizator |
|
|
model = Organizator |
|
|
template_name='seminar/cojemam/organizatori.html' |
|
|
template_name='seminar/cojemam/organizatori.html' |
|
|
queryset = Organizator.objects.filter(user__is_active=True) |
|
|
queryset = Organizator.objects.filter(user__is_active=True).order_by('user__first_name') |
|
|
def get_context_data(self, **kwargs): |
|
|
def get_context_data(self, **kwargs): |
|
|
context = super(CojemamOrganizatoriView, self).get_context_data(**kwargs) |
|
|
context = super(CojemamOrganizatoriView, self).get_context_data(**kwargs) |
|
|
context['aktivni'] = True |
|
|
context['aktivni'] = True |
|
|