1. Stefan Scherfke
  2. django-sphinxdoc

Commits

Tomas Cirip  committed 9312f4d

Added missing BUILDDIR in views.images and views.source

  • Participants
  • Parent commits 9596f4a
  • Branches default

Comments (0)

Files changed (1)

File sphinxdoc/views.py

View file
     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,
     )