With regards,
Orbital Fox
Jonas
The easiest way I think is to use virtualenv, which creates a virtual
python environment in a directory that you have write access to. Do
you at least have shell access and python available?
> With regards,
> Orbital Fox
>
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to django-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>
>
The single most useful thing you're going to be able to do for
yourself is go work through the standard Python tutorial, specifically
the part which covers the import path:
http://docs.python.org/tutorial/modules.html#the-module-search-path
You can put Django -- and any other Python code -- anywhere you like,
so long as you set up the import path to include the place where
you've put it.
For bonus points, have a look at the distutils manual which will tell
you how to do one-off installs of packages into a directory of your
choice:
http://docs.python.org/install/index.html#alternate-installation
Or how to configure it to *always* install Python packages in a
directory of your choice:
http://docs.python.org/install/index.html#distutils-configuration-files
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
That way the django packages were installed in my folder. It worked
for a while (import django) but now it has stopped. I think the
environmental variables have been reset.
My other problem is that when I follow the tutorial to detup the
<location /> stuff, but in an htaccess file, it doesnt recognise the
python directives?!
Any ideas there?
I did the silly mistake of putting <location..> in the htaccess file..
If you are setting up a django app setting with htaccess you dont need
the <location.. > tag. Just the directives inside.
Also the Python directives are not recognised because the mod_python
is not installed/enabled.
Ill have to contact the hosting company about that (UK2.net). They
provide Ruby on Rails but not Django :/