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
def get_context_data(self, *args, **kwargs): context = super().get_context_data(*args, **kwargs) context['user_search_form'] = UserSearchForm() return context