Code

Opened 7 years ago

Closed 7 years ago

#5564 closed (fixed)

Error using startapp with SVN version of Django

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

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

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.