Issue 37: Viewing thread causes save() error
Status:  Invalid
Owner: ----
Closed:  Oct 2008
Reported by aez...@gmail.com, Oct 12, 2008
What steps will reproduce the problem?
1. View any thread.
2. See a traceback about "save() takes exactly 1 argument (3 given)".

What is the expected output? What do you see instead?
Thread HTML is expected.

Instead I see this traceback:
Traceback:
File "/home/xxxxx/lib/python2.5/django/core/handlers/base.py" in get_response
  85.                 response = callback(request, *callback_args, **callback_kwargs)
File "/home/xxxxx/webapps/str/forum/views.py" in thread
  43.     t.save()
File "/home/xxxxx/webapps/str/forum/models.py" in save
  171.         f.save()
File "/home/xxxxx/webapps/str/forum/models.py" in save
  112.         super(Forum, self).save(force_insert, force_update)

Exception Type: TypeError at /forum/thread/1/
Exception Value: save() takes exactly 1 argument (3 given)

What version of the product are you using? On what operating system?
I am currently on rev. 24 of django-forum and rev. 8066 of geodjango branch.

Please provide any additional information below.
I suspect this is a problem with my django version, but wanted to report it just in case.


Oct 12, 2008
Project Member #1 rwpoul...@gmail.com
As of Django Trunk r8670, these two new options are used. See
http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#createandget_or_createwillneverupdateexistingobjects
for further information.

To get around this you will need to move to a newer release of Django. I'm not sure
whether GeoDjango is as up to date as trunk, so I can't really help there sorry.
Status: Invalid
Oct 12, 2008
#2 aez...@gmail.com
Sorry for the bogus report. I did update to the latest rev. of Django, which now includes GeoDjango and all is 
well. Thanks for the info and again, sorry for the bogus report.