A year before I developed an applciation in django==1.4.5 version. Few days
before I installed virtualenv with django version 1.4.5. In my application
I have to place "media" folder inside
/usr/local/lib/[ython2.7/dist-package/django/contrib/admin/media but after
installating virtualenv I didn'
Hi, when install virtualenv you need create yours enviroments then you need
install all application you need
example:
$virtualenv django14 #create your enviroments
$source django14/bin/activate #activate your enviroments
$pip install django==1.4.5 #install all you need application o third party
Why are you placing user media in your /usr/local/.../dist-package
directories? (Debian?)
Wouldn't it make more sense to place them somewhere in /srv or /var?
https://docs.djangoproject.com/en/1.6/howto/static-files/
K
On Wednesday, May 28, 2014 9:40:54 AM UTC-7, Deepak Sharma wrote:
>
> A yea
Two things:
1. Put your media local to your site - I use
/home/user/www/dj-project/static and
/home/user/www/dj-project/collected_media for project at
/home/user/www/dj-project/
2. The place you are referring to is inside the virtual env's little
jail. You can find that by using the cdsitepackage
4 matches
Mail list logo