Commit efae942c by benjaoming

Merge branch 'python3' of github.com:benjaoming/django-wiki into python3

Conflicts:
	.travis/requirements.txt
	wiki/models/urlpath.py
	wiki/tests/__init__.py
	wiki/views/article.py
parents 3f88b01e 4040a489
...@@ -101,7 +101,6 @@ class Create(FormView, ArticleMixin): ...@@ -101,7 +101,6 @@ class Create(FormView, ArticleMixin):
messages.error(self.request, _("There was an error creating this article: %s") % str(e)) messages.error(self.request, _("There was an error creating this article: %s") % str(e))
else: else:
messages.error(self.request, _("There was an error creating this article.")) messages.error(self.request, _("There was an error creating this article."))
transaction.commit()
return redirect('wiki:get', '') return redirect('wiki:get', '')
url = self.get_success_url() url = self.get_success_url()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment