My solution is that I have a site-enabled nginx host listening on
http://media.site/ which has a document root at say /var/www/site/.
I set my MEDIA_URL = http://media.site/. I import MEDIA_URL into
views and send it to the template with say render_to_response().
So, in the stylesheet link for
ok, I have been trying to set up Apache and mod_python. I followed all
the tutorials,
i seem to be getting the similar to error to alot of ppl but the
solutions don't work for me.
ImportError: Could not import settings 'bltss.settings' (Is it on
sys.path? Does it have syntax errors?): No module n
Hi there
I'm also somewhat new to Django and the mailing list, so somebody else
probably has a better solution.
However, here's the solution I found to this problem:
http://docs.djangoproject.com/en/dev/howto/static-files/?from=olddocs
I hope it helps. Please note the disclaimer on that page,
On Mon, Jan 12, 2009 at 3:25 AM, pyramid...@gmail.com
wrote:
>
> Im trying to get the template to load the CSS, but it does not load,
> the server output shows a 404.
...
> preferably i dont want the css file there but in a global location,
> can someone tell me whats going on here?
See:
http:/
4 matches
Mail list logo