…r. Added PublisherQuerySet - defultly used by PuvlisherManager. Some tests fixed.
- get_home_pk_cache() is forbidden, use home_pk_cache getter instead, it returns home_pk deending on draft or public instance (they dont have to be the same always) - added methods to MpttPublisher for filtered siblings - added MODERATOR_NEED_DELETE_APPROVEMENT flag to page model, fixed page deletion - fixed several acessor problems, - plugin deletion and marking for deletion - collecting of marked objects and deletion works Things to do: - printouts removing - migrations - preview link of public page in tree interface - get_absolute_url and other folks - pubmod test modifications and testing - publisher documentation (known limitations)
- added PublisherMeta to Publisher model and PublisherOptions object, now just for field exclusion - simplified publisher, bit cleaner - new abstract model MpttPublisher - includes Mptt and Publisher, use this instead old (Publisher, Mptt) - Page, CMSPlugin are now extending MpttPublisher - and lot more in publisher
- publisher cleanup, refactor, publisher now uses only one table (using 2 tables had lead to several problems with mptt structure) - methods from PageManager moved to PageQuerySet, PageQuerySet assigned to PageManager - removed unused PageManager method drafts - replaced with Publisher drafts() - removed functions ^get_(page|title|cmsplugin)_model$; replaced with get_page_queryset, get_title_queryset, get_cmsplugin_queryset - no migrations change!! (migrations just aren't working for now)