В Сбт, 07/01/2006 в 08:41 -0800, PythonistL пишет: > For the production server (Apache with mod_Python) I have in my > settings.py > MEDIA_ROOT = "C:/Django/TEMPLATES/Static/" #Python Syntax eventhough > MEDIA_URL = "/Media/"
> For both( development and production server) then I use in my templates > <link rel="StyleSheet" href="/Media/Styly.Css" type-"text/css" > It seems, that you are isn't really using any MEDIA_ settings from conf. Some days ago i ran into needs of my project installation into '/twogre/' root.. So i urged to rewrite urlconf, update all my templates and css/js media. Thanks to Django, no code was touched. Is there a `portable` way of writing urls / passing settings right to templates, w\o having to write custom views and such mess?