Commits

mitar  committed 318a260

Missing variable.

  • Participants
  • Parent commits b72d1d3

Comments (0)

Files changed (1)

File sphinxdoc/views.py

                 searchqueryset=self.searchqueryset, load_all=self.load_all)
 
     def extra_context(self):
+        project = Project.objects.get(slug=self.slug)
         return {
-            'project': Project.objects.get(slug=self.slug),
+            'project': project,
             'env': json.load(open(
                     os.path.join(project.path, BUILDDIR,
                     'globalcontext.json'), 'rb')),