{"id":18831356,"url":"https://github.com/django-cms/djangocms-moderation","last_synced_at":"2025-04-14T04:16:15.901Z","repository":{"id":37095787,"uuid":"84493862","full_name":"django-cms/djangocms-moderation","owner":"django-cms","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-07T18:13:41.000Z","size":2003,"stargazers_count":17,"open_issues_count":10,"forks_count":20,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-14T04:16:09.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/django-cms.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-09T22:17:50.000Z","updated_at":"2025-03-28T19:36:43.000Z","dependencies_parsed_at":"2024-02-05T19:39:02.035Z","dependency_job_id":"613f4bfb-4c5d-4faa-9e1a-75e42496f5bf","html_url":"https://github.com/django-cms/djangocms-moderation","commit_stats":null,"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/django-cms%2Fdjangocms-moderation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/django-cms%2Fdjangocms-moderation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/django-cms%2Fdjangocms-moderation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/django-cms%2Fdjangocms-moderation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/django-cms","download_url":"https://codeload.github.com/django-cms/djangocms-moderation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248819409,"owners_count":21166477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T01:53:30.373Z","updated_at":"2025-04-14T04:16:15.889Z","avatar_url":"https://github.com/django-cms.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"*********************\ndjango CMS Moderation\n*********************\n\n============\nInstallation\n============\n\nRequirements\n============\n\ndjango CMS Moderation requires that you have a django CMS 4.0 (or higher) project already running and set up.\n\ndjangocms-versioning is also required along with django-fsm which should be installed with versioning.\n\n\nTo install\n==========\n\nRun::\n\n    pip install git+git://github.com/django-cms/djangocms-moderation@master#egg=djangocms-moderation\n\nAdd the following to your project's ``INSTALLED_APPS``:\n\n- ``'djangocms_moderation'``\n- ``'adminsortable2'``\n\nRun::\n\n    python manage.py migrate djangocms_moderation\n\nto perform the application's database migrations.\n\nConfiguration\n=============\n\nThe following settings can be added to your project's settings file to configure django CMS Moderation's behavior:\n\n.. list-table::\n   :header-rows: 1\n   :widths: 50 50\n\n   * - Setting\n     - Description\n   * - ``CMS_MODERATION_DEFAULT_COMPLIANCE_NUMBER_BACKEND``\n     - Default backend class for generating compliance numbers.\n       Default is ``djangocms_moderation.backends.uuid4_backend``.\n   * - ``CMS_MODERATION_COMPLIANCE_NUMBER_BACKENDS``\n     - List of available compliance number backend classes.\n       By default, three backends are configured: ``uuid4_backend``,\n       ``sequential_number_backend``, and\n       ``sequential_number_with_identifier_prefix_backend``.\n   * - ``CMS_MODERATION_ENABLE_WORKFLOW_OVERRIDE``\n     - Enable/disable workflow override functionality. Defaults to ``False``.\n   * - ``CMS_MODERATION_DEFAULT_CONFIRMATION_PAGE_TEMPLATE``\n     - Default template for confirmation pages. Defaults to\n       ``djangocms_moderation/moderation_confirmation.html``\n   * - ``CMS_MODERATION_CONFIRMATION_PAGE_TEMPLATES``\n     - List of available confirmation page templates. Only includes the\n       default template by default.\n   * - ``CMS_MODERATION_COLLECTION_COMMENTS_ENABLED``\n     - Enable/disable comments on collections. Defaults to ``True``.\n   * - ``CMS_MODERATION_REQUEST_COMMENTS_ENABLED``\n     - Enable/disable comments on requests. Defaults to ``True``.\n   * - ``CMS_MODERATION_COLLECTION_NAME_LENGTH_LIMIT``\n     - Maximum length for collection names. Defaults to ``24``.\n   * - ``EMAIL_NOTIFICATIONS_FAIL_SILENTLY``\n     - Control email notification error handling. Defaults to ``False``.\n\nExample Configuration\n---------------------\n\nAdd these settings to your project's settings file:\n\n.. code-block:: python\n\n    # Custom compliance number backend\n    CMS_MODERATION_DEFAULT_COMPLIANCE_NUMBER_BACKEND = 'myapp.backends.CustomComplianceNumberBackend'\n\n    # Enable workflow override\n    CMS_MODERATION_ENABLE_WORKFLOW_OVERRIDE = True\n\n    # Custom confirmation template\n    CMS_MODERATION_DEFAULT_CONFIRMATION_PAGE_TEMPLATE = 'custom_confirmation.html'\n\n    # Enable comments\n    CMS_MODERATION_COLLECTION_COMMENTS_ENABLED = True\n    CMS_MODERATION_REQUEST_COMMENTS_ENABLED = True\n\n    # Set collection name length limit\n    CMS_MODERATION_COLLECTION_NAME_LENGTH_LIMIT = 100\n\n    # Control email notification errors\n    EMAIL_NOTIFICATIONS_FAIL_SILENTLY = False\n\n=============\nDocumentation\n=============\n\nWe maintain documentation under ``docs`` folder using rst format. HTML documentation can be generated using the following commands\n\nRun::\n\n    cd docs/\n    make html\n\nThis should generate all html files from rst documents under the `docs/_build` folder, which can be browsed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjango-cms%2Fdjangocms-moderation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjango-cms%2Fdjangocms-moderation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjango-cms%2Fdjangocms-moderation/lists"}