Absolutní cesty nejsou zrovna dobrý nápad.
Nefunguje něco takového?
cp=os.getcwd()
MEDIA_ROOT = cp+‚/static/‘
Absolutní cesty nejsou zrovna dobrý nápad.
Nefunguje něco takového?
cp=os.getcwd()
MEDIA_ROOT = cp+‚/static/‘
funguje os.path.realpath(os.path.dirname(__file__))
více na http://zeroandone.posterous.com/top-10-tips-to-a-new-django-developer nebo http://morethanseven.net/2009/02/11/django-settings-tip-setting-relative-paths/