Assuming that you're talking about runserver, then use the python
that you want when you invoke manage:
/home/me/bin/my_special_python manage.py runserver
You could also edit the first line of manage.py to specify the path
to that python, make sure that manage.py has it's execute bit(s)
set (*
The best option is to use buildout (there is no need for creating
virtualenv - much more simple and much more flexible solution). Also
it will be easier to further deploy your projects.
The second option is to modify your manage.py script by adding custom
path to it ie.
import sys
sys.path[0:0] =
also checkout buildout which does a similar thing to virtualenv but
also allows you to specify the exact interpreter and all
dependencies / eggs / apps and installs those.
it makes development very portable since you can quickly set up the
exact same environment (including a specific python inter
On Mar 10, 11:41 pm, Abhinov wrote:
> Hi All,
>
> How to make my django use a different python interpreter located at
> some random location ?
> Any help will be of great help.
>
> Regards,
> Abhinov
I'll second Bjunix's recommendation of checking out virtualenv. It
will probably do what you need
You may want to take a look at virtualenv[1].
[1] http://pypi.python.org/pypi/virtualenv
On Mar 11, 5:41 am, Abhinov wrote:
> Hi All,
>
> How to make my django use a different python interpreter located at
> some random location ?
> Any help will be of great help.
>
> Regards,
> Abhinov
--
You
On Mar 11, 3:41 pm, Abhinov wrote:
> Hi All,
>
> How to make my django use a different python interpreter located at
> some random location ?
> Any help will be of great help.
How are you hosting it?
Are you talking about Django runserver or some other hosting mechanism
such as mod_python, mod
Hi All,
How to make my django use a different python interpreter located at
some random location ?
Any help will be of great help.
Regards,
Abhinov
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us.
7 matches
Mail list logo