[solved] virtualenv with dev server

2011-07-14 Thread Mike Dewhirst
Thank you - all four of you were on the money. Taking your advice this is what I did to fix it ... C:\users\miked\py\ssds <-- root C:\users\miked\py\ssds\Lib <-- virtualenv python installation C:\users\miked\py\ssds\Scripts <-- virtualenv python scripts C:\users\miked\py\ssds\src <-- project sou

Re: virtualenv with dev server

2011-07-14 Thread i...@webbricks.co.uk
theres two different versions of django listed there, you're not running the version in the virtualenv in one of those two listings. definitely activating the virtual env? then navigating into it to the folder manage.py is in? Matt On Jul 14, 8:54 am, Mike Dewhirst wrote: > Trying to get virtua

Re: virtualenv with dev server

2011-07-14 Thread Carles Barrobés
Try running > python Scripts\django-admin.py runserver On windows, the .py extension will be registered with your defaut installation of python and that's the one it's using if you call the script directly Carles On 14 Jul, 09:54, Mike Dewhirst wrote: > Trying to get virtualenv working for th

Re: virtualenv with dev server

2011-07-14 Thread Bill Freeman
How are you starting the dev server? I'm mostly familiar with *nix usage, but, in a nutshell, the only thing that python code needs to use the virtual environment is to be run with the correct python. On *nix, pretty much the only significant thing that activate is to tweak the environment's path

Re: virtualenv with dev server

2011-07-14 Thread Leonidas Tsampros
Mike Dewhirst writes: > Trying to get virtualenv working for the first time for a new project > and have stumbled somehow. I can get it working as advertised (see > below) but django dev server doesn't notice. > > Any hints appreciated ... > > ||| here is virtualenv being activated > > C:\users\mi

virtualenv with dev server

2011-07-14 Thread Mike Dewhirst
Trying to get virtualenv working for the first time for a new project and have stumbled somehow. I can get it working as advertised (see below) but django dev server doesn't notice. Any hints appreciated ... ||| here is virtualenv being activated C:\users\miked\py\ssds>Scripts\activate (ssds)