PYDJWIKI_MEDIA_ROOT not being defined

Bug #377197 reported by Louis Wilson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PyDjWiki
New
High
Unassigned

Bug Description

The PYDJWIKI_MEDIA_ROOT variable is not being defined by the PyDjWikiMiddleware middleware, which means that instead of linking to '/pydjwiki/pydj-media/base.css' (by default), the base.html template links to simply '/base.css', which is obviously incorrect.

Related branches

M. Nesvold (mdnesvold)
description: updated
Revision history for this message
M. Nesvold (mdnesvold) wrote :

On a clean checkout/install for me, the stylesheet is linked correctly, but isn't getting served correctly unless the app template directory is added to the TEMPLATE_DIRS setting.

I moved the issue of whether or not TEMPLATE_DIRS needs to be updated at installation (aren't all app directories searched by default?) to ticket #377492.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.