Commits

Tomas Cirip committed 9312f4d

Added missing BUILDDIR in views.images and views.source

  • Participants
  • Parent commits 9596f4a

Comments (0)

Files changed (1)

sphinxdoc/views.py

     project = get_object_or_404(Project, slug=slug)
     return serve(
         request, 
-        document_root = os.path.join(project.path, '_images'),
+        document_root = os.path.join(project.path, BUILDDIR, '_images'),
         path = path,
     )
     
     project = get_object_or_404(Project, slug=slug)
     return serve(
         request,
-        document_root = os.path.join(project.path, '_sources'),
+        document_root = os.path.join(project.path, BUILDDIR, '_sources'),
         path = path,
     )