예제 #1
0
파일: views.py 프로젝트: mcw-rcc/coldfront
 def get_context_data(self, *args, **kwargs):
     context = super().get_context_data(*args, **kwargs)
     context['user_search_form'] = UserSearchForm()
     context['project'] = Project.objects.get(pk=self.kwargs.get('pk'))
     return context
예제 #2
0
 def get_context_data(self, *args, **kwargs):
     context = super().get_context_data(*args, **kwargs)
     context['user_search_form'] = UserSearchForm()
     return context