Skip to content

Commit

Permalink
fixes #264 revision history depth is not set to -10000 anymore if a m…
Browse files Browse the repository at this point in the history
…odel under publisher is saved
  • Loading branch information
Patrick Lauber committed Nov 24, 2009
1 parent 5b78f5d commit 0471d78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion publisher/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 0471d78

Please sign in to comment.