I've got django running fine and my app/project. I'm testing out a
deploy on a fresh machine and wanted to use django as a egg. Did the
following,and per the link on the django site, pulled out django-
admin.py (although won't need to run that on the deployed machines)
export PYTHONPATH=~/egg/Django-1.1_beta_1-py2.5.egg
(starting python and doing an import django works, with django.VERSION
reporting that eggs version)
$cd ~/mydjangoproject
Basically, any manage.py command gives the following error
$ python manage.py help
Usage: manage.py subcommand [options] [args]
Options:
-v VERBOSITY, --verbosity=VERBOSITY
Verbosity level; 0=minimal output, 1=normal
output, 2=all output
--settings=SETTINGS The Python path to a settings module, e.g.
"myproject.settings.main". If this
isn't provided, the DJANGO_SETTINGS_MODULE
environment variable will be used.
--pythonpath=PYTHONPATH
A directory to add to the Python path, e.g. "/
home/djangoprojects/myproject".
--traceback Print traceback on exception
--version show program's version number and exit
-h, --help show this help message and exit
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/home/deploy/eggs/Django-1.1_beta_1-py2.5.egg/django/core/
management/__init__.py", line 359, in execute_manager
File "/home/deploy/eggs/Django-1.1_beta_1-py2.5.egg/django/core/
management/__init__.py", line 293, in execute
File "/home/deploy/eggs/Django-1.1_beta_1-py2.5.egg/django/core/
management/__init__.py", line 240, in main_help_text
File "/home/deploy/eggs/Django-1.1_beta_1-py2.5.egg/django/core/
management/__init__.py", line 126, in get_commands
KeyError: 'startproject'
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---