El sábado, 5 de enero de 2013 15:38:32 UTC-3, Mārtiņš Jakubovičs escribió:
Hello.--I try a lot of things and can't understand, why not working STATIC_ROOT and MEDIA_ROOT in settings.py.I want, that all my media and static folders is in different place that python files, so I set media, static and templates to different place. Templates TEMPLATE_DIRS works well, bet MEDIA_ROOT and STATIC_ROOT not.I try setup like this:/home/domain/www/my_proj/ there is project folder and all apps, and there I place my htdocs folder, in which is static, templates and media folders.When i set in STATIC_ROOT = '/home/domain/www/my_proj/htdocs/static' In apache error log i got:File does not exist: /home/domain/www/my_proj/my_proj/static I don't get, why django don't want to take new setting...I use django 1.4.Thanks.
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/LI1154qhJUkJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment