Hmm, I thought the two tricks will get my Django working, but instead
I got this:
[EMAIL PROTECTED]:~/django-projects$ django-admin startproject
myproject
The program 'django-admin' is currently not installed. You can
install it by typing:
sudo apt-get install python-django
bash: django-admin: c
bobhaugen wrote:
> Following http://www.djangoproject.com/documentation/install/
>
> I'm stuck at the steps of setting up the symlinks to django.
> Step 3. ln -s `pwd`/django-trunk/django SITE-PACKAGES-DIR/django
> Step 4. ln -s `pwd`/django-trunk/django/bin/django-admin.py /usr/local/
> bin
>
>
:blush:
Forgot to type django-admin.py ... I saw that just after I posted :(
OK, it works with trunk versin, yeeey.
On Mar 26, 7:06 pm, Davorin <[EMAIL PROTECTED]> wrote:
> Hmm, I thought the two tricks will get my Django working, but instead
> I got this:
>
> [EMAIL PROTECTED]:~/django-project
On Feb 1, 3:37 pm, Brian Rosner <[EMAIL PROTECTED]> wrote:
> export PATH=/path/to/django/bin:$PATH
Thank you thank you! That is what I was missing.
> Also, it appears you are relying on a relative path. I would highly
> recommend you adjust the PYTHONPATH and how you setup the PATH to use
> an
> With echo @PYTHONPATH
> django-trunk:django-trunk/django/bin:django-trunk/django/bin/django-
> admin.py
> same error message.
>
Ok, there is a subtle difference that you are missing. PYTHONPATH and
PATH. They are two completely different environment variables.
PYTHONPATH is only for Python i
On Feb 1, 2:23 pm, Brian Rosner <[EMAIL PROTECTED]> wrote:
> Okay, to be honest, pretend you never read that. The bottom line is
> that Django only needs to be in your PYTHONPATH. By default Python
> already has its site-packages directory on the PYTHONPATH which is
> where this stems from. You ca
On 2008-02-01 12:54:48 -0700, bobhaugen <[EMAIL PROTECTED]> said:
>
> Following http://www.djangoproject.com/documentation/install/
>
> I'm stuck at the steps of setting up the symlinks to django.
> Step 3. ln -s `pwd`/django-trunk/django SITE-PACKAGES-DIR/django
> Step 4. ln -s `pwd`/django-tr
Following http://www.djangoproject.com/documentation/install/
I'm stuck at the steps of setting up the symlinks to django.
Step 3. ln -s `pwd`/django-trunk/django SITE-PACKAGES-DIR/django
Step 4. ln -s `pwd`/django-trunk/django/bin/django-admin.py /usr/local/
bin
One possible problem: not thinki
8 matches
Mail list logo