﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
1416	[patch] [magic-removal] admin.views.main fixes	Nebojsa Djordjevic <nesh at studioquattro dot co dot yu>	Adrian Holovaty	"When I try to change user I got a following traceback in m-r [2434]:

{{{
TypeError at /admin/auth/user/1/
add() got an unexpected keyword argument 'message'
Request Method: 	POST
Request URL: 	        http://localhost:8000/admin/auth/user/1/
Exception Type: 	TypeError
Exception Value: 	add() got an unexpected keyword argument 'message'
Exception Location: 	/store/django_no_magic/django/contrib/admin/views/main.py in change_stage, line 347

/store/django_no_magic/django/contrib/admin/views/main.py in change_stage

 341. elif request.POST.has_key(""_saveasnew""):
 342. request.user.message_set.add(message=_('The %(name)s ""%(obj)s"" was added successfully. You may edit it again below.') % {'name': opts.verbose_name, 'obj': new_object})
 343. return HttpResponseRedirect(""../%s/"" % pk_value)
 344. elif request.POST.has_key(""_addanother""):
 345. request.user.message_set.add(message=msg + ' ' + (_(""You may add another %s below."") % opts.verbose_name))
 346. return HttpResponseRedirect(""../add/"")
 347. else:

 348. request.user.message_set.add(message=msg) ...

 349. return HttpResponseRedirect(""../"")
 350. else:
 351. # Populate new_data with a ""flattened"" version of the current data.
 352. new_data = manipulator.flatten_data()
 353.
 354. # TODO: do this in flatten_data...
}}}"	task	closed	Metasystem		blocker	fixed		nesh@…	Unreviewed	1	0	0	0	0	0
