Commits

mitar committed 9ba3a89

Additional context to search view so that project information is available in the template.

Comments (0)

Files changed (1)

         """
         return self.form_class(self.request.GET, slug=self.slug,
                 searchqueryset=self.searchqueryset, load_all=self.load_all)
+
+    def extra_context(self):
+        return {
+            'project': Project.objects.get(slug=self.slug),
+        }