Opened 17 years ago
Closed 17 years ago
#5179 closed (fixed)
Broken manage.py startapp
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Core (Management commands) | Version: | dev |
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 |
Description
After [5898] manage.py startapp is broken. Error looks very magically, as for me:
D:\test>manage.py startapp main Traceback (most recent call last): File "D:\test\manage.py", line 11, in <module> execute_manager(settings) File "C:\Python25\lib\site-packages\django\core\management\__init__.py", line 180, in execute_manager utility.execute(argv) File "C:\Python25\lib\site-packages\django\core\management\__init__.py", line 124, in execute command.execute(*args[1:], **options.__dict__) File "C:\Python25\lib\site-packages\django\core\management\base.py", line 33, in execute output = self.handle(*args, **options) TypeError: handle() got an unexpected keyword argument 'indent'
But startapp.handle() has options.
Attachments (1)
Change History (4)
comment:1 by , 17 years ago
Component: | Core framework → django-admin.py |
---|---|
Triage Stage: | Unreviewed → Accepted |
by , 17 years ago
Attachment: | r5898.diff added |
---|
comment:3 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The Command.handle method does take options, but ProjectCommand.handle does not.