Opened 8 years ago

Closed 8 years ago

#5179 closed (fixed)

Broken startapp

Reported by: vsevolod.solovyov@… Owned by: adrian
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: UI/UX:


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@… 8 years ago.

Download all attachments as: .zip

Change History (4)

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

  • Component changed from Core framework to
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

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

Changed 8 years ago by vsevolod.solovyov@…

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

  • Has patch set

Yes, you're right. I uploaded patch.

comment:3 Changed 8 years ago by russellm

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

(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