Hi,

I have 2 servers with my django app:
The first one has python2.5 as default python and the second don't (It
has python2.5 installed together with the older version).
I want to run dumpdata from my application and I have the following
problem:
If I call: "python manage.py dumpdata" the second server won't work.
If I call: "python2.5 manage.py dumpdata" the first server won't
work.
I mean, I will get the following error:

Traceback (most recent call last):
  File "manage.py", line 2, in <module>
    from django.core.management import execute_manager
ImportError: No module named django.core.management

How can I find the right python version to call? Maybe I can take it
from PYTHONPATH? If yes, where can I find it?

Thanks, Alex A.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to