Source

django-cms-mycmsproject-toporojo / cms / publisher / errors.py

Full commit
1
2
3
4
5
6
7
# -*- coding: utf-8 -*-
class PublisherCantPublish(Exception):
    """Publisher can not publish instance, because there is something wrong"""

class MpttPublisherCantPublish(PublisherCantPublish):
    """Node is under mptt and can't be published because node parent isn't
    published."""