Opened 17 years ago

Closed 17 years ago

#5564 closed (fixed)

Error using startapp with SVN version of Django

Reported by: paul.nakata@… Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I'm following the getting started tutorial, using the SVN version of Django (0.97PRE).

When attempting to execute python manage.py startapp Polls I receive the following error:

Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File "c:\python25\Lib\site-packages\django\core\management\__init__.py", line
252, in execute_manager
    utility.execute()
  File "c:\python25\Lib\site-packages\django\core\management\__init__.py", line
203, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "c:\python25\Lib\site-packages\django\core\management\__init__.py", line
162, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "c:\python25\Lib\site-packages\django\core\management\__init__.py", line
49, in load_command_class
    {}, {}, ['Command']), 'Command')()
ImportError: No module named <django.core.management.commands.startapp.ProjectCo
mmand object at 0x00B598F0>.management.commands.startapp

Change History (1)

comment:1 by Russell Keith-Magee, 17 years ago

Resolution: fixed
Status: newclosed

(In [6402]) Fixed #5564 -- Fixed handling of the ProjectCommand used by startapp.

Note: See TracTickets for help on using tickets.
Back to Top