etianen/django-reversion — Issue #96: RevisionManagementError hides other errors when using runserver_plus from django-extensions
Author: ugoertz
Created: 2011-10-23 20:30:22+00:00
State: open

When using the runserver_plus server provided by django-extensions (with Werkzeug), some (all?) errors in the application trigger a RevisionManagementError: Request finished with an open revision. All calls to revision.start() should be balanced by a call to revision.end().

E.g. if you try to call a URL with a non-existing view, you get a RevisionManagementError instead, which is quite confusing.

I am not sure whether this is a bug or an incompatibility that is not so easy to avoid. In the latter case, it might be useful to put a hint into the docs.