Static File "debug_toolbar/css/print.css" Does Not Exist When Starting Kiwi Tcms
Solution 1:
The bug you hit has to do with the (now rectified, former) behavior of the tcms.tests.storage.RaiseWhenFileNotFound
storage class.
This storage class is used during testing and development (set in tcms/settings/devel.py
) to discover missing static files so that KiwiTCMS developers can get an early warning if they mess something up.
At the time you encountered the bug, this storage class wasn't working well on Windows because it didn't take into consideration when discovering files that the path separator on Windows is \\
.
So, while it discovered the static files on Windows alright, it could never find a match for them against what was specified in the Django templates — the static files in the templates were specified with the familiar /
as path separators.
But that was then.
It's a different story now. The aforementioned storage class has been rewritten to work well on Windows, and so you should not be hitting this bug any longer.
Solution 2:
pip install -r requirements/devel.txt
b/c debug-toolbar is only enabled in devel mode
Post a Comment for "Static File "debug_toolbar/css/print.css" Does Not Exist When Starting Kiwi Tcms"