Re: virtualenv help needed

2014-05-28 Thread Lachlan Musicman
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 cdsitepackages command when in
the venv. But you shouldn't really put your data in there. The Two
Scoops of Django book has a good example of choices available and then
good reasoning for the style they recommend. It's worth the read.

cheers
L.

On 29 May 2014 12:54, Kelvin Wong  wrote:
> 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 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't find any django folder inside dist-package.
>> Can anyone help me out with this, how should I allocate proper path to it?
>>
>> Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/82e56ae6-3a52-4776-b307-de269997ac46%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
The idea is that a beautiful image is frameable. Everything you need
to see is there: It’s everything you want, and it’s very pleasing
because there’s no extra information that you don’t get to see.
Everything’s in a nice package for you. But sublime art is
unframeable: It’s an image or idea that implies that there’s a bigger
image or idea that you can’t see: You’re only getting to look at a
fraction of it, and in that way it’s both beautiful and scary, because
it’s reminding you that there’s more that you don’t have access to.
It’s now sort of left the piece itself and it’s become your own
invention, so it’s personal as well as being scary as well as being
beautiful, which is what I really like about art like that.
---
Adventure Time http://theholenearthecenteroftheworld.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGBeqiO7Axg_dGBEjK%3Di_3_HG5n5kkZvcxFFsTT0%2BJ1GAF_usw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: virtualenv help needed

2014-05-28 Thread Kelvin Wong
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 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't find any django folder inside 
> dist-package. Can anyone help me out with this, how should I allocate 
> proper path to it?
>
> Thank you.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/82e56ae6-3a52-4776-b307-de269997ac46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: virtualenv help needed

2014-05-28 Thread carlos
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
apps

if need find media of django you
find django14/lib/python2.7/site-packages/django/...

Cheers


On Wed, May 28, 2014 at 10:40 AM, Deepak Sharma wrote:

> 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't find any django folder inside
> dist-package. Can anyone help me out with this, how should I allocate
> proper path to it?
>
> Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f7e72e87-c1d0-4065-983d-6e1f1b77ccca%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAM-7rO1rhGvbkmbN%2BdM1zcNmH50RVeiBpy8zmbbun33sAW%2BtcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


virtualenv help needed

2014-05-28 Thread Deepak Sharma
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't find any django folder inside 
dist-package. Can anyone help me out with this, how should I allocate 
proper path to it?

Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f7e72e87-c1d0-4065-983d-6e1f1b77ccca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.