On Tue, Apr 28, 2009 at 10:44 AM, bconnors <[email protected]> wrote:
> > export PYTHONPATH=/djsite/mysite > pubu...@pubuntu:~/djsite/mysite$ > pubu...@pubuntu:~/djsite/mysite$ > > pubu...@pubuntu:~/djsite/mysite$ python manage.py runserver > 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 > pubu...@pubuntu:~/djsite/mysite$ > > but it exists: > pubu...@pubuntu:~$ > + find -name management -print > ./djsite/mysite/django-trunk/django/core/management > ./djsite/mysite/django-trunk/django/contrib/auth/management > ./djsite/mysite/django-trunk/django/contrib/gis/management > ./djsite/mysite/django-trunk/django/contrib/sitemaps/management > ./djsite/mysite/django-trunk/tests/modeltests/user_commands/management > ./djsite/mysite/django-trunk/tests/regressiontests/admin_scripts/ > management > Do I copy /djsite/mysite/django-trunk/django/core/management > Into /djsite/mysite > > You need to set PYTHONPATH to ~/djsite/mysite/django-trunk (This is the same problem you had with svn cleanup not working -- you're specifying things one level up from where you need to. Your svn checkout of Django isn't in ~/djsite/mysite, it's in ~/djsite/mysite/django-trunk.) Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

