Sunday, November 27, 2011

Re: filesystem path in settings.py

I read it but after following all steps in it the error still remains.

 '/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg',
'/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2',
'/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old',
'/usr/lib/python2.6/lib-dynload',
'/usr/local/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages/PIL',
'/usr/lib/pymodules/python2.6',
'/usr/lib/pymodules/python2.6/gtk-2.0',
'/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode'
I did symlink to /usr/bin/local but still get path error. Please help.


On Fri, Nov 25, 2011 at 4:44 AM, Timothy Makobu <makobu.mwambiriro@gmail.com> wrote:
And this too http://www.djangobook.com/en/2.0/


On Fri, Nov 25, 2011 at 7:41 AM, Timothy Makobu <makobu.mwambiriro@gmail.com> wrote:
Hi,



On Fri, Nov 25, 2011 at 6:28 AM, TANYA <taninat@gmail.com> wrote:
# Absolute filesystem path to the directory that will hold user-uploaded files.
# Example: "/home/media/media.lawrence.com/media/"
MEDIA_ROOT = ''

I want to upload css files and images so must I put them in /home/media or /home/my/media/path/ ? Should the filesystem path in settings.py be changed or should MEDIA_ROOT be left empty?

--
TANYA

--
You received this message because you are subscribed to the Google Groups "Django users" group.
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.


--
You received this message because you are subscribed to the Google Groups "Django users" group.
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.



--
TANYA

--
You received this message because you are subscribed to the Google Groups "Django users" group.
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