Commits

Ches Martin committed 627982b

SA save() => save_or_update(). Stricter behavior in 0.4.1 breaks QuickWiki when editing an existing page

Comments (0)

Files changed (1)

quickwiki/controllers/page.py

         c.title = page.title
         c.content = page.get_wiki_content()
         c.message = 'Successfully saved'
-        Session.save(page)
+        Session.save_or_update(page)
         Session.commit()
         return render('/page.mako')