django-cms / djangocms-moderation

Other
13 stars 21 forks source link

Feature/collection locks and status #42

Closed geoidesic closed 6 years ago

geoidesic commented 6 years ago

All done

geoidesic commented 6 years ago

It's all passing on tox. The test failures don't seem to correspond to the code: E.g.

  File "/home/circleci/app/djangocms_moderation/models.py", line 292, in submit_for_review
    self.status = self.IN_REVIEW
AttributeError: 'ModerationCollection' object has no attribute 'IN_REVIEW'

And here's line 292 from github:

292        self.status = constants.IN_REVIEW