Re: setting up django with virtualenv on windows7

2012-06-25 Thread Jani Tiainen

26.6.2012 0:39, Dan Johnson kirjoitti:

On 06/25/2012 03:12 PM, mymlyn wrote:

i started a topic on stackoverflow, analysing responses on SO, on
similar topics, im not really sure wether ill get any feedback there
so im gonna try here :) described my problem here:
http://stackoverflow.com/questions/11193905/setting-up-django-with-virtualenv-on-windows7/


could any1 explain to me why isnt this working? //or how is this
supposed to work if everything was ok


import django
django.__path__
should return to you where it is installed. Check to make sure that it
is installed inside the virtualenv. I've noticed that sometimes under
windows I need to activate and deactivate the instance for pip to work
correctly, not sure why.



I've never needed to do anything extra. One thing that happens is that 
standard windows command prompt happens to bound .py(w) extensions to 
use python from c:\python27\ directory and not ones within virtualenv.


See more in my blog entry how I and my team has done it:
http://djangonautlostinspace.wordpress.com/2012/04/16/django-and-windows/

--
Jani Tiainen

- Well planned is half done and a half done has been sufficient before...

--
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: setting up django with virtualenv on windows7

2012-06-25 Thread Dan Johnson

On 06/25/2012 03:12 PM, mymlyn wrote:

i started a topic on stackoverflow, analysing responses on SO, on
similar topics, im not really sure wether ill get any feedback there
so im gonna try here :)  described my problem here:
http://stackoverflow.com/questions/11193905/setting-up-django-with-virtualenv-on-windows7/

could any1 explain to me why isnt this working? //or how is this
supposed to work if everything was ok


import django
django.__path__
should return to you where it is installed.   Check to make sure that it 
is installed inside the virtualenv.  I've noticed that sometimes under 
windows I need to activate and deactivate the instance for pip to work 
correctly, not sure why.


--
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



setting up django with virtualenv on windows7

2012-06-25 Thread mymlyn
i started a topic on stackoverflow, analysing responses on SO, on
similar topics, im not really sure wether ill get any feedback there
so im gonna try here :)  described my problem here:
http://stackoverflow.com/questions/11193905/setting-up-django-with-virtualenv-on-windows7/

could any1 explain to me why isnt this working? //or how is this
supposed to work if everything was ok

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.