Opened 11 years ago

Closed 11 years ago

#5179 closed (fixed)

Broken startapp

Reported by: vsevolod.solovyov@… Owned by: Adrian Holovaty
Component: Core (Management commands) Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


After [5898] startapp is broken. Error looks very magically, as for me:

D:\test> startapp main
Traceback (most recent call last):
  File "D:\test\", line 11, in <module>
  File "C:\Python25\lib\site-packages\django\core\management\", line 180, in execute_manager
  File "C:\Python25\lib\site-packages\django\core\management\", line 124, in execute
    command.execute(*args[1:], **options.__dict__)
  File "C:\Python25\lib\site-packages\django\core\management\", line 33, in execute
    output = self.handle(*args, **options)
TypeError: handle() got an unexpected keyword argument 'indent'

But startapp.handle() has options.

Attachments (1)

r5898.diff (526 bytes) - added by vsevolod.solovyov@… 11 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 11 years ago by John Shaffer <jshaffer2112@…>

Component: Core
Triage Stage: UnreviewedAccepted

The Command.handle method does take options, but ProjectCommand.handle does not.

Changed 11 years ago by vsevolod.solovyov@…

Attachment: r5898.diff added

comment:2 Changed 11 years ago by vsevolod.solovyov@…

Has patch: set

Yes, you're right. I uploaded patch.

comment:3 Changed 11 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

(In [5901]) Fixed #5179 -- Added missing kwargs to startapp command. Thanks for the report, Vsevolod Solovyov <vsevolod.solovyov@…>.

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