<commit_before>====================================
Django (yet another) Model Publisher
====================================

Django model mixins and utilities for a standard publisher workflow.

This is a fork of `andersinno/django-model-publisher-ai <https://github.com/andersinno/django-model-publisher-ai>`_ witch is a fork of the origin `wearehoods/django-ya-model-publisher <https://github.com/wearehoods/django-ya-model-publisher>`_.

+---------------------------------+-------------------------------------------------------+
| |Build Status on travis-ci.org| | `travis-ci.org/wearehoods/django-ya-model-publisher`_ |
+---------------------------------+-------------------------------------------------------+
| |Coverage Status on codecov.io| | `codecov.io/gh/wearehoods/django-ya-model-publisher`_ |
+---------------------------------+-------------------------------------------------------+

.. |Build Status on travis-ci.org| image:: https://travis-ci.org/wearehoods/django-ya-model-publisher.svg
.. _travis-ci.org/wearehoods/django-ya-model-publisher: https://travis-ci.org/wearehoods/django-ya-model-publisher/
.. |Coverage Status on codecov.io| image:: https://codecov.io/github/wearehoods/django-ya-model-publisher/coverage.svg
.. _codecov.io/gh/wearehoods/django-ya-model-publisher: https://codecov.io/gh/wearehoods/django-ya-model-publisher

--------
Features
--------

* Django CMS placeholders support.

* Hvad/Parler support.

* Restrict user access to publish functions with user permissions.

-------
Roadmap
-------

* Implement a "request/reject/accept publishing" workflow with a shot messages and logging

--------------------
Django compatibility
--------------------

+---------------------------+----------------------+--------------------+
| django-ya-model-publisher | django version       | python             |
+===========================+======================+====================+
| v0.4.x                    | 1.8, 1.9, 1.10, 1.11 | 2.7, 3.4, 3.5, 3.6 |
+---------------------------+----------------------+--------------------+

Note: See travis/tox config files for current test matrix

---------
run tests
---------

run tests via *py.test* with current python/environment:

::

    $ make test
    or
    $ ./setup.py test
    or
    $ python tests/manage.py test myapp

run test via *tox* e.g.:

::

    $ make tox
    or
    $ ./setup.py tox
    or
    $ tox

-------
history
-------

* v0.4.1 - 14.11.2017

    * Refactor test run setup

    * bugfix project name

* v0.4.0.dev1 - 14.11.2017

    * Just create the fork and apply all pull requests from `andersinno/django-model-publisher-ai/pull/14 <https://github.com/andersinno/django-model-publisher-ai/pull/14>`_
<commit_msg>update docs/readme.rst<commit_after>====================================
Django (yet another) Model Publisher
====================================

Django model mixins and utilities for a standard publisher workflow.

This is a fork of `andersinno/django-model-publisher-ai <https://github.com/andersinno/django-model-publisher-ai>`_ which is a fork of the origin `jp74/django-model-publisher <https://github.com/jp74/django-model-publisher>`_.

+---------------------------------+-------------------------------------------------------+
| |Build Status on travis-ci.org| | `travis-ci.org/wearehoods/django-ya-model-publisher`_ |
+---------------------------------+-------------------------------------------------------+
| |Coverage Status on codecov.io| | `codecov.io/gh/wearehoods/django-ya-model-publisher`_ |
+---------------------------------+-------------------------------------------------------+

.. |Build Status on travis-ci.org| image:: https://travis-ci.org/wearehoods/django-ya-model-publisher.svg
.. _travis-ci.org/wearehoods/django-ya-model-publisher: https://travis-ci.org/wearehoods/django-ya-model-publisher/
.. |Coverage Status on codecov.io| image:: https://codecov.io/github/wearehoods/django-ya-model-publisher/coverage.svg
.. _codecov.io/gh/wearehoods/django-ya-model-publisher: https://codecov.io/gh/wearehoods/django-ya-model-publisher

--------
Features
--------

* Django CMS placeholders support.

* Hvad/Parler support.

* Restrict user access to publish functions with user permissions.

--------------------
Django compatibility
--------------------

+---------------------------+----------------------+--------------------+
| django-ya-model-publisher | django version       | python             |
+===========================+======================+====================+
| v0.4.x                    | 1.8, 1.9, 1.10, 1.11 | 2.7, 3.4, 3.5, 3.6 |
+---------------------------+----------------------+--------------------+

Note: See travis/tox config files for current test matrix

---------
run tests
---------

run tests via *py.test* with current python/environment:

::

    $ make test
    or
    $ ./setup.py test
    or
    $ python tests/manage.py test myapp

run test via *tox* e.g.:

::

    $ make tox
    or
    $ ./setup.py tox
    or
    $ tox

-------
history
-------

* **dev** - `compare v0.4.1...develop <https://github.com/wearehoods/django-ya-model-publisher/compare/v0.4.1...develop>`_ 

    * Implement "request/reject/accept publishing" workflow with a shot messages and logging

* v0.4.1 - 14.11.2017 - `compare v0.4.0.dev1...v0.4.1 <https://github.com/wearehoods/django-ya-model-publisher/compare/v0.4.0.dev1...v0.4.1>`_ 

    * Refactor test run setup

    * bugfix project name

* v0.4.0.dev1 - 14.11.2017 - `compare v0.3.1...v0.4.0.dev1 <https://github.com/wearehoods/django-ya-model-publisher/compare/v0.3.1...v0.4.0.dev1>`_ 

    * Just create the fork and apply all pull requests from `andersinno/django-model-publisher-ai/pull/14 <https://github.com/andersinno/django-model-publisher-ai/pull/14>`_

{'fraction_non_alphanumeric': 0.33298773112147917, 'fraction_numerical': 0.02280974598237429, 'mean_word_length': 1.769377990430622, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 17, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5237569', 'n_tokens_mistral': 1816, 'n_tokens_neox': 1693, 'n_words': 339}