PyLucid and the
django admin panel needs some
static media files (e.g. JavaScript, CSS).
You will get some JavaScript alert messages, if the browser can't load those
static media files.
The static media files are here:
If you use virtualenv you must symlink or copy the files together:
It's plant to use The staticfiles app, see: https://github.com/jedie/PyLucid/issues/55
| /var/www/YourSite/media/PyLucid/ | PyLucid_env/src/pylucid/pylucid_project/media/PyLucid/ |
| /var/www/YourSite/media/django/ | PyLucid_env/lib/python2.6/site-packages/django/contrib/admin/media/ |
In the standalone package are the media files in the right place. No copy needed.
You must the right path to media files in your local_settings.py, e.g.:
(This would be automatically done if you used the 'create a new page instance' script)
Because of the browser 'same origin policy' it's not a good idea to put the static media on a other domain!
django-processinfo: 6.4 ms of 291.3 ms (2.2%)