Exception on add, create, delete for versions < Django 1.4
Closed this issue · 0 comments
chrisdev commented
Exception Value: create() takes exactly 1 argument (2 given)
Introduced in the fix for issue#18 My bad!!
The code is
request.user.message_set.create(msg)
But it should be:
request.user.message_set.create(message=msg)
Change in add(),change() and delete() methods