Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes #264 revision history depth is not set to -10000 anymore if a m…

…odel under publisher is saved
  • Loading branch information...
commit 0471d784e5533029143b11cae08c06466c99c02d 1 parent 5b78f5d
@digi604 digi604 authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 publisher/models.py
View
4 publisher/models.py
@@ -237,7 +237,9 @@ def _publisher_pre_save_public(self, obj):
if 'reversion' in settings.INSTALLED_APPS:
import reversion
self.old_reversion_state_depth = reversion.revision._state.depth
- reversion.revision._state.depth = - 10000
+ # commented out because of bugs
+ # see http://github.com/digi604/django-cms-2.0/issues/#issue/264
+ #reversion.revision._state.depth = - 10000
def _publisher_save_public(self, obj):
Please sign in to comment.
Something went wrong with that request. Please try again.