Ticket #1126 (closed defect: worksforme)
TypeError: handle() got multiple values for keyword argument 'added_model_list'
| Reported by: | waverider6 | Owned by: | andrew |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | migrations | Version: | 0.7.5 |
| Keywords: | Cc: |
Description
Hi,
When I run:
python manage.py schemamigration api –auto session_model_added
I get:
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/Library/Frameworks/Python?.framework/Versions/2.7/lib/python2.7/site-packages/django/core/management/init.py", line 443, in execute_from_command_line
utility.execute()
File "/Library/Frameworks/Python?.framework/Versions/2.7/lib/python2.7/site-packages/django/core/management/init.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Library/Frameworks/Python?.framework/Versions/2.7/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, options.dict)
File "/Library/Frameworks/Python?.framework/Versions/2.7/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
output = self.handle(*args, options)
TypeError?: handle() got multiple values for keyword argument 'added_model_list'
Can't figure out what the problem is. Your help would be highly appreciated!

You've got a long dash (–) rather than two hyphens (--) - fix that and it should work fine.