From 0f65aa8220a7c4b8c8c937327b16c7d7a94464be Mon Sep 17 00:00:00 2001 From: Mark Walker Date: Thu, 26 Oct 2023 11:40:40 +0100 Subject: [PATCH] chore: Package overhaul (#140) * ci: Update pre-commit * ci: Run ruff formatter * build: Move package in to src dir * test: Update requirements building * chore: Keeping git happy after moving to src * ci: Add dependabot config * ci: Update tests to run tox * build: Project config * test: Update tox setup * build: Update setup to build_meta * ci: Update pypi workflows * ci: Update linter to ruff * chore: Fix RUF012 * ci: Update linter trigger * chore: Drop python 3.8 * chore: Drop python 3.8 * chore: Adjust coverage config --- .coveragerc | 18 -- .editorconfig | 5 +- .github/dependabot.yml | 11 ++ .github/workflows/lint.yml | 50 +++-- .github/workflows/publish-to-live-pypi.yml | 18 +- .github/workflows/publish-to-test-pypi.yml | 21 ++- .github/workflows/test.yml | 84 ++++++--- .pre-commit-config.yaml | 22 ++- CHANGELOG.rst | 6 + MANIFEST.in | 7 +- djangocms_snippet/__init__.py | 1 - .../0009_alter_snippetptr_cmsplugin_ptr.py | 20 -- pyproject.toml | 25 ++- setup.cfg | 4 + setup.py | 63 +------ src/djangocms_snippet/__init__.py | 1 + .../djangocms_snippet}/admin.py | 0 .../djangocms_snippet}/apps.py | 0 .../djangocms_snippet}/cms_config.py | 0 .../djangocms_snippet}/cms_plugins.py | 1 - .../djangocms_snippet}/conf.py | 0 .../djangocms_snippet}/forms.py | 0 .../locale/af/LC_MESSAGES/django.mo | Bin .../locale/af/LC_MESSAGES/django.po | 2 +- .../locale/ar/LC_MESSAGES/django.mo | Bin .../locale/ar/LC_MESSAGES/django.po | 4 +- .../locale/be/LC_MESSAGES/django.mo | Bin .../locale/be/LC_MESSAGES/django.po | 2 +- .../locale/bg/LC_MESSAGES/django.mo | Bin .../locale/bg/LC_MESSAGES/django.po | 4 +- .../locale/bn/LC_MESSAGES/django.mo | Bin .../locale/bn/LC_MESSAGES/django.po | 2 +- .../locale/ca/LC_MESSAGES/django.mo | Bin .../locale/ca/LC_MESSAGES/django.po | 4 +- .../locale/cmn/LC_MESSAGES/django.mo | Bin .../locale/cmn/LC_MESSAGES/django.po | 2 +- .../locale/cs/LC_MESSAGES/django.mo | Bin .../locale/cs/LC_MESSAGES/django.po | 4 +- .../locale/cy/LC_MESSAGES/django.mo | Bin .../locale/cy/LC_MESSAGES/django.po | 2 +- .../locale/da/LC_MESSAGES/django.mo | Bin .../locale/da/LC_MESSAGES/django.po | 4 +- .../locale/de/LC_MESSAGES/django.mo | Bin .../locale/de/LC_MESSAGES/django.po | 4 +- .../locale/el/LC_MESSAGES/django.mo | Bin .../locale/el/LC_MESSAGES/django.po | 4 +- .../locale/en/LC_MESSAGES/django.mo | Bin .../locale/en/LC_MESSAGES/django.po | 0 .../locale/es/LC_MESSAGES/django.mo | Bin .../locale/es/LC_MESSAGES/django.po | 2 +- .../locale/es_AR/LC_MESSAGES/django.mo | Bin .../locale/es_AR/LC_MESSAGES/django.po | 4 +- .../locale/es_BO/LC_MESSAGES/django.mo | Bin .../locale/es_BO/LC_MESSAGES/django.po | 4 +- .../locale/es_DO/LC_MESSAGES/django.mo | Bin .../locale/es_DO/LC_MESSAGES/django.po | 2 +- .../locale/et/LC_MESSAGES/django.mo | Bin .../locale/et/LC_MESSAGES/django.po | 4 +- .../locale/eu/LC_MESSAGES/django.mo | Bin .../locale/eu/LC_MESSAGES/django.po | 4 +- .../locale/fa/LC_MESSAGES/django.mo | Bin .../locale/fa/LC_MESSAGES/django.po | 4 +- .../locale/fi/LC_MESSAGES/django.mo | Bin .../locale/fi/LC_MESSAGES/django.po | 4 +- .../locale/fr/LC_MESSAGES/django.mo | Bin .../locale/fr/LC_MESSAGES/django.po | 4 +- .../locale/ga/LC_MESSAGES/django.mo | Bin .../locale/ga/LC_MESSAGES/django.po | 2 +- .../locale/gl/LC_MESSAGES/django.mo | Bin .../locale/gl/LC_MESSAGES/django.po | 2 +- .../locale/gu/LC_MESSAGES/django.mo | Bin .../locale/gu/LC_MESSAGES/django.po | 2 +- .../locale/he/LC_MESSAGES/django.mo | Bin .../locale/he/LC_MESSAGES/django.po | 4 +- .../locale/hi/LC_MESSAGES/django.mo | Bin .../locale/hi/LC_MESSAGES/django.po | 4 +- .../locale/hr/LC_MESSAGES/django.mo | Bin .../locale/hr/LC_MESSAGES/django.po | 4 +- .../locale/hu/LC_MESSAGES/django.mo | Bin .../locale/hu/LC_MESSAGES/django.po | 4 +- .../locale/id/LC_MESSAGES/django.mo | Bin .../locale/id/LC_MESSAGES/django.po | 2 +- .../locale/is/LC_MESSAGES/django.mo | Bin .../locale/is/LC_MESSAGES/django.po | 4 +- .../locale/is_IS/LC_MESSAGES/django.mo | Bin .../locale/is_IS/LC_MESSAGES/django.po | 2 +- .../locale/it/LC_MESSAGES/django.mo | Bin .../locale/it/LC_MESSAGES/django.po | 2 +- .../locale/ja/LC_MESSAGES/django.mo | Bin .../locale/ja/LC_MESSAGES/django.po | 4 +- .../locale/ka/LC_MESSAGES/django.mo | Bin .../locale/ka/LC_MESSAGES/django.po | 4 +- .../locale/kk/LC_MESSAGES/django.mo | Bin .../locale/kk/LC_MESSAGES/django.po | 2 +- .../locale/km/LC_MESSAGES/django.mo | Bin .../locale/km/LC_MESSAGES/django.po | 4 +- .../locale/ko/LC_MESSAGES/django.mo | Bin .../locale/ko/LC_MESSAGES/django.po | 2 +- .../locale/ko_KR/LC_MESSAGES/django.mo | Bin .../locale/ko_KR/LC_MESSAGES/django.po | 4 +- .../locale/ku_IQ/LC_MESSAGES/django.mo | Bin .../locale/ku_IQ/LC_MESSAGES/django.po | 4 +- .../locale/lt/LC_MESSAGES/django.mo | Bin .../locale/lt/LC_MESSAGES/django.po | 4 +- .../locale/lv/LC_MESSAGES/django.mo | Bin .../locale/lv/LC_MESSAGES/django.po | 2 +- .../locale/mn/LC_MESSAGES/django.mo | Bin .../locale/mn/LC_MESSAGES/django.po | 2 +- .../locale/mn_MN/LC_MESSAGES/django.mo | Bin .../locale/mn_MN/LC_MESSAGES/django.po | 2 +- .../locale/mt/LC_MESSAGES/django.mo | Bin .../locale/mt/LC_MESSAGES/django.po | 2 +- .../locale/nb/LC_MESSAGES/django.mo | Bin .../locale/nb/LC_MESSAGES/django.po | 4 +- .../locale/nl/LC_MESSAGES/django.mo | Bin .../locale/nl/LC_MESSAGES/django.po | 4 +- .../locale/no/LC_MESSAGES/django.mo | Bin .../locale/no/LC_MESSAGES/django.po | 4 +- .../locale/pl/LC_MESSAGES/django.mo | Bin .../locale/pl/LC_MESSAGES/django.po | 4 +- .../locale/pt/LC_MESSAGES/django.mo | Bin .../locale/pt/LC_MESSAGES/django.po | 4 +- .../locale/pt_BR/LC_MESSAGES/django.mo | Bin .../locale/pt_BR/LC_MESSAGES/django.po | 4 +- .../locale/ro/LC_MESSAGES/django.mo | Bin .../locale/ro/LC_MESSAGES/django.po | 4 +- .../locale/ru/LC_MESSAGES/django.mo | Bin .../locale/ru/LC_MESSAGES/django.po | 4 +- .../locale/sk/LC_MESSAGES/django.mo | Bin .../locale/sk/LC_MESSAGES/django.po | 4 +- .../locale/sl/LC_MESSAGES/django.mo | Bin .../locale/sl/LC_MESSAGES/django.po | 2 +- .../locale/sl_SI/LC_MESSAGES/django.mo | Bin .../locale/sl_SI/LC_MESSAGES/django.po | 4 +- .../locale/sq/LC_MESSAGES/django.mo | Bin .../locale/sq/LC_MESSAGES/django.po | 2 +- .../locale/sq_AL/LC_MESSAGES/django.mo | Bin .../locale/sq_AL/LC_MESSAGES/django.po | 2 +- .../locale/sr/LC_MESSAGES/django.mo | Bin .../locale/sr/LC_MESSAGES/django.po | 2 +- .../locale/sr@latin/LC_MESSAGES/django.mo | Bin .../locale/sr@latin/LC_MESSAGES/django.po | 4 +- .../locale/sv/LC_MESSAGES/django.mo | Bin .../locale/sv/LC_MESSAGES/django.po | 4 +- .../locale/ta/LC_MESSAGES/django.mo | Bin .../locale/ta/LC_MESSAGES/django.po | 2 +- .../locale/th/LC_MESSAGES/django.mo | Bin .../locale/th/LC_MESSAGES/django.po | 2 +- .../locale/th_TH/LC_MESSAGES/django.mo | Bin .../locale/th_TH/LC_MESSAGES/django.po | 2 +- .../locale/tlh/LC_MESSAGES/django.mo | Bin .../locale/tlh/LC_MESSAGES/django.po | 2 +- .../locale/tr/LC_MESSAGES/django.mo | Bin .../locale/tr/LC_MESSAGES/django.po | 4 +- .../locale/ug/LC_MESSAGES/django.mo | Bin .../locale/ug/LC_MESSAGES/django.po | 2 +- .../locale/uk/LC_MESSAGES/django.mo | Bin .../locale/uk/LC_MESSAGES/django.po | 4 +- .../locale/ur/LC_MESSAGES/django.mo | Bin .../locale/ur/LC_MESSAGES/django.po | 2 +- .../locale/vi/LC_MESSAGES/django.mo | Bin .../locale/vi/LC_MESSAGES/django.po | 2 +- .../locale/vi_VN/LC_MESSAGES/django.mo | Bin .../locale/vi_VN/LC_MESSAGES/django.po | 2 +- .../locale/zh/LC_MESSAGES/django.mo | Bin .../locale/zh/LC_MESSAGES/django.po | 2 +- .../locale/zh_CN/LC_MESSAGES/django.mo | Bin .../locale/zh_CN/LC_MESSAGES/django.po | 4 +- .../locale/zh_TW/LC_MESSAGES/django.mo | Bin .../locale/zh_TW/LC_MESSAGES/django.po | 4 +- .../migrations/0001_initial.py | 0 .../migrations/0002_snippet_slug.py | 0 .../migrations/0003_auto_data_fill_slug.py | 2 +- .../migrations/0004_auto_alter_slug_unique.py | 0 ...0005_set_related_name_for_cmsplugin_ptr.py | 0 .../migrations/0006_auto_20160831_0729.py | 0 .../0007_auto_alter_template_helptext.py | 0 .../migrations/0008_auto_change_name.py | 0 .../migrations/0009_auto_20210915_0445.py | 0 .../migrations/0010_alter_snippet_id.py | 19 ++ ...010_cms4_grouper_version_data_migration.py | 0 .../0011_cms4_plugin_data_migration.py | 0 .../migrations/0012_auto_20210915_0721.py | 0 .../migrations/0013_snippet_site.py | 0 .../djangocms_snippet}/migrations/__init__.py | 0 .../djangocms_snippet}/models.py | 40 ++-- .../djangocms_snippet}/rendering.py | 0 .../djangocms_snippet}/settings.py | 0 .../djangocms_snippet/admin/change_form.html | 0 .../djangocms_snippet/admin/preview.html | 0 .../templates/djangocms_snippet/snippet.html | 0 .../templatetags/__init__.py | 0 .../templatetags/snippet_tags.py | 38 ++-- .../djangocms_snippet}/utils.py | 0 tests/requirements/compile.py | 103 +++++++++++ tests/requirements/py310-django32-cms311.txt | 173 ++++++++++++++++++ tests/requirements/py310-django42-cms311.txt | 169 +++++++++++++++++ tests/requirements/py311-django32-cms311.txt | 165 +++++++++++++++++ tests/requirements/py311-django42-cms311.txt | 161 ++++++++++++++++ tests/requirements/py39-django32-cms311.txt | 173 ++++++++++++++++++ tests/requirements/py39-django42-cms311.txt | 169 +++++++++++++++++ .../{base.txt => requirements.in} | 0 tox.ini | 24 +-- 203 files changed, 1482 insertions(+), 339 deletions(-) delete mode 100644 .coveragerc create mode 100644 .github/dependabot.yml delete mode 100644 djangocms_snippet/__init__.py delete mode 100644 djangocms_snippet/migrations/0009_alter_snippetptr_cmsplugin_ptr.py create mode 100644 src/djangocms_snippet/__init__.py rename {djangocms_snippet => src/djangocms_snippet}/admin.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/apps.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/cms_config.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/cms_plugins.py (99%) rename {djangocms_snippet => src/djangocms_snippet}/conf.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/forms.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/af/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/af/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ar/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ar/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/be/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/be/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/bg/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/bg/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/bn/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/bn/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ca/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ca/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/cmn/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/cmn/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/cs/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/cs/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/cy/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/cy/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/da/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/da/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/de/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/de/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/el/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/el/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/en/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/en/LC_MESSAGES/django.po (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/es/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/es/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/es_AR/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/es_AR/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/es_BO/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/es_BO/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/es_DO/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/es_DO/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/et/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/et/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/eu/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/eu/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/fa/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/fa/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/fi/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/fi/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/fr/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/fr/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ga/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ga/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/gl/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/gl/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/gu/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/gu/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/he/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/he/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/hi/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/hi/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/hr/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/hr/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/hu/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/hu/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/id/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/id/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/is/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/is/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/is_IS/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/is_IS/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/it/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/it/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ja/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ja/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ka/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ka/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/kk/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/kk/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/km/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/km/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ko/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ko/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ko_KR/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ko_KR/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ku_IQ/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ku_IQ/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/lt/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/lt/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/lv/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/lv/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/mn/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/mn/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/mn_MN/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/mn_MN/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/mt/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/mt/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/nb/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/nb/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/nl/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/nl/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/no/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/no/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/pl/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/pl/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/pt/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/pt/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/pt_BR/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/pt_BR/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ro/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ro/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ru/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ru/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/sk/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/sk/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/sl/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/sl/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/sl_SI/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/sl_SI/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/sq/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/sq/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/sq_AL/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/sq_AL/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/sr/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/sr/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/sr@latin/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/sr@latin/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/sv/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/sv/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ta/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ta/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/th/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/th/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/th_TH/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/th_TH/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/tlh/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/tlh/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/tr/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/tr/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ug/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ug/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/uk/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/uk/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ur/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/ur/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/vi/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/vi/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/vi_VN/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/vi_VN/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/zh/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/zh/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/zh_CN/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/zh_CN/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/locale/zh_TW/LC_MESSAGES/django.mo (100%) rename {djangocms_snippet => src/djangocms_snippet}/locale/zh_TW/LC_MESSAGES/django.po (99%) rename {djangocms_snippet => src/djangocms_snippet}/migrations/0001_initial.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/migrations/0002_snippet_slug.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/migrations/0003_auto_data_fill_slug.py (88%) rename {djangocms_snippet => src/djangocms_snippet}/migrations/0004_auto_alter_slug_unique.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/migrations/0005_set_related_name_for_cmsplugin_ptr.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/migrations/0006_auto_20160831_0729.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/migrations/0007_auto_alter_template_helptext.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/migrations/0008_auto_change_name.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/migrations/0009_auto_20210915_0445.py (100%) create mode 100644 src/djangocms_snippet/migrations/0010_alter_snippet_id.py rename {djangocms_snippet => src/djangocms_snippet}/migrations/0010_cms4_grouper_version_data_migration.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/migrations/0011_cms4_plugin_data_migration.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/migrations/0012_auto_20210915_0721.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/migrations/0013_snippet_site.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/migrations/__init__.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/models.py (75%) rename {djangocms_snippet => src/djangocms_snippet}/rendering.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/settings.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/templates/djangocms_snippet/admin/change_form.html (100%) rename {djangocms_snippet => src/djangocms_snippet}/templates/djangocms_snippet/admin/preview.html (100%) rename {djangocms_snippet => src/djangocms_snippet}/templates/djangocms_snippet/snippet.html (100%) rename {djangocms_snippet => src/djangocms_snippet}/templatetags/__init__.py (100%) rename {djangocms_snippet => src/djangocms_snippet}/templatetags/snippet_tags.py (85%) rename {djangocms_snippet => src/djangocms_snippet}/utils.py (100%) create mode 100644 tests/requirements/compile.py create mode 100644 tests/requirements/py310-django32-cms311.txt create mode 100644 tests/requirements/py310-django42-cms311.txt create mode 100644 tests/requirements/py311-django32-cms311.txt create mode 100644 tests/requirements/py311-django42-cms311.txt create mode 100644 tests/requirements/py39-django32-cms311.txt create mode 100644 tests/requirements/py39-django42-cms311.txt rename tests/requirements/{base.txt => requirements.in} (100%) diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index 68e9a87e..00000000 --- a/.coveragerc +++ /dev/null @@ -1,18 +0,0 @@ -[run] -branch = True -source = djangocms_snippet -omit = - migrations/* - tests/* - -[report] -exclude_lines = - pragma: no cover - def __repr__ - if self.debug: - if settings.DEBUG - raise AssertionError - raise NotImplementedError - if 0: - if __name__ == .__main__.: -ignore_errors = True diff --git a/.editorconfig b/.editorconfig index adafbd5e..7331ad9c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -27,5 +27,8 @@ quote_type = single [*.rst] max_line_length = 80 -[*.yml] +[*.toml] +indent_size = 2 + +[*.{yml,yaml}] indent_size = 2 diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..ad77bd87 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" # Location of package manifests + schedule: + interval: "monthly" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1d16b2e1..e2fb8f22 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,38 +1,30 @@ name: Lint -on: [push, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true -jobs: - flake8: - name: flake8 - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.10' - - name: Install flake8 - run: pip install --upgrade flake8 - - name: Run flake8 - uses: liskin/gh-problem-matcher-wrap@v1 - with: - linters: flake8 - run: flake8 +on: + push: + branches: + - master + pull_request: - isort: +jobs: + ruff: + name: ruff runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.10' - - run: python -m pip install isort - - name: isort - uses: liskin/gh-problem-matcher-wrap@v1 + uses: actions/setup-python@v4 with: - linters: isort - run: isort -c -rc -df djangocms_snippet + python-version: "3.11" + cache: 'pip' + - run: | + python -m pip install --upgrade pip + pip install ruff + - name: Run Ruff + working-directory: ./src + run: ruff djangocms_snippet diff --git a/.github/workflows/publish-to-live-pypi.yml b/.github/workflows/publish-to-live-pypi.yml index 184f5e17..84db02b4 100644 --- a/.github/workflows/publish-to-live-pypi.yml +++ b/.github/workflows/publish-to-live-pypi.yml @@ -9,12 +9,17 @@ jobs: build-n-publish: name: Build and publish Python 🐍 distributions 📦 to pypi runs-on: ubuntu-latest + environment: + name: pypi + url: https://pypi.org/p/djangocms-snippet + permissions: + id-token: write steps: - - uses: actions/checkout@master - - name: Set up Python 3.9 - uses: actions/setup-python@v1 + - uses: actions/checkout@v4 + - name: Set up Python 3.10 + uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: '3.11' - name: Install pypa/build run: >- @@ -31,9 +36,6 @@ jobs: --outdir dist/ . - - name: PyPI - Publish distribution 📦 + - name: Publish distribution 📦 to PyPI if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 4d772489..922ff5a0 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -3,18 +3,23 @@ name: Publish Python 🐍 distributions 📦 to TestPyPI on: push: branches: - - master + - main jobs: build-n-publish: - name: TestPyPI - Build and publish Python 🐍 distributions 📦 + name: Build and publish Python 🐍 distributions 📦 to TestPyPI runs-on: ubuntu-latest + environment: + name: pypi + url: https://test.pypi.org/p/djangocms-snippet + permissions: + id-token: write steps: - - uses: actions/checkout@master - - name: Set up Python 3.9 - uses: actions/setup-python@v1 + - uses: actions/checkout@v4 + - name: Set up Python 3.10 + uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: '3.11' - name: Install pypa/build run: >- @@ -34,7 +39,5 @@ jobs: - name: Publish distribution 📦 to Test PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: - user: __token__ - password: ${{ secrets.TEST_PYPI_API_TOKEN }} - repository_url: https://test.pypi.org/legacy/ + repository-url: https://test.pypi.org/legacy/ skip_existing: true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a9b84fd2..d413186a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,37 +1,79 @@ name: CodeCov -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: + +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true jobs: unit-tests: - runs-on: ${{ matrix.os }} + name: Python ${{ matrix.python-version }} + runs-on: ubuntu-22.04 + strategy: - fail-fast: false matrix: - python-version: [ 3.8, 3.9, '3.10' ] - requirements-file: [ - dj32_cms40.txt, - dj42_cms40.txt, - ] - os: [ - ubuntu-20.04, - ] + python-version: + - 3.9 + - '3.10' + - '3.11' steps: - - uses: actions/checkout@v1 - - name: Set up Python ${{ matrix.python-version }} + - uses: actions/checkout@v4 - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true + cache: pip + cache-dependency-path: 'tests/requirements/*.txt' + - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install -r tests/requirements/${{ matrix.requirements-file }} - python setup.py install + python -m pip install --upgrade pip setuptools wheel + python -m pip install --upgrade 'tox>=4.0.0rc3' + + - name: Run tox targets for ${{ matrix.python-version }} + run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .) + + - name: Upload coverage data + uses: actions/upload-artifact@v3 + with: + name: coverage-data + path: '.coverage.*' + + coverage: + name: Coverage + runs-on: ubuntu-22.04 + needs: unit-tests + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v4 + with: + python-version: '3.11' + + - name: Install dependencies + run: python -m pip install --upgrade coverage[toml] + + - name: Download data + uses: actions/download-artifact@v3 + with: + name: coverage-data - - name: Run coverage - run: coverage run setup.py test + - name: Combine coverage + run: | + python -m coverage combine + python -m coverage html --skip-covered --skip-empty + python -m coverage report - - name: Upload Coverage to Codecov - uses: codecov/codecov-action@v1 + - name: Upload HTML report + if: ${{ failure() }} + uses: actions/upload-artifact@v3 + with: + name: html-report + path: htmlcov diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 59ff7c12..17886c6c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,12 @@ +ci: + autofix_commit_msg: | + ci: auto fixes from pre-commit hooks + + for more information, see https://pre-commit.ci + autofix_prs: true + autoupdate_commit_msg: 'ci: pre-commit autoupdate' + autoupdate_schedule: monthly + repos: # Need to drop python 3.5 and 3.6 before we include python upgrade # - repo: https://github.com/asottile/pyupgrade @@ -16,18 +25,25 @@ repos: - repo: https://github.com/PyCQA/flake8 rev: 7.0.0 hooks: - - id: flake8 + - id: ruff + args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/asottile/yesqa rev: v1.5.0 hooks: - - id: yesqa + - id: ruff-format - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: + - id: check-added-large-files + - id: check-case-conflict + - id: check-json - id: check-merge-conflict - - id: mixed-line-ending + - id: check-symlinks + - id: check-toml + - id: end-of-file-fixer + - id: trailing-whitespace # upgrade the isort version to fix compatiable issue withe peotry: https://stackoverflow.com/questions/75269700/pre-commit-fails-to-install-isort-5-11-4-with-error-runtimeerror-the-poetry-co - repo: https://github.com/pycqa/isort diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 837f4831..e7bf9f33 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,12 @@ Changelog ========= +Unreleased +========== + +* Drop support for Django < 3.2 +* Drop support for Python < 3.9 + 3.1.1 ===== diff --git a/MANIFEST.in b/MANIFEST.in index 2ef81de1..94c37640 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,6 @@ +prune tests +include CHANGELOG.rst include LICENSE +include pyproject.toml include README.rst -recursive-include djangocms_snippet/locale * -recursive-include djangocms_snippet/templates * -recursive-exclude * *.py[co] +include src/*/py.typed diff --git a/djangocms_snippet/__init__.py b/djangocms_snippet/__init__.py deleted file mode 100644 index fa721b49..00000000 --- a/djangocms_snippet/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = '4.1.0' diff --git a/djangocms_snippet/migrations/0009_alter_snippetptr_cmsplugin_ptr.py b/djangocms_snippet/migrations/0009_alter_snippetptr_cmsplugin_ptr.py deleted file mode 100644 index 8af01f53..00000000 --- a/djangocms_snippet/migrations/0009_alter_snippetptr_cmsplugin_ptr.py +++ /dev/null @@ -1,20 +0,0 @@ -# Generated by Django 4.1.7 on 2023-02-28 16:57 - -import django.db.models.deletion -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('cms', '0022_auto_20180620_1551'), - ('djangocms_snippet', '0008_auto_change_name'), - ] - - operations = [ - migrations.AlterField( - model_name='snippetptr', - name='cmsplugin_ptr', - field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='%(app_label)s_%(class)s', serialize=False, to='cms.cmsplugin'), - ), - ] diff --git a/pyproject.toml b/pyproject.toml index 771854a0..c54a1444 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,9 +14,9 @@ maintainers = [ license = {file = "LICENSE"} description = "Adds snippet plugin to django CMS." readme = "README.rst" -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = [ - 'django-cms>=4.0', + 'django-cms>=3.7', ] classifiers=[ "Development Status :: 5 - Production/Stable", @@ -26,14 +26,27 @@ classifiers=[ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", +<<<<<<< HEAD "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", +======= + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +>>>>>>> cf6e93a (chore: Package overhaul (#140)) "Framework :: Django", "Framework :: Django :: 3.2", "Framework :: Django :: 4.2", "Framework :: Django CMS", +<<<<<<< HEAD "Framework :: Django CMS :: 4.0", +======= + "Framework :: Django CMS :: 3.8", + "Framework :: Django CMS :: 3.9", + "Framework :: Django CMS :: 3.10", + "Framework :: Django CMS :: 3.11", +>>>>>>> cf6e93a (chore: Package overhaul (#140)) "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development", @@ -44,7 +57,7 @@ classifiers=[ static-ace = ["djangocms-static-ace"] [tool.setuptools.packages.find] -where = ["."] +where = ["src"] exclude = ["tests"] [project.urls] @@ -63,7 +76,7 @@ source = [ [tool.coverage.paths] source = [ - "djangocms_snippet", + "src", ".tox/**/site-packages", ] @@ -75,7 +88,7 @@ check_untyped_defs = true disallow_any_generics = true disallow_incomplete_defs = true disallow_untyped_defs = true -mypy_path = "djangocms_snippet/" +mypy_path = "src/" no_implicit_optional = true show_error_codes = true warn_unreachable = true @@ -138,4 +151,4 @@ combine-as-imports = true known-first-party = [ "djangocms_snippet", ] -extra-standard-library = ["dataclasses"] \ No newline at end of file +extra-standard-library = ["dataclasses"] diff --git a/setup.cfg b/setup.cfg index b9fb1b0a..2b5bdd1c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,6 +7,10 @@ tag = False search = __version__ = '{current_version}' replace = __version__ = '{new_version}' +[bumpversion:file:pyproject.toml] +search = version = '{current_version}' +replace = version = '{new_version}' + [bumpversion:file:CHANGELOG.rst] search = unreleased diff --git a/setup.py b/setup.py index fe25b27d..5b45bacd 100644 --- a/setup.py +++ b/setup.py @@ -1,63 +1,4 @@ #!/usr/bin/env python -import os -import sys +from setuptools import setup -from setuptools import find_packages, setup - - -sys.path.append(os.path.dirname(os.path.abspath(__file__))) -from djangocms_snippet import __version__ # noqa:E402 - - -REQUIREMENTS = [ - 'django-cms>=3.11', - 'django-treebeard>=4.3', -] - -EXTRA_REQUIREMENTS = { - 'static-ace': ['djangocms-static-ace', ], -} - - -CLASSIFIERS = [ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Web Environment', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: BSD License', - 'Operating System :: OS Independent', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Framework :: Django', - 'Framework :: Django :: 3.2', - 'Framework :: Django :: 4.2', - 'Framework :: Django CMS', - 'Framework :: Django CMS :: 4.0', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', - 'Topic :: Software Development', - 'Topic :: Software Development :: Libraries', -] - - -setup( - name='djangocms-snippet', - version=__version__, - author='Divio AG', - author_email='info@divio.ch', - maintainer='Django CMS Association and contributors', - maintainer_email='info@django-cms.org', - url='https://github.com/django-cms/djangocms-snippet', - license='BSD-3-Clause', - description='Adds snippet plugin to django CMS.', - long_description=open('README.rst').read(), - packages=find_packages(), - include_package_data=True, - zip_safe=False, - install_requires=REQUIREMENTS, - extras_require=EXTRA_REQUIREMENTS, - classifiers=CLASSIFIERS, - test_suite='tests.settings.run', -) +setup(test_suite="tests.settings.run") diff --git a/src/djangocms_snippet/__init__.py b/src/djangocms_snippet/__init__.py new file mode 100644 index 00000000..d539d50c --- /dev/null +++ b/src/djangocms_snippet/__init__.py @@ -0,0 +1 @@ +__version__ = "3.1.1" diff --git a/djangocms_snippet/admin.py b/src/djangocms_snippet/admin.py similarity index 100% rename from djangocms_snippet/admin.py rename to src/djangocms_snippet/admin.py diff --git a/djangocms_snippet/apps.py b/src/djangocms_snippet/apps.py similarity index 100% rename from djangocms_snippet/apps.py rename to src/djangocms_snippet/apps.py diff --git a/djangocms_snippet/cms_config.py b/src/djangocms_snippet/cms_config.py similarity index 100% rename from djangocms_snippet/cms_config.py rename to src/djangocms_snippet/cms_config.py diff --git a/djangocms_snippet/cms_plugins.py b/src/djangocms_snippet/cms_plugins.py similarity index 99% rename from djangocms_snippet/cms_plugins.py rename to src/djangocms_snippet/cms_plugins.py index bbaa2692..7112bbdc 100644 --- a/djangocms_snippet/cms_plugins.py +++ b/src/djangocms_snippet/cms_plugins.py @@ -11,7 +11,6 @@ from .models import SnippetPtr from .utils import show_draft_content - CACHE_ENABLED = getattr(settings, "DJANGOCMS_SNIPPET_CACHE", False) diff --git a/djangocms_snippet/conf.py b/src/djangocms_snippet/conf.py similarity index 100% rename from djangocms_snippet/conf.py rename to src/djangocms_snippet/conf.py diff --git a/djangocms_snippet/forms.py b/src/djangocms_snippet/forms.py similarity index 100% rename from djangocms_snippet/forms.py rename to src/djangocms_snippet/forms.py diff --git a/djangocms_snippet/locale/af/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/af/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/af/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/af/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/af/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/af/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/af/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/af/LC_MESSAGES/django.po index e348effb..53ef7810 100644 --- a/djangocms_snippet/locale/af/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/af/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/ar/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/ar/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/ar/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/ar/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/ar/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/ar/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/ar/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/ar/LC_MESSAGES/django.po index b392cfba..0a317978 100644 --- a/djangocms_snippet/locale/ar/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/ar/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/be/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/be/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/be/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/be/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/be/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/be/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/be/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/be/LC_MESSAGES/django.po index be121d95..49f4ce0c 100644 --- a/djangocms_snippet/locale/be/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/be/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/bg/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/bg/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/bg/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/bg/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/bg/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/bg/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/bg/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/bg/LC_MESSAGES/django.po index c661aaea..5ccd937b 100644 --- a/djangocms_snippet/locale/bg/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/bg/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/bn/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/bn/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/bn/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/bn/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/bn/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/bn/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/bn/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/bn/LC_MESSAGES/django.po index c375102e..bdbb9890 100644 --- a/djangocms_snippet/locale/bn/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/bn/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/ca/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/ca/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/ca/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/ca/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/ca/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/ca/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/ca/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/ca/LC_MESSAGES/django.po index 72f77469..2c60b293 100644 --- a/djangocms_snippet/locale/ca/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/ca/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/cmn/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/cmn/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/cmn/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/cmn/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/cmn/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/cmn/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/cmn/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/cmn/LC_MESSAGES/django.po index e3631bd4..d1de3daf 100644 --- a/djangocms_snippet/locale/cmn/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/cmn/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/cs/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/cs/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/cs/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/cs/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/cs/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/cs/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/cs/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/cs/LC_MESSAGES/django.po index 1a3049db..b67cf96a 100644 --- a/djangocms_snippet/locale/cs/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/cs/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/cy/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/cy/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/cy/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/cy/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/cy/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/cy/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/cy/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/cy/LC_MESSAGES/django.po index 68758fe7..38b42fbf 100644 --- a/djangocms_snippet/locale/cy/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/cy/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/da/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/da/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/da/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/da/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/da/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/da/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/da/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/da/LC_MESSAGES/django.po index f5525a9a..e1933b2e 100644 --- a/djangocms_snippet/locale/da/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/da/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/de/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/de/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/de/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/de/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/de/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/de/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/de/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/de/LC_MESSAGES/django.po index db5ddd20..35e0e9d5 100644 --- a/djangocms_snippet/locale/de/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/de/LC_MESSAGES/django.po @@ -2,11 +2,11 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 # Peter Wischer , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/el/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/el/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/el/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/el/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/el/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/el/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/el/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/el/LC_MESSAGES/django.po index 1bfc68b8..7e17c296 100644 --- a/djangocms_snippet/locale/el/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/el/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/en/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/en/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/en/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/en/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/en/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/en/LC_MESSAGES/django.po similarity index 100% rename from djangocms_snippet/locale/en/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/en/LC_MESSAGES/django.po diff --git a/djangocms_snippet/locale/es/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/es/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/es/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/es/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/es/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/es/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/es/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/es/LC_MESSAGES/django.po index e05e49d1..a740311c 100644 --- a/djangocms_snippet/locale/es/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/es/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/es_AR/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/es_AR/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/es_AR/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/es_AR/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/es_AR/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/es_AR/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/es_AR/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/es_AR/LC_MESSAGES/django.po index 09d3c113..1c1a5b5e 100644 --- a/djangocms_snippet/locale/es_AR/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/es_AR/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/es_BO/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/es_BO/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/es_BO/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/es_BO/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/es_BO/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/es_BO/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/es_BO/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/es_BO/LC_MESSAGES/django.po index 849db859..589aedc2 100644 --- a/djangocms_snippet/locale/es_BO/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/es_BO/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/es_DO/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/es_DO/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/es_DO/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/es_DO/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/es_DO/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/es_DO/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/es_DO/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/es_DO/LC_MESSAGES/django.po index d9b80945..db9f259a 100644 --- a/djangocms_snippet/locale/es_DO/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/es_DO/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/et/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/et/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/et/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/et/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/et/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/et/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/et/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/et/LC_MESSAGES/django.po index 94946c7c..f46484cf 100644 --- a/djangocms_snippet/locale/et/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/et/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/eu/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/eu/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/eu/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/eu/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/eu/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/eu/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/eu/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/eu/LC_MESSAGES/django.po index 30c83263..440671d4 100644 --- a/djangocms_snippet/locale/eu/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/eu/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/fa/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/fa/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/fa/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/fa/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/fa/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/fa/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/fa/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/fa/LC_MESSAGES/django.po index 22da85c6..d56dd44b 100644 --- a/djangocms_snippet/locale/fa/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/fa/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/fi/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/fi/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/fi/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/fi/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/fi/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/fi/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/fi/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/fi/LC_MESSAGES/django.po index 8c71e61d..e7f04f18 100644 --- a/djangocms_snippet/locale/fi/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/fi/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/fr/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/fr/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/fr/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/fr/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/fr/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/fr/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/fr/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/fr/LC_MESSAGES/django.po index 2bcdc824..e7759923 100644 --- a/djangocms_snippet/locale/fr/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/fr/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Assma Buifruri , 2017 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/ga/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/ga/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/ga/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/ga/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/ga/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/ga/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/ga/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/ga/LC_MESSAGES/django.po index 9292c138..3e93acb0 100644 --- a/djangocms_snippet/locale/ga/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/ga/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/gl/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/gl/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/gl/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/gl/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/gl/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/gl/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/gl/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/gl/LC_MESSAGES/django.po index 27a8ce77..bed21102 100644 --- a/djangocms_snippet/locale/gl/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/gl/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/gu/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/gu/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/gu/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/gu/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/gu/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/gu/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/gu/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/gu/LC_MESSAGES/django.po index 743941bb..d61088eb 100644 --- a/djangocms_snippet/locale/gu/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/gu/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/he/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/he/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/he/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/he/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/he/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/he/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/he/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/he/LC_MESSAGES/django.po index 05626f7d..563e80e0 100644 --- a/djangocms_snippet/locale/he/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/he/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/hi/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/hi/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/hi/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/hi/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/hi/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/hi/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/hi/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/hi/LC_MESSAGES/django.po index 85bcb4e9..1275c9a7 100644 --- a/djangocms_snippet/locale/hi/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/hi/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/hr/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/hr/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/hr/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/hr/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/hr/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/hr/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/hr/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/hr/LC_MESSAGES/django.po index 0bf1fb49..4b4bf0e1 100644 --- a/djangocms_snippet/locale/hr/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/hr/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/hu/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/hu/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/hu/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/hu/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/hu/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/hu/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/hu/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/hu/LC_MESSAGES/django.po index 2265d67c..2f11174f 100644 --- a/djangocms_snippet/locale/hu/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/hu/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/id/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/id/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/id/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/id/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/id/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/id/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/id/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/id/LC_MESSAGES/django.po index 24017510..e3b4297e 100644 --- a/djangocms_snippet/locale/id/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/id/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/is/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/is/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/is/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/is/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/is/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/is/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/is/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/is/LC_MESSAGES/django.po index 7aa818cd..378a1d37 100644 --- a/djangocms_snippet/locale/is/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/is/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/is_IS/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/is_IS/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/is_IS/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/is_IS/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/is_IS/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/is_IS/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/is_IS/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/is_IS/LC_MESSAGES/django.po index 0ad9311b..8bb9b390 100644 --- a/djangocms_snippet/locale/is_IS/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/is_IS/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/it/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/it/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/it/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/it/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/it/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/it/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/it/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/it/LC_MESSAGES/django.po index 7f45f586..2a48981a 100644 --- a/djangocms_snippet/locale/it/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/it/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/ja/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/ja/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/ja/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/ja/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/ja/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/ja/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/ja/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/ja/LC_MESSAGES/django.po index 42745301..2f982e22 100644 --- a/djangocms_snippet/locale/ja/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/ja/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/ka/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/ka/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/ka/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/ka/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/ka/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/ka/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/ka/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/ka/LC_MESSAGES/django.po index a79c1bd3..4372f50c 100644 --- a/djangocms_snippet/locale/ka/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/ka/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/kk/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/kk/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/kk/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/kk/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/kk/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/kk/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/kk/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/kk/LC_MESSAGES/django.po index 7c6fae2c..9a1ea915 100644 --- a/djangocms_snippet/locale/kk/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/kk/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/km/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/km/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/km/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/km/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/km/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/km/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/km/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/km/LC_MESSAGES/django.po index 6ce3c5c9..39bdf4ed 100644 --- a/djangocms_snippet/locale/km/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/km/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/ko/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/ko/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/ko/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/ko/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/ko/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/ko/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/ko/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/ko/LC_MESSAGES/django.po index 9269b0cd..a6ad91d9 100644 --- a/djangocms_snippet/locale/ko/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/ko/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/ko_KR/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/ko_KR/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/ko_KR/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/ko_KR/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/ko_KR/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/ko_KR/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/ko_KR/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/ko_KR/LC_MESSAGES/django.po index 91992c96..090151ff 100644 --- a/djangocms_snippet/locale/ko_KR/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/ko_KR/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/ku_IQ/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/ku_IQ/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/ku_IQ/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/ku_IQ/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/ku_IQ/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/ku_IQ/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/ku_IQ/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/ku_IQ/LC_MESSAGES/django.po index 375a184d..3c91ac83 100644 --- a/djangocms_snippet/locale/ku_IQ/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/ku_IQ/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/lt/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/lt/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/lt/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/lt/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/lt/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/lt/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/lt/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/lt/LC_MESSAGES/django.po index 4dc1f362..d78763ef 100644 --- a/djangocms_snippet/locale/lt/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/lt/LC_MESSAGES/django.po @@ -2,11 +2,11 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 # Matas Dailyda , 2017 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/lv/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/lv/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/lv/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/lv/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/lv/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/lv/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/lv/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/lv/LC_MESSAGES/django.po index 0ca62797..2d81b218 100644 --- a/djangocms_snippet/locale/lv/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/lv/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/mn/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/mn/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/mn/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/mn/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/mn/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/mn/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/mn/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/mn/LC_MESSAGES/django.po index a0cd1a33..c028b5bd 100644 --- a/djangocms_snippet/locale/mn/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/mn/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/mn_MN/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/mn_MN/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/mn_MN/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/mn_MN/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/mn_MN/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/mn_MN/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/mn_MN/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/mn_MN/LC_MESSAGES/django.po index c83b01dd..ef2f99a6 100644 --- a/djangocms_snippet/locale/mn_MN/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/mn_MN/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/mt/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/mt/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/mt/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/mt/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/mt/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/mt/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/mt/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/mt/LC_MESSAGES/django.po index 731754e6..3067e6c4 100644 --- a/djangocms_snippet/locale/mt/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/mt/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/nb/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/nb/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/nb/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/nb/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/nb/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/nb/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/nb/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/nb/LC_MESSAGES/django.po index 1e63b143..cc32170f 100644 --- a/djangocms_snippet/locale/nb/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/nb/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/nl/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/nl/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/nl/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/nl/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/nl/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/nl/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/nl/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/nl/LC_MESSAGES/django.po index 8eb192e5..4c02289e 100644 --- a/djangocms_snippet/locale/nl/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/nl/LC_MESSAGES/django.po @@ -2,11 +2,11 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 # Evelijn Saaltink , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/no/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/no/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/no/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/no/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/no/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/no/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/no/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/no/LC_MESSAGES/django.po index 5c06fbe2..ed03c5d4 100644 --- a/djangocms_snippet/locale/no/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/no/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/pl/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/pl/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/pl/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/pl/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/pl/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/pl/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/pl/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/pl/LC_MESSAGES/django.po index 668d8f38..36719f37 100644 --- a/djangocms_snippet/locale/pl/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/pl/LC_MESSAGES/django.po @@ -2,11 +2,11 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 # Grzegorz Biały , 2017 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/pt/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/pt/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/pt/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/pt/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/pt/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/pt/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/pt/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/pt/LC_MESSAGES/django.po index 0683769d..cda188e7 100644 --- a/djangocms_snippet/locale/pt/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/pt/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/pt_BR/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/pt_BR/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/pt_BR/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/pt_BR/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/pt_BR/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/pt_BR/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/pt_BR/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/pt_BR/LC_MESSAGES/django.po index fafc59d6..60bad8d8 100644 --- a/djangocms_snippet/locale/pt_BR/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/pt_BR/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/ro/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/ro/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/ro/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/ro/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/ro/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/ro/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/ro/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/ro/LC_MESSAGES/django.po index 83e1e39c..b14e75db 100644 --- a/djangocms_snippet/locale/ro/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/ro/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/ru/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/ru/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/ru/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/ru/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/ru/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/ru/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/ru/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/ru/LC_MESSAGES/django.po index cd8fd899..50a682fe 100644 --- a/djangocms_snippet/locale/ru/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/ru/LC_MESSAGES/django.po @@ -2,11 +2,11 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 # Oleg Fish , 2017 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/sk/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/sk/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/sk/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/sk/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/sk/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/sk/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/sk/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/sk/LC_MESSAGES/django.po index 5ae9313d..7fcf09dd 100644 --- a/djangocms_snippet/locale/sk/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/sk/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/sl/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/sl/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/sl/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/sl/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/sl/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/sl/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/sl/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/sl/LC_MESSAGES/django.po index 29eb1dc3..165a6178 100644 --- a/djangocms_snippet/locale/sl/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/sl/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/sl_SI/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/sl_SI/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/sl_SI/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/sl_SI/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/sl_SI/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/sl_SI/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/sl_SI/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/sl_SI/LC_MESSAGES/django.po index fbf12c51..6de640d1 100644 --- a/djangocms_snippet/locale/sl_SI/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/sl_SI/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/sq/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/sq/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/sq/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/sq/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/sq/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/sq/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/sq/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/sq/LC_MESSAGES/django.po index b2e128b3..cddf88dd 100644 --- a/djangocms_snippet/locale/sq/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/sq/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/sq_AL/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/sq_AL/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/sq_AL/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/sq_AL/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/sq_AL/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/sq_AL/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/sq_AL/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/sq_AL/LC_MESSAGES/django.po index 44c0d947..8f0c6ac8 100644 --- a/djangocms_snippet/locale/sq_AL/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/sq_AL/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/sr/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/sr/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/sr/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/sr/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/sr/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/sr/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/sr/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/sr/LC_MESSAGES/django.po index 61efdd5a..5b48f211 100644 --- a/djangocms_snippet/locale/sr/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/sr/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/sr@latin/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/sr@latin/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/sr@latin/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/sr@latin/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/sr@latin/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/sr@latin/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/sr@latin/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/sr@latin/LC_MESSAGES/django.po index 96397d8e..6443b52e 100644 --- a/djangocms_snippet/locale/sr@latin/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/sr@latin/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/sv/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/sv/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/sv/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/sv/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/sv/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/sv/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/sv/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/sv/LC_MESSAGES/django.po index 9f97490a..28d27f95 100644 --- a/djangocms_snippet/locale/sv/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/sv/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/ta/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/ta/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/ta/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/ta/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/ta/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/ta/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/ta/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/ta/LC_MESSAGES/django.po index 7138c973..732989ef 100644 --- a/djangocms_snippet/locale/ta/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/ta/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/th/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/th/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/th/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/th/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/th/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/th/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/th/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/th/LC_MESSAGES/django.po index 18a6b04c..eefc46ce 100644 --- a/djangocms_snippet/locale/th/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/th/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/th_TH/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/th_TH/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/th_TH/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/th_TH/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/th_TH/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/th_TH/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/th_TH/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/th_TH/LC_MESSAGES/django.po index 2ad29776..be5995c6 100644 --- a/djangocms_snippet/locale/th_TH/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/th_TH/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/tlh/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/tlh/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/tlh/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/tlh/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/tlh/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/tlh/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/tlh/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/tlh/LC_MESSAGES/django.po index 6de96538..39cb67cf 100644 --- a/djangocms_snippet/locale/tlh/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/tlh/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/tr/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/tr/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/tr/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/tr/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/tr/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/tr/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/tr/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/tr/LC_MESSAGES/django.po index eeba1fbb..af059b0e 100644 --- a/djangocms_snippet/locale/tr/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/tr/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/ug/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/ug/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/ug/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/ug/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/ug/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/ug/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/ug/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/ug/LC_MESSAGES/django.po index 193ae5f7..17e77d37 100644 --- a/djangocms_snippet/locale/ug/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/ug/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/uk/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/uk/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/uk/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/uk/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/uk/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/uk/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/uk/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/uk/LC_MESSAGES/django.po index 5af40d17..9cb87cc2 100644 --- a/djangocms_snippet/locale/uk/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/uk/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/ur/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/ur/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/ur/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/ur/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/ur/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/ur/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/ur/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/ur/LC_MESSAGES/django.po index 25840b5d..58acfc20 100644 --- a/djangocms_snippet/locale/ur/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/ur/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/vi/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/vi/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/vi/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/vi/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/vi/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/vi/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/vi/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/vi/LC_MESSAGES/django.po index 91c1968d..afd7b31b 100644 --- a/djangocms_snippet/locale/vi/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/vi/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/vi_VN/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/vi_VN/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/vi_VN/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/vi_VN/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/vi_VN/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/vi_VN/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/vi_VN/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/vi_VN/LC_MESSAGES/django.po index ac162e37..adb2e468 100644 --- a/djangocms_snippet/locale/vi_VN/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/vi_VN/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/zh/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/zh/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/zh/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/zh/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/zh/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/zh/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/zh/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/zh/LC_MESSAGES/django.po index 11a0061d..941a666b 100644 --- a/djangocms_snippet/locale/zh/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/zh/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/zh_CN/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/zh_CN/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/zh_CN/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/zh_CN/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/zh_CN/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/zh_CN/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/zh_CN/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/zh_CN/LC_MESSAGES/django.po index 03adcfa8..0a58dafc 100644 --- a/djangocms_snippet/locale/zh_CN/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/zh_CN/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/locale/zh_TW/LC_MESSAGES/django.mo b/src/djangocms_snippet/locale/zh_TW/LC_MESSAGES/django.mo similarity index 100% rename from djangocms_snippet/locale/zh_TW/LC_MESSAGES/django.mo rename to src/djangocms_snippet/locale/zh_TW/LC_MESSAGES/django.mo diff --git a/djangocms_snippet/locale/zh_TW/LC_MESSAGES/django.po b/src/djangocms_snippet/locale/zh_TW/LC_MESSAGES/django.po similarity index 99% rename from djangocms_snippet/locale/zh_TW/LC_MESSAGES/django.po rename to src/djangocms_snippet/locale/zh_TW/LC_MESSAGES/django.po index f7c93944..8983923b 100644 --- a/djangocms_snippet/locale/zh_TW/LC_MESSAGES/django.po +++ b/src/djangocms_snippet/locale/zh_TW/LC_MESSAGES/django.po @@ -2,10 +2,10 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2016 -# +# #, fuzzy msgid "" msgstr "" diff --git a/djangocms_snippet/migrations/0001_initial.py b/src/djangocms_snippet/migrations/0001_initial.py similarity index 100% rename from djangocms_snippet/migrations/0001_initial.py rename to src/djangocms_snippet/migrations/0001_initial.py diff --git a/djangocms_snippet/migrations/0002_snippet_slug.py b/src/djangocms_snippet/migrations/0002_snippet_slug.py similarity index 100% rename from djangocms_snippet/migrations/0002_snippet_slug.py rename to src/djangocms_snippet/migrations/0002_snippet_slug.py diff --git a/djangocms_snippet/migrations/0003_auto_data_fill_slug.py b/src/djangocms_snippet/migrations/0003_auto_data_fill_slug.py similarity index 88% rename from djangocms_snippet/migrations/0003_auto_data_fill_slug.py rename to src/djangocms_snippet/migrations/0003_auto_data_fill_slug.py index a8a404b1..3ecde907 100644 --- a/djangocms_snippet/migrations/0003_auto_data_fill_slug.py +++ b/src/djangocms_snippet/migrations/0003_auto_data_fill_slug.py @@ -15,7 +15,7 @@ def auto_fill_slugs(apps, schema_editor): snippet_item.slug = slugify(snippet_item.name) # Avoid duplicate slug, adding slug occurence count to the slug if snippet_item.slug in SlugCounter: - snippet_item.slug = "{0}-{1}".format(snippet_item.slug, str(SlugCounter[snippet_item.slug])) + snippet_item.slug = f"{snippet_item.slug}-{str(SlugCounter[snippet_item.slug])}" SlugCounter[snippet_item.slug] += 1 snippet_item.save() diff --git a/djangocms_snippet/migrations/0004_auto_alter_slug_unique.py b/src/djangocms_snippet/migrations/0004_auto_alter_slug_unique.py similarity index 100% rename from djangocms_snippet/migrations/0004_auto_alter_slug_unique.py rename to src/djangocms_snippet/migrations/0004_auto_alter_slug_unique.py diff --git a/djangocms_snippet/migrations/0005_set_related_name_for_cmsplugin_ptr.py b/src/djangocms_snippet/migrations/0005_set_related_name_for_cmsplugin_ptr.py similarity index 100% rename from djangocms_snippet/migrations/0005_set_related_name_for_cmsplugin_ptr.py rename to src/djangocms_snippet/migrations/0005_set_related_name_for_cmsplugin_ptr.py diff --git a/djangocms_snippet/migrations/0006_auto_20160831_0729.py b/src/djangocms_snippet/migrations/0006_auto_20160831_0729.py similarity index 100% rename from djangocms_snippet/migrations/0006_auto_20160831_0729.py rename to src/djangocms_snippet/migrations/0006_auto_20160831_0729.py diff --git a/djangocms_snippet/migrations/0007_auto_alter_template_helptext.py b/src/djangocms_snippet/migrations/0007_auto_alter_template_helptext.py similarity index 100% rename from djangocms_snippet/migrations/0007_auto_alter_template_helptext.py rename to src/djangocms_snippet/migrations/0007_auto_alter_template_helptext.py diff --git a/djangocms_snippet/migrations/0008_auto_change_name.py b/src/djangocms_snippet/migrations/0008_auto_change_name.py similarity index 100% rename from djangocms_snippet/migrations/0008_auto_change_name.py rename to src/djangocms_snippet/migrations/0008_auto_change_name.py diff --git a/djangocms_snippet/migrations/0009_auto_20210915_0445.py b/src/djangocms_snippet/migrations/0009_auto_20210915_0445.py similarity index 100% rename from djangocms_snippet/migrations/0009_auto_20210915_0445.py rename to src/djangocms_snippet/migrations/0009_auto_20210915_0445.py diff --git a/src/djangocms_snippet/migrations/0010_alter_snippet_id.py b/src/djangocms_snippet/migrations/0010_alter_snippet_id.py new file mode 100644 index 00000000..a16a153c --- /dev/null +++ b/src/djangocms_snippet/migrations/0010_alter_snippet_id.py @@ -0,0 +1,19 @@ +# Generated by Django 4.2.6 on 2023-10-25 23:30 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("djangocms_snippet", "0009_alter_snippetptr_cmsplugin_ptr"), + ] + + operations = [ + migrations.AlterField( + model_name="snippet", + name="id", + field=models.BigAutoField( + auto_created=True, primary_key=True, serialize=False, verbose_name="ID" + ), + ), + ] diff --git a/djangocms_snippet/migrations/0010_cms4_grouper_version_data_migration.py b/src/djangocms_snippet/migrations/0010_cms4_grouper_version_data_migration.py similarity index 100% rename from djangocms_snippet/migrations/0010_cms4_grouper_version_data_migration.py rename to src/djangocms_snippet/migrations/0010_cms4_grouper_version_data_migration.py diff --git a/djangocms_snippet/migrations/0011_cms4_plugin_data_migration.py b/src/djangocms_snippet/migrations/0011_cms4_plugin_data_migration.py similarity index 100% rename from djangocms_snippet/migrations/0011_cms4_plugin_data_migration.py rename to src/djangocms_snippet/migrations/0011_cms4_plugin_data_migration.py diff --git a/djangocms_snippet/migrations/0012_auto_20210915_0721.py b/src/djangocms_snippet/migrations/0012_auto_20210915_0721.py similarity index 100% rename from djangocms_snippet/migrations/0012_auto_20210915_0721.py rename to src/djangocms_snippet/migrations/0012_auto_20210915_0721.py diff --git a/djangocms_snippet/migrations/0013_snippet_site.py b/src/djangocms_snippet/migrations/0013_snippet_site.py similarity index 100% rename from djangocms_snippet/migrations/0013_snippet_site.py rename to src/djangocms_snippet/migrations/0013_snippet_site.py diff --git a/djangocms_snippet/migrations/__init__.py b/src/djangocms_snippet/migrations/__init__.py similarity index 100% rename from djangocms_snippet/migrations/__init__.py rename to src/djangocms_snippet/migrations/__init__.py diff --git a/djangocms_snippet/models.py b/src/djangocms_snippet/models.py similarity index 75% rename from djangocms_snippet/models.py rename to src/djangocms_snippet/models.py index 20a1578d..1f04e886 100644 --- a/djangocms_snippet/models.py +++ b/src/djangocms_snippet/models.py @@ -1,3 +1,5 @@ +from typing import ClassVar + from django.conf import settings from django.contrib.sites.models import Site from django.db import models @@ -10,7 +12,7 @@ # Search is enabled by default to keep backwards compatibility. -SEARCH_ENABLED = getattr(settings, 'DJANGOCMS_SNIPPET_SEARCH', False) +SEARCH_ENABLED = getattr(settings, "DJANGOCMS_SNIPPET_SEARCH", False) class SnippetGrouper(models.Model): @@ -43,8 +45,10 @@ class Snippet(models.Model): """ A snippet of HTML or a Django template """ + name = models.CharField( verbose_name=_('Name'), + unique=True, max_length=255, ) snippet_grouper = models.ForeignKey( @@ -52,27 +56,35 @@ class Snippet(models.Model): on_delete=models.PROTECT, ) html = models.TextField( - verbose_name=_('HTML'), + verbose_name=_("HTML"), blank=True, ) template = models.CharField( - verbose_name=_('Template'), + verbose_name=_("Template"), blank=True, max_length=255, - help_text=_('Enter a template (e.g. "snippets/plugin_xy.html") to ' - 'be rendered. If "template" is given, the contents of ' - 'field "HTML" will be passed as template variable ' - '{{ html }} to the template. Otherwise, the content of ' - '"HTML" is rendered.'), + help_text=_( + 'Enter a template (e.g. "snippets/plugin_xy.html") to ' + 'be rendered. If "template" is given, the contents of ' + 'field "HTML" will be passed as template variable ' + "{{ html }} to the template. Otherwise, the content of " + '"HTML" is rendered.' + ), ) slug = models.SlugField( - verbose_name=_('Slug'), + verbose_name=_("Slug"), + unique=True, blank=False, - default='', + default="", max_length=255, ) site = models.ForeignKey(Site, on_delete=models.CASCADE, null=True, blank=True) + class Meta: + ordering: ClassVar[list[str]] = ["name"] + verbose_name = _("Snippet") + verbose_name_plural = _("Snippets") + def __str__(self): return self.name @@ -97,7 +109,7 @@ class SnippetPtr(CMSPlugin): # https://github.com/divio/django-cms/issues/5030 cmsplugin_ptr = models.OneToOneField( CMSPlugin, - related_name='%(app_label)s_%(class)s', + related_name="%(app_label)s_%(class)s", parent_link=True, on_delete=models.CASCADE, ) @@ -106,7 +118,7 @@ class SnippetPtr(CMSPlugin): on_delete=models.CASCADE, ) - search_fields = ['snippet__html'] if SEARCH_ENABLED else [] + search_fields = ["snippet__html"] if SEARCH_ENABLED else [] def get_short_description(self): snippet_label = SnippetGrouper.objects.filter(pk=self.snippet_grouper.pk).first() @@ -115,3 +127,7 @@ def get_short_description(self): class Meta: verbose_name = _('Snippet Ptr') verbose_name_plural = _('Snippet Ptrs') + + def __str__(self): + # Return the referenced snippet's name rather than the default (ID #) + return self.snippet.name diff --git a/djangocms_snippet/rendering.py b/src/djangocms_snippet/rendering.py similarity index 100% rename from djangocms_snippet/rendering.py rename to src/djangocms_snippet/rendering.py diff --git a/djangocms_snippet/settings.py b/src/djangocms_snippet/settings.py similarity index 100% rename from djangocms_snippet/settings.py rename to src/djangocms_snippet/settings.py diff --git a/djangocms_snippet/templates/djangocms_snippet/admin/change_form.html b/src/djangocms_snippet/templates/djangocms_snippet/admin/change_form.html similarity index 100% rename from djangocms_snippet/templates/djangocms_snippet/admin/change_form.html rename to src/djangocms_snippet/templates/djangocms_snippet/admin/change_form.html diff --git a/djangocms_snippet/templates/djangocms_snippet/admin/preview.html b/src/djangocms_snippet/templates/djangocms_snippet/admin/preview.html similarity index 100% rename from djangocms_snippet/templates/djangocms_snippet/admin/preview.html rename to src/djangocms_snippet/templates/djangocms_snippet/admin/preview.html diff --git a/djangocms_snippet/templates/djangocms_snippet/snippet.html b/src/djangocms_snippet/templates/djangocms_snippet/snippet.html similarity index 100% rename from djangocms_snippet/templates/djangocms_snippet/snippet.html rename to src/djangocms_snippet/templates/djangocms_snippet/snippet.html diff --git a/djangocms_snippet/templatetags/__init__.py b/src/djangocms_snippet/templatetags/__init__.py similarity index 100% rename from djangocms_snippet/templatetags/__init__.py rename to src/djangocms_snippet/templatetags/__init__.py diff --git a/djangocms_snippet/templatetags/snippet_tags.py b/src/djangocms_snippet/templatetags/snippet_tags.py similarity index 85% rename from djangocms_snippet/templatetags/snippet_tags.py rename to src/djangocms_snippet/templatetags/snippet_tags.py index 8a87fddb..a73870d6 100644 --- a/djangocms_snippet/templatetags/snippet_tags.py +++ b/src/djangocms_snippet/templatetags/snippet_tags.py @@ -10,9 +10,10 @@ from djangocms_snippet.models import Snippet - register = template.Library() +EXPECTED_LENGTH = 2 + @contextmanager def exceptionless(truth): @@ -43,7 +44,7 @@ def __init__(self, snippet_id_varname, *args): """ self.parse_until = False self.snippet_id_varname = template.Variable(snippet_id_varname) - if args and 'or' in args: + if args and "or" in args: # We are in a 'parse util' case # ALERT: Exceptions will be suppressed to avoid errors from bad # tag content @@ -70,8 +71,9 @@ def render(self, context): elif isinstance(snippet_instance, int): # pragma: no cover snippet_instance = Snippet.objects.get(pk=snippet_instance) - return mark_safe(self.get_content_render(context, - snippet_instance)) + return mark_safe( + self.get_content_render(context, snippet_instance) + ) # Rely on the fact that manager something went wrong # render the fallback template @@ -81,14 +83,14 @@ def get_content_render(self, context, instance): """ Render the snippet HTML, using a template if defined in its instance """ - context.update({ - 'object': instance, - }) + context.update( + { + "object": instance, + } + ) try: if instance.template: - context.update({ - 'html': mark_safe(instance.html) - }) + context.update({"html": mark_safe(instance.html)}) content = template.loader.render_to_string( instance.template, context.flatten(), @@ -97,8 +99,9 @@ def get_content_render(self, context, instance): t = template.Template(instance.html) content = t.render(context) except template.TemplateDoesNotExist: - content = _('Template %(template)s does not exist.') % { - 'template': instance.template} + content = _("Template %(template)s does not exist.") % { + "template": instance.template + } except Exception as e: # pragma: no cover content = escape(str(e)) if self.parse_until: @@ -109,7 +112,7 @@ def get_content_render(self, context, instance): return content -@register.tag(name='snippet_fragment') +@register.tag(name="snippet_fragment") def do_snippet_fragment(parser, token): """ Display a snippet HTML fragment @@ -122,12 +125,13 @@ def do_snippet_fragment(parser, token): {% endsnippet_fragment %} """ args = token.split_contents() - if len(args) < 2: + if len(args) < EXPECTED_LENGTH: raise template.TemplateSyntaxError( - 'You need to specify at least a "snippet" ID, slug or instance') - if 'or' in args: + 'You need to specify at least a "snippet" ID, slug or instance' + ) + if "or" in args: # Catch contents between tags and pass to renderer - args.append(parser.parse(('endsnippet_fragment',))) + args.append(parser.parse(("endsnippet_fragment",))) parser.delete_first_token() return SnippetFragment(*args[1:]) diff --git a/djangocms_snippet/utils.py b/src/djangocms_snippet/utils.py similarity index 100% rename from djangocms_snippet/utils.py rename to src/djangocms_snippet/utils.py diff --git a/tests/requirements/compile.py b/tests/requirements/compile.py new file mode 100644 index 00000000..0939ec72 --- /dev/null +++ b/tests/requirements/compile.py @@ -0,0 +1,103 @@ +#!/usr/bin/env python +from __future__ import annotations + +import os +import subprocess +import sys +from pathlib import Path + +if __name__ == "__main__": + os.chdir(Path(__file__).parent) + os.environ["CUSTOM_COMPILE_COMMAND"] = "requirements/compile.py" + os.environ["PIP_REQUIRE_VIRTUALENV"] = "0" + common_args = [ + "-m", + "piptools", + "compile", + "--generate-hashes", + "--allow-unsafe", + ] + sys.argv[1:] + subprocess.run( + [ + "/usr/local/bin/python3.9", + *common_args, + "-P", + "Django>=3.2a1,<3.3", + "-P", + "django-cms>=3.11,<4.0", + "-o", + "py39-django32-cms311.txt", + ], + check=True, + capture_output=True, + ) + subprocess.run( + [ + "/usr/local/bin/python3.9", + *common_args, + "-P", + "Django>=4.2a1,<5.0", + "-P", + "django-cms>=3.11,<4.0", + "-o", + "py39-django42-cms311.txt", + ], + check=True, + capture_output=True, + ) + subprocess.run( + [ + "/usr/local/bin/python3.10", + *common_args, + "-P", + "Django>=3.2a1,<3.3", + "-P", + "django-cms>=3.11,<4.0", + "-o", + "py310-django32-cms311.txt", + ], + check=True, + capture_output=True, + ) + subprocess.run( + [ + "/usr/local/bin/python3.10", + *common_args, + "-P", + "Django>=4.2a1,<5.0", + "-P", + "django-cms>=3.11,<4.0", + "-o", + "py310-django42-cms311.txt", + ], + check=True, + capture_output=True, + ) + subprocess.run( + [ + "/usr/local/bin/python3.11", + *common_args, + "-P", + "Django>=3.2a1,<4.0", + "-P", + "django-cms>=3.11,<4.0", + "-o", + "py311-django32-cms311.txt", + ], + check=True, + capture_output=True, + ) + subprocess.run( + [ + "/usr/local/bin/python3.11", + *common_args, + "-P", + "Django>=4.2a1,<5.0", + "-P", + "django-cms>=3.11,<4.0", + "-o", + "py311-django42-cms311.txt", + ], + check=True, + capture_output=True, + ) diff --git a/tests/requirements/py310-django32-cms311.txt b/tests/requirements/py310-django32-cms311.txt new file mode 100644 index 00000000..dd490edc --- /dev/null +++ b/tests/requirements/py310-django32-cms311.txt @@ -0,0 +1,173 @@ +# +# This file is autogenerated by pip-compile with Python 3.10 +# by the following command: +# +# requirements/compile.py +# +asgiref==3.7.2 \ + --hash=sha256:89b2ef2247e3b562a16eef663bc0e2e703ec6468e2fa8a5cd61cd449786d4f6e \ + --hash=sha256:9e0ce3aa93a819ba5b45120216b23878cf6e8525eb3848653452b4192b92afed + # via django +cachetools==5.3.2 \ + --hash=sha256:086ee420196f7b2ab9ca2db2520aca326318b68fe5ba8bc4d49cca91add450f2 \ + --hash=sha256:861f35a13a451f94e301ce2bec7cac63e881232ccce7ed67fab9b5df4d3beaa1 + # via tox +chardet==5.2.0 \ + --hash=sha256:1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7 \ + --hash=sha256:e1cf59446890a00105fe7b7912492ea04b6e6f06d4b742b2c788469e34c82970 + # via tox +colorama==0.4.6 \ + --hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \ + --hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6 + # via tox +coverage==7.3.2 \ + --hash=sha256:0cbf38419fb1a347aaf63481c00f0bdc86889d9fbf3f25109cf96c26b403fda1 \ + --hash=sha256:12d15ab5833a997716d76f2ac1e4b4d536814fc213c85ca72756c19e5a6b3d63 \ + --hash=sha256:149de1d2401ae4655c436a3dced6dd153f4c3309f599c3d4bd97ab172eaf02d9 \ + --hash=sha256:1981f785239e4e39e6444c63a98da3a1db8e971cb9ceb50a945ba6296b43f312 \ + --hash=sha256:2443cbda35df0d35dcfb9bf8f3c02c57c1d6111169e3c85fc1fcc05e0c9f39a3 \ + --hash=sha256:289fe43bf45a575e3ab10b26d7b6f2ddb9ee2dba447499f5401cfb5ecb8196bb \ + --hash=sha256:2f11cc3c967a09d3695d2a6f03fb3e6236622b93be7a4b5dc09166a861be6d25 \ + --hash=sha256:307adb8bd3abe389a471e649038a71b4eb13bfd6b7dd9a129fa856f5c695cf92 \ + --hash=sha256:310b3bb9c91ea66d59c53fa4989f57d2436e08f18fb2f421a1b0b6b8cc7fffda \ + --hash=sha256:315a989e861031334d7bee1f9113c8770472db2ac484e5b8c3173428360a9148 \ + --hash=sha256:3a4006916aa6fee7cd38db3bfc95aa9c54ebb4ffbfc47c677c8bba949ceba0a6 \ + --hash=sha256:3c7bba973ebee5e56fe9251300c00f1579652587a9f4a5ed8404b15a0471f216 \ + --hash=sha256:4175e10cc8dda0265653e8714b3174430b07c1dca8957f4966cbd6c2b1b8065a \ + --hash=sha256:43668cabd5ca8258f5954f27a3aaf78757e6acf13c17604d89648ecc0cc66640 \ + --hash=sha256:4cbae1051ab791debecc4a5dcc4a1ff45fc27b91b9aee165c8a27514dd160836 \ + --hash=sha256:5c913b556a116b8d5f6ef834038ba983834d887d82187c8f73dec21049abd65c \ + --hash=sha256:5f7363d3b6a1119ef05015959ca24a9afc0ea8a02c687fe7e2d557705375c01f \ + --hash=sha256:630b13e3036e13c7adc480ca42fa7afc2a5d938081d28e20903cf7fd687872e2 \ + --hash=sha256:72c0cfa5250f483181e677ebc97133ea1ab3eb68645e494775deb6a7f6f83901 \ + --hash=sha256:7dbc3ed60e8659bc59b6b304b43ff9c3ed858da2839c78b804973f613d3e92ed \ + --hash=sha256:88ed2c30a49ea81ea3b7f172e0269c182a44c236eb394718f976239892c0a27a \ + --hash=sha256:89a937174104339e3a3ffcf9f446c00e3a806c28b1841c63edb2b369310fd074 \ + --hash=sha256:9028a3871280110d6e1aa2df1afd5ef003bab5fb1ef421d6dc748ae1c8ef2ebc \ + --hash=sha256:99b89d9f76070237975b315b3d5f4d6956ae354a4c92ac2388a5695516e47c84 \ + --hash=sha256:9f805d62aec8eb92bab5b61c0f07329275b6f41c97d80e847b03eb894f38d083 \ + --hash=sha256:a889ae02f43aa45032afe364c8ae84ad3c54828c2faa44f3bfcafecb5c96b02f \ + --hash=sha256:aa72dbaf2c2068404b9870d93436e6d23addd8bbe9295f49cbca83f6e278179c \ + --hash=sha256:ac8c802fa29843a72d32ec56d0ca792ad15a302b28ca6203389afe21f8fa062c \ + --hash=sha256:ae97af89f0fbf373400970c0a21eef5aa941ffeed90aee43650b81f7d7f47637 \ + --hash=sha256:af3d828d2c1cbae52d34bdbb22fcd94d1ce715d95f1a012354a75e5913f1bda2 \ + --hash=sha256:b4275802d16882cf9c8b3d057a0839acb07ee9379fa2749eca54efbce1535b82 \ + --hash=sha256:b4767da59464bb593c07afceaddea61b154136300881844768037fd5e859353f \ + --hash=sha256:b631c92dfe601adf8f5ebc7fc13ced6bb6e9609b19d9a8cd59fa47c4186ad1ce \ + --hash=sha256:be32ad29341b0170e795ca590e1c07e81fc061cb5b10c74ce7203491484404ef \ + --hash=sha256:beaa5c1b4777f03fc63dfd2a6bd820f73f036bfb10e925fce067b00a340d0f3f \ + --hash=sha256:c0ba320de3fb8c6ec16e0be17ee1d3d69adcda99406c43c0409cb5c41788a611 \ + --hash=sha256:c9eacf273e885b02a0273bb3a2170f30e2d53a6d53b72dbe02d6701b5296101c \ + --hash=sha256:cb536f0dcd14149425996821a168f6e269d7dcd2c273a8bff8201e79f5104e76 \ + --hash=sha256:d1bc430677773397f64a5c88cb522ea43175ff16f8bfcc89d467d974cb2274f9 \ + --hash=sha256:d1c88ec1a7ff4ebca0219f5b1ef863451d828cccf889c173e1253aa84b1e07ce \ + --hash=sha256:d3d9df4051c4a7d13036524b66ecf7a7537d14c18a384043f30a303b146164e9 \ + --hash=sha256:d51ac2a26f71da1b57f2dc81d0e108b6ab177e7d30e774db90675467c847bbdf \ + --hash=sha256:d872145f3a3231a5f20fd48500274d7df222e291d90baa2026cc5152b7ce86bf \ + --hash=sha256:d8f17966e861ff97305e0801134e69db33b143bbfb36436efb9cfff6ec7b2fd9 \ + --hash=sha256:dbc1b46b92186cc8074fee9d9fbb97a9dd06c6cbbef391c2f59d80eabdf0faa6 \ + --hash=sha256:e10c39c0452bf6e694511c901426d6b5ac005acc0f78ff265dbe36bf81f808a2 \ + --hash=sha256:e267e9e2b574a176ddb983399dec325a80dbe161f1a32715c780b5d14b5f583a \ + --hash=sha256:f47d39359e2c3779c5331fc740cf4bce6d9d680a7b4b4ead97056a0ae07cb49a \ + --hash=sha256:f6e9589bd04d0461a417562649522575d8752904d35c12907d8c9dfeba588faf \ + --hash=sha256:f94b734214ea6a36fe16e96a70d941af80ff3bfd716c141300d95ebc85339738 \ + --hash=sha256:fa28e909776dc69efb6ed975a63691bc8172b64ff357e663a1bb06ff3c9b589a \ + --hash=sha256:fe494faa90ce6381770746077243231e0b83ff3f17069d748f645617cefe19d4 + # via -r requirements.in +distlib==0.3.7 \ + --hash=sha256:2e24928bc811348f0feb63014e97aaae3037f2cf48712d51ae61df7fd6075057 \ + --hash=sha256:9dafe54b34a028eafd95039d5e5d4851a13734540f1331060d31c9916e7147a8 + # via virtualenv +dj-database-url==2.1.0 \ + --hash=sha256:04bc34b248d4c21aaa13e4ab419ae6575ef5f10f3df735ce7da97722caa356e0 \ + --hash=sha256:f2042cefe1086e539c9da39fad5ad7f61173bf79665e69bf7e4de55fa88b135f + # via django-app-helper +django==3.2.22 \ + --hash=sha256:83b6d66b06e484807d778263fdc7f9186d4dc1862fcfa6507830446ac6b060ba \ + --hash=sha256:c5e7b668025a6e06cad9ba6d4de1fd1a21212acebb51ea34abb400c6e4d33430 + # via dj-database-url +django-app-helper==3.3.2 \ + --hash=sha256:67b34ce92eed58dce8d44056ff038a253766b660a5a240fcf408fdd33da57a8b \ + --hash=sha256:a8995ca3963eb1212bab0a9abdf175bfe3db137225f90be7581d4f998740608b + # via -r requirements.in +docopt==0.6.2 \ + --hash=sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491 + # via django-app-helper +filelock==3.12.4 \ + --hash=sha256:08c21d87ded6e2b9da6728c3dff51baf1dcecf973b768ef35bcbc3447edb9ad4 \ + --hash=sha256:2e6f249f1f3654291606e046b09f1fd5eac39b360664c27f5aad072012f8bcbd + # via + # tox + # virtualenv +flake8==6.1.0 \ + --hash=sha256:d5b3857f07c030bdb5bf41c7f53799571d75c4491748a3adcd47de929e34cd23 \ + --hash=sha256:ffdfce58ea94c6580c77888a86506937f9a1a227dfcd15f245d694ae20a6b6e5 + # via -r requirements.in +isort==5.12.0 \ + --hash=sha256:8bef7dde241278824a6d83f44a544709b065191b95b6e50894bdc722fcba0504 \ + --hash=sha256:f84c2818376e66cf843d497486ea8fed8700b340f308f076c6fb1229dff318b6 + # via -r requirements.in +mccabe==0.7.0 \ + --hash=sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325 \ + --hash=sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e + # via flake8 +packaging==23.2 \ + --hash=sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5 \ + --hash=sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7 + # via + # pyproject-api + # tox +platformdirs==3.11.0 \ + --hash=sha256:cf8ee52a3afdb965072dcc652433e0c7e3e40cf5ea1477cd4b3b1d2eb75495b3 \ + --hash=sha256:e9d171d00af68be50e9202731309c4e658fd8bc76f55c11c7dd760d023bda68e + # via + # tox + # virtualenv +pluggy==1.3.0 \ + --hash=sha256:cf61ae8f126ac6f7c451172cf30e3e43d3ca77615509771b3a984a0730651e12 \ + --hash=sha256:d89c696a773f8bd377d18e5ecda92b7a3793cbe66c87060a6fb58c7b6e1061f7 + # via tox +pycodestyle==2.11.1 \ + --hash=sha256:41ba0e7afc9752dfb53ced5489e89f8186be00e599e712660695b7a75ff2663f \ + --hash=sha256:44fe31000b2d866f2e41841b18528a505fbd7fef9017b04eff4e2648a0fadc67 + # via flake8 +pyflakes==3.1.0 \ + --hash=sha256:4132f6d49cb4dae6819e5379898f2b8cce3c5f23994194c24b77d5da2e36f774 \ + --hash=sha256:a0aae034c444db0071aa077972ba4768d40c830d9539fd45bf4cd3f8f6992efc + # via flake8 +pyproject-api==1.6.1 \ + --hash=sha256:1817dc018adc0d1ff9ca1ed8c60e1623d5aaca40814b953af14a9cf9a5cae538 \ + --hash=sha256:4c0116d60476b0786c88692cf4e325a9814965e2469c5998b830bba16b183675 + # via tox +pytz==2023.3.post1 \ + --hash=sha256:7b4fddbeb94a1eba4b557da24f19fdf9db575192544270a9101d8509f9f43d7b \ + --hash=sha256:ce42d816b81b68506614c11e8937d3aa9e41007ceb50bfdcb0749b921bf646c7 + # via django +six==1.16.0 \ + --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \ + --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 + # via django-app-helper +sqlparse==0.4.4 \ + --hash=sha256:5430a4fe2ac7d0f93e66f1efc6e1338a41884b7ddf2a350cedd20ccc4d9d28f3 \ + --hash=sha256:d446183e84b8349fa3061f0fe7f06ca94ba65b426946ffebe6e3e8295332420c + # via django +tomli==2.0.1 \ + --hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \ + --hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f + # via + # pyproject-api + # tox +tox==4.11.3 \ + --hash=sha256:5039f68276461fae6a9452a3b2c7295798f00a0e92edcd9a3b78ba1a73577951 \ + --hash=sha256:599af5e5bb0cad0148ac1558a0b66f8fff219ef88363483b8d92a81e4246f28f + # via -r requirements.in +typing-extensions==4.8.0 \ + --hash=sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0 \ + --hash=sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef + # via + # asgiref + # dj-database-url +virtualenv==20.24.6 \ + --hash=sha256:02ece4f56fbf939dbbc33c0715159951d6bf14aaf5457b092e4548e1382455af \ + --hash=sha256:520d056652454c5098a00c0f073611ccbea4c79089331f60bf9d7ba247bb7381 + # via tox diff --git a/tests/requirements/py310-django42-cms311.txt b/tests/requirements/py310-django42-cms311.txt new file mode 100644 index 00000000..50505bf3 --- /dev/null +++ b/tests/requirements/py310-django42-cms311.txt @@ -0,0 +1,169 @@ +# +# This file is autogenerated by pip-compile with Python 3.10 +# by the following command: +# +# requirements/compile.py +# +asgiref==3.7.2 \ + --hash=sha256:89b2ef2247e3b562a16eef663bc0e2e703ec6468e2fa8a5cd61cd449786d4f6e \ + --hash=sha256:9e0ce3aa93a819ba5b45120216b23878cf6e8525eb3848653452b4192b92afed + # via django +cachetools==5.3.2 \ + --hash=sha256:086ee420196f7b2ab9ca2db2520aca326318b68fe5ba8bc4d49cca91add450f2 \ + --hash=sha256:861f35a13a451f94e301ce2bec7cac63e881232ccce7ed67fab9b5df4d3beaa1 + # via tox +chardet==5.2.0 \ + --hash=sha256:1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7 \ + --hash=sha256:e1cf59446890a00105fe7b7912492ea04b6e6f06d4b742b2c788469e34c82970 + # via tox +colorama==0.4.6 \ + --hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \ + --hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6 + # via tox +coverage==7.3.2 \ + --hash=sha256:0cbf38419fb1a347aaf63481c00f0bdc86889d9fbf3f25109cf96c26b403fda1 \ + --hash=sha256:12d15ab5833a997716d76f2ac1e4b4d536814fc213c85ca72756c19e5a6b3d63 \ + --hash=sha256:149de1d2401ae4655c436a3dced6dd153f4c3309f599c3d4bd97ab172eaf02d9 \ + --hash=sha256:1981f785239e4e39e6444c63a98da3a1db8e971cb9ceb50a945ba6296b43f312 \ + --hash=sha256:2443cbda35df0d35dcfb9bf8f3c02c57c1d6111169e3c85fc1fcc05e0c9f39a3 \ + --hash=sha256:289fe43bf45a575e3ab10b26d7b6f2ddb9ee2dba447499f5401cfb5ecb8196bb \ + --hash=sha256:2f11cc3c967a09d3695d2a6f03fb3e6236622b93be7a4b5dc09166a861be6d25 \ + --hash=sha256:307adb8bd3abe389a471e649038a71b4eb13bfd6b7dd9a129fa856f5c695cf92 \ + --hash=sha256:310b3bb9c91ea66d59c53fa4989f57d2436e08f18fb2f421a1b0b6b8cc7fffda \ + --hash=sha256:315a989e861031334d7bee1f9113c8770472db2ac484e5b8c3173428360a9148 \ + --hash=sha256:3a4006916aa6fee7cd38db3bfc95aa9c54ebb4ffbfc47c677c8bba949ceba0a6 \ + --hash=sha256:3c7bba973ebee5e56fe9251300c00f1579652587a9f4a5ed8404b15a0471f216 \ + --hash=sha256:4175e10cc8dda0265653e8714b3174430b07c1dca8957f4966cbd6c2b1b8065a \ + --hash=sha256:43668cabd5ca8258f5954f27a3aaf78757e6acf13c17604d89648ecc0cc66640 \ + --hash=sha256:4cbae1051ab791debecc4a5dcc4a1ff45fc27b91b9aee165c8a27514dd160836 \ + --hash=sha256:5c913b556a116b8d5f6ef834038ba983834d887d82187c8f73dec21049abd65c \ + --hash=sha256:5f7363d3b6a1119ef05015959ca24a9afc0ea8a02c687fe7e2d557705375c01f \ + --hash=sha256:630b13e3036e13c7adc480ca42fa7afc2a5d938081d28e20903cf7fd687872e2 \ + --hash=sha256:72c0cfa5250f483181e677ebc97133ea1ab3eb68645e494775deb6a7f6f83901 \ + --hash=sha256:7dbc3ed60e8659bc59b6b304b43ff9c3ed858da2839c78b804973f613d3e92ed \ + --hash=sha256:88ed2c30a49ea81ea3b7f172e0269c182a44c236eb394718f976239892c0a27a \ + --hash=sha256:89a937174104339e3a3ffcf9f446c00e3a806c28b1841c63edb2b369310fd074 \ + --hash=sha256:9028a3871280110d6e1aa2df1afd5ef003bab5fb1ef421d6dc748ae1c8ef2ebc \ + --hash=sha256:99b89d9f76070237975b315b3d5f4d6956ae354a4c92ac2388a5695516e47c84 \ + --hash=sha256:9f805d62aec8eb92bab5b61c0f07329275b6f41c97d80e847b03eb894f38d083 \ + --hash=sha256:a889ae02f43aa45032afe364c8ae84ad3c54828c2faa44f3bfcafecb5c96b02f \ + --hash=sha256:aa72dbaf2c2068404b9870d93436e6d23addd8bbe9295f49cbca83f6e278179c \ + --hash=sha256:ac8c802fa29843a72d32ec56d0ca792ad15a302b28ca6203389afe21f8fa062c \ + --hash=sha256:ae97af89f0fbf373400970c0a21eef5aa941ffeed90aee43650b81f7d7f47637 \ + --hash=sha256:af3d828d2c1cbae52d34bdbb22fcd94d1ce715d95f1a012354a75e5913f1bda2 \ + --hash=sha256:b4275802d16882cf9c8b3d057a0839acb07ee9379fa2749eca54efbce1535b82 \ + --hash=sha256:b4767da59464bb593c07afceaddea61b154136300881844768037fd5e859353f \ + --hash=sha256:b631c92dfe601adf8f5ebc7fc13ced6bb6e9609b19d9a8cd59fa47c4186ad1ce \ + --hash=sha256:be32ad29341b0170e795ca590e1c07e81fc061cb5b10c74ce7203491484404ef \ + --hash=sha256:beaa5c1b4777f03fc63dfd2a6bd820f73f036bfb10e925fce067b00a340d0f3f \ + --hash=sha256:c0ba320de3fb8c6ec16e0be17ee1d3d69adcda99406c43c0409cb5c41788a611 \ + --hash=sha256:c9eacf273e885b02a0273bb3a2170f30e2d53a6d53b72dbe02d6701b5296101c \ + --hash=sha256:cb536f0dcd14149425996821a168f6e269d7dcd2c273a8bff8201e79f5104e76 \ + --hash=sha256:d1bc430677773397f64a5c88cb522ea43175ff16f8bfcc89d467d974cb2274f9 \ + --hash=sha256:d1c88ec1a7ff4ebca0219f5b1ef863451d828cccf889c173e1253aa84b1e07ce \ + --hash=sha256:d3d9df4051c4a7d13036524b66ecf7a7537d14c18a384043f30a303b146164e9 \ + --hash=sha256:d51ac2a26f71da1b57f2dc81d0e108b6ab177e7d30e774db90675467c847bbdf \ + --hash=sha256:d872145f3a3231a5f20fd48500274d7df222e291d90baa2026cc5152b7ce86bf \ + --hash=sha256:d8f17966e861ff97305e0801134e69db33b143bbfb36436efb9cfff6ec7b2fd9 \ + --hash=sha256:dbc1b46b92186cc8074fee9d9fbb97a9dd06c6cbbef391c2f59d80eabdf0faa6 \ + --hash=sha256:e10c39c0452bf6e694511c901426d6b5ac005acc0f78ff265dbe36bf81f808a2 \ + --hash=sha256:e267e9e2b574a176ddb983399dec325a80dbe161f1a32715c780b5d14b5f583a \ + --hash=sha256:f47d39359e2c3779c5331fc740cf4bce6d9d680a7b4b4ead97056a0ae07cb49a \ + --hash=sha256:f6e9589bd04d0461a417562649522575d8752904d35c12907d8c9dfeba588faf \ + --hash=sha256:f94b734214ea6a36fe16e96a70d941af80ff3bfd716c141300d95ebc85339738 \ + --hash=sha256:fa28e909776dc69efb6ed975a63691bc8172b64ff357e663a1bb06ff3c9b589a \ + --hash=sha256:fe494faa90ce6381770746077243231e0b83ff3f17069d748f645617cefe19d4 + # via -r requirements.in +distlib==0.3.7 \ + --hash=sha256:2e24928bc811348f0feb63014e97aaae3037f2cf48712d51ae61df7fd6075057 \ + --hash=sha256:9dafe54b34a028eafd95039d5e5d4851a13734540f1331060d31c9916e7147a8 + # via virtualenv +dj-database-url==2.1.0 \ + --hash=sha256:04bc34b248d4c21aaa13e4ab419ae6575ef5f10f3df735ce7da97722caa356e0 \ + --hash=sha256:f2042cefe1086e539c9da39fad5ad7f61173bf79665e69bf7e4de55fa88b135f + # via django-app-helper +django==4.2.6 \ + --hash=sha256:08f41f468b63335aea0d904c5729e0250300f6a1907bf293a65499496cdbc68f \ + --hash=sha256:a64d2487cdb00ad7461434320ccc38e60af9c404773a2f95ab0093b4453a3215 + # via dj-database-url +django-app-helper==3.3.2 \ + --hash=sha256:67b34ce92eed58dce8d44056ff038a253766b660a5a240fcf408fdd33da57a8b \ + --hash=sha256:a8995ca3963eb1212bab0a9abdf175bfe3db137225f90be7581d4f998740608b + # via -r requirements.in +docopt==0.6.2 \ + --hash=sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491 + # via django-app-helper +filelock==3.12.4 \ + --hash=sha256:08c21d87ded6e2b9da6728c3dff51baf1dcecf973b768ef35bcbc3447edb9ad4 \ + --hash=sha256:2e6f249f1f3654291606e046b09f1fd5eac39b360664c27f5aad072012f8bcbd + # via + # tox + # virtualenv +flake8==6.1.0 \ + --hash=sha256:d5b3857f07c030bdb5bf41c7f53799571d75c4491748a3adcd47de929e34cd23 \ + --hash=sha256:ffdfce58ea94c6580c77888a86506937f9a1a227dfcd15f245d694ae20a6b6e5 + # via -r requirements.in +isort==5.12.0 \ + --hash=sha256:8bef7dde241278824a6d83f44a544709b065191b95b6e50894bdc722fcba0504 \ + --hash=sha256:f84c2818376e66cf843d497486ea8fed8700b340f308f076c6fb1229dff318b6 + # via -r requirements.in +mccabe==0.7.0 \ + --hash=sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325 \ + --hash=sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e + # via flake8 +packaging==23.2 \ + --hash=sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5 \ + --hash=sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7 + # via + # pyproject-api + # tox +platformdirs==3.11.0 \ + --hash=sha256:cf8ee52a3afdb965072dcc652433e0c7e3e40cf5ea1477cd4b3b1d2eb75495b3 \ + --hash=sha256:e9d171d00af68be50e9202731309c4e658fd8bc76f55c11c7dd760d023bda68e + # via + # tox + # virtualenv +pluggy==1.3.0 \ + --hash=sha256:cf61ae8f126ac6f7c451172cf30e3e43d3ca77615509771b3a984a0730651e12 \ + --hash=sha256:d89c696a773f8bd377d18e5ecda92b7a3793cbe66c87060a6fb58c7b6e1061f7 + # via tox +pycodestyle==2.11.1 \ + --hash=sha256:41ba0e7afc9752dfb53ced5489e89f8186be00e599e712660695b7a75ff2663f \ + --hash=sha256:44fe31000b2d866f2e41841b18528a505fbd7fef9017b04eff4e2648a0fadc67 + # via flake8 +pyflakes==3.1.0 \ + --hash=sha256:4132f6d49cb4dae6819e5379898f2b8cce3c5f23994194c24b77d5da2e36f774 \ + --hash=sha256:a0aae034c444db0071aa077972ba4768d40c830d9539fd45bf4cd3f8f6992efc + # via flake8 +pyproject-api==1.6.1 \ + --hash=sha256:1817dc018adc0d1ff9ca1ed8c60e1623d5aaca40814b953af14a9cf9a5cae538 \ + --hash=sha256:4c0116d60476b0786c88692cf4e325a9814965e2469c5998b830bba16b183675 + # via tox +six==1.16.0 \ + --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \ + --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 + # via django-app-helper +sqlparse==0.4.4 \ + --hash=sha256:5430a4fe2ac7d0f93e66f1efc6e1338a41884b7ddf2a350cedd20ccc4d9d28f3 \ + --hash=sha256:d446183e84b8349fa3061f0fe7f06ca94ba65b426946ffebe6e3e8295332420c + # via django +tomli==2.0.1 \ + --hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \ + --hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f + # via + # pyproject-api + # tox +tox==4.11.3 \ + --hash=sha256:5039f68276461fae6a9452a3b2c7295798f00a0e92edcd9a3b78ba1a73577951 \ + --hash=sha256:599af5e5bb0cad0148ac1558a0b66f8fff219ef88363483b8d92a81e4246f28f + # via -r requirements.in +typing-extensions==4.8.0 \ + --hash=sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0 \ + --hash=sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef + # via + # asgiref + # dj-database-url +virtualenv==20.24.6 \ + --hash=sha256:02ece4f56fbf939dbbc33c0715159951d6bf14aaf5457b092e4548e1382455af \ + --hash=sha256:520d056652454c5098a00c0f073611ccbea4c79089331f60bf9d7ba247bb7381 + # via tox diff --git a/tests/requirements/py311-django32-cms311.txt b/tests/requirements/py311-django32-cms311.txt new file mode 100644 index 00000000..3c65747c --- /dev/null +++ b/tests/requirements/py311-django32-cms311.txt @@ -0,0 +1,165 @@ +# +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: +# +# requirements/compile.py +# +asgiref==3.7.2 \ + --hash=sha256:89b2ef2247e3b562a16eef663bc0e2e703ec6468e2fa8a5cd61cd449786d4f6e \ + --hash=sha256:9e0ce3aa93a819ba5b45120216b23878cf6e8525eb3848653452b4192b92afed + # via django +cachetools==5.3.2 \ + --hash=sha256:086ee420196f7b2ab9ca2db2520aca326318b68fe5ba8bc4d49cca91add450f2 \ + --hash=sha256:861f35a13a451f94e301ce2bec7cac63e881232ccce7ed67fab9b5df4d3beaa1 + # via tox +chardet==5.2.0 \ + --hash=sha256:1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7 \ + --hash=sha256:e1cf59446890a00105fe7b7912492ea04b6e6f06d4b742b2c788469e34c82970 + # via tox +colorama==0.4.6 \ + --hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \ + --hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6 + # via tox +coverage==7.3.2 \ + --hash=sha256:0cbf38419fb1a347aaf63481c00f0bdc86889d9fbf3f25109cf96c26b403fda1 \ + --hash=sha256:12d15ab5833a997716d76f2ac1e4b4d536814fc213c85ca72756c19e5a6b3d63 \ + --hash=sha256:149de1d2401ae4655c436a3dced6dd153f4c3309f599c3d4bd97ab172eaf02d9 \ + --hash=sha256:1981f785239e4e39e6444c63a98da3a1db8e971cb9ceb50a945ba6296b43f312 \ + --hash=sha256:2443cbda35df0d35dcfb9bf8f3c02c57c1d6111169e3c85fc1fcc05e0c9f39a3 \ + --hash=sha256:289fe43bf45a575e3ab10b26d7b6f2ddb9ee2dba447499f5401cfb5ecb8196bb \ + --hash=sha256:2f11cc3c967a09d3695d2a6f03fb3e6236622b93be7a4b5dc09166a861be6d25 \ + --hash=sha256:307adb8bd3abe389a471e649038a71b4eb13bfd6b7dd9a129fa856f5c695cf92 \ + --hash=sha256:310b3bb9c91ea66d59c53fa4989f57d2436e08f18fb2f421a1b0b6b8cc7fffda \ + --hash=sha256:315a989e861031334d7bee1f9113c8770472db2ac484e5b8c3173428360a9148 \ + --hash=sha256:3a4006916aa6fee7cd38db3bfc95aa9c54ebb4ffbfc47c677c8bba949ceba0a6 \ + --hash=sha256:3c7bba973ebee5e56fe9251300c00f1579652587a9f4a5ed8404b15a0471f216 \ + --hash=sha256:4175e10cc8dda0265653e8714b3174430b07c1dca8957f4966cbd6c2b1b8065a \ + --hash=sha256:43668cabd5ca8258f5954f27a3aaf78757e6acf13c17604d89648ecc0cc66640 \ + --hash=sha256:4cbae1051ab791debecc4a5dcc4a1ff45fc27b91b9aee165c8a27514dd160836 \ + --hash=sha256:5c913b556a116b8d5f6ef834038ba983834d887d82187c8f73dec21049abd65c \ + --hash=sha256:5f7363d3b6a1119ef05015959ca24a9afc0ea8a02c687fe7e2d557705375c01f \ + --hash=sha256:630b13e3036e13c7adc480ca42fa7afc2a5d938081d28e20903cf7fd687872e2 \ + --hash=sha256:72c0cfa5250f483181e677ebc97133ea1ab3eb68645e494775deb6a7f6f83901 \ + --hash=sha256:7dbc3ed60e8659bc59b6b304b43ff9c3ed858da2839c78b804973f613d3e92ed \ + --hash=sha256:88ed2c30a49ea81ea3b7f172e0269c182a44c236eb394718f976239892c0a27a \ + --hash=sha256:89a937174104339e3a3ffcf9f446c00e3a806c28b1841c63edb2b369310fd074 \ + --hash=sha256:9028a3871280110d6e1aa2df1afd5ef003bab5fb1ef421d6dc748ae1c8ef2ebc \ + --hash=sha256:99b89d9f76070237975b315b3d5f4d6956ae354a4c92ac2388a5695516e47c84 \ + --hash=sha256:9f805d62aec8eb92bab5b61c0f07329275b6f41c97d80e847b03eb894f38d083 \ + --hash=sha256:a889ae02f43aa45032afe364c8ae84ad3c54828c2faa44f3bfcafecb5c96b02f \ + --hash=sha256:aa72dbaf2c2068404b9870d93436e6d23addd8bbe9295f49cbca83f6e278179c \ + --hash=sha256:ac8c802fa29843a72d32ec56d0ca792ad15a302b28ca6203389afe21f8fa062c \ + --hash=sha256:ae97af89f0fbf373400970c0a21eef5aa941ffeed90aee43650b81f7d7f47637 \ + --hash=sha256:af3d828d2c1cbae52d34bdbb22fcd94d1ce715d95f1a012354a75e5913f1bda2 \ + --hash=sha256:b4275802d16882cf9c8b3d057a0839acb07ee9379fa2749eca54efbce1535b82 \ + --hash=sha256:b4767da59464bb593c07afceaddea61b154136300881844768037fd5e859353f \ + --hash=sha256:b631c92dfe601adf8f5ebc7fc13ced6bb6e9609b19d9a8cd59fa47c4186ad1ce \ + --hash=sha256:be32ad29341b0170e795ca590e1c07e81fc061cb5b10c74ce7203491484404ef \ + --hash=sha256:beaa5c1b4777f03fc63dfd2a6bd820f73f036bfb10e925fce067b00a340d0f3f \ + --hash=sha256:c0ba320de3fb8c6ec16e0be17ee1d3d69adcda99406c43c0409cb5c41788a611 \ + --hash=sha256:c9eacf273e885b02a0273bb3a2170f30e2d53a6d53b72dbe02d6701b5296101c \ + --hash=sha256:cb536f0dcd14149425996821a168f6e269d7dcd2c273a8bff8201e79f5104e76 \ + --hash=sha256:d1bc430677773397f64a5c88cb522ea43175ff16f8bfcc89d467d974cb2274f9 \ + --hash=sha256:d1c88ec1a7ff4ebca0219f5b1ef863451d828cccf889c173e1253aa84b1e07ce \ + --hash=sha256:d3d9df4051c4a7d13036524b66ecf7a7537d14c18a384043f30a303b146164e9 \ + --hash=sha256:d51ac2a26f71da1b57f2dc81d0e108b6ab177e7d30e774db90675467c847bbdf \ + --hash=sha256:d872145f3a3231a5f20fd48500274d7df222e291d90baa2026cc5152b7ce86bf \ + --hash=sha256:d8f17966e861ff97305e0801134e69db33b143bbfb36436efb9cfff6ec7b2fd9 \ + --hash=sha256:dbc1b46b92186cc8074fee9d9fbb97a9dd06c6cbbef391c2f59d80eabdf0faa6 \ + --hash=sha256:e10c39c0452bf6e694511c901426d6b5ac005acc0f78ff265dbe36bf81f808a2 \ + --hash=sha256:e267e9e2b574a176ddb983399dec325a80dbe161f1a32715c780b5d14b5f583a \ + --hash=sha256:f47d39359e2c3779c5331fc740cf4bce6d9d680a7b4b4ead97056a0ae07cb49a \ + --hash=sha256:f6e9589bd04d0461a417562649522575d8752904d35c12907d8c9dfeba588faf \ + --hash=sha256:f94b734214ea6a36fe16e96a70d941af80ff3bfd716c141300d95ebc85339738 \ + --hash=sha256:fa28e909776dc69efb6ed975a63691bc8172b64ff357e663a1bb06ff3c9b589a \ + --hash=sha256:fe494faa90ce6381770746077243231e0b83ff3f17069d748f645617cefe19d4 + # via -r requirements.in +distlib==0.3.7 \ + --hash=sha256:2e24928bc811348f0feb63014e97aaae3037f2cf48712d51ae61df7fd6075057 \ + --hash=sha256:9dafe54b34a028eafd95039d5e5d4851a13734540f1331060d31c9916e7147a8 + # via virtualenv +dj-database-url==2.1.0 \ + --hash=sha256:04bc34b248d4c21aaa13e4ab419ae6575ef5f10f3df735ce7da97722caa356e0 \ + --hash=sha256:f2042cefe1086e539c9da39fad5ad7f61173bf79665e69bf7e4de55fa88b135f + # via django-app-helper +django==3.2.22 \ + --hash=sha256:83b6d66b06e484807d778263fdc7f9186d4dc1862fcfa6507830446ac6b060ba \ + --hash=sha256:c5e7b668025a6e06cad9ba6d4de1fd1a21212acebb51ea34abb400c6e4d33430 + # via dj-database-url +django-app-helper==3.3.2 \ + --hash=sha256:67b34ce92eed58dce8d44056ff038a253766b660a5a240fcf408fdd33da57a8b \ + --hash=sha256:a8995ca3963eb1212bab0a9abdf175bfe3db137225f90be7581d4f998740608b + # via -r requirements.in +docopt==0.6.2 \ + --hash=sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491 + # via django-app-helper +filelock==3.12.4 \ + --hash=sha256:08c21d87ded6e2b9da6728c3dff51baf1dcecf973b768ef35bcbc3447edb9ad4 \ + --hash=sha256:2e6f249f1f3654291606e046b09f1fd5eac39b360664c27f5aad072012f8bcbd + # via + # tox + # virtualenv +flake8==6.1.0 \ + --hash=sha256:d5b3857f07c030bdb5bf41c7f53799571d75c4491748a3adcd47de929e34cd23 \ + --hash=sha256:ffdfce58ea94c6580c77888a86506937f9a1a227dfcd15f245d694ae20a6b6e5 + # via -r requirements.in +isort==5.12.0 \ + --hash=sha256:8bef7dde241278824a6d83f44a544709b065191b95b6e50894bdc722fcba0504 \ + --hash=sha256:f84c2818376e66cf843d497486ea8fed8700b340f308f076c6fb1229dff318b6 + # via -r requirements.in +mccabe==0.7.0 \ + --hash=sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325 \ + --hash=sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e + # via flake8 +packaging==23.2 \ + --hash=sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5 \ + --hash=sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7 + # via + # pyproject-api + # tox +platformdirs==3.11.0 \ + --hash=sha256:cf8ee52a3afdb965072dcc652433e0c7e3e40cf5ea1477cd4b3b1d2eb75495b3 \ + --hash=sha256:e9d171d00af68be50e9202731309c4e658fd8bc76f55c11c7dd760d023bda68e + # via + # tox + # virtualenv +pluggy==1.3.0 \ + --hash=sha256:cf61ae8f126ac6f7c451172cf30e3e43d3ca77615509771b3a984a0730651e12 \ + --hash=sha256:d89c696a773f8bd377d18e5ecda92b7a3793cbe66c87060a6fb58c7b6e1061f7 + # via tox +pycodestyle==2.11.1 \ + --hash=sha256:41ba0e7afc9752dfb53ced5489e89f8186be00e599e712660695b7a75ff2663f \ + --hash=sha256:44fe31000b2d866f2e41841b18528a505fbd7fef9017b04eff4e2648a0fadc67 + # via flake8 +pyflakes==3.1.0 \ + --hash=sha256:4132f6d49cb4dae6819e5379898f2b8cce3c5f23994194c24b77d5da2e36f774 \ + --hash=sha256:a0aae034c444db0071aa077972ba4768d40c830d9539fd45bf4cd3f8f6992efc + # via flake8 +pyproject-api==1.6.1 \ + --hash=sha256:1817dc018adc0d1ff9ca1ed8c60e1623d5aaca40814b953af14a9cf9a5cae538 \ + --hash=sha256:4c0116d60476b0786c88692cf4e325a9814965e2469c5998b830bba16b183675 + # via tox +pytz==2023.3.post1 \ + --hash=sha256:7b4fddbeb94a1eba4b557da24f19fdf9db575192544270a9101d8509f9f43d7b \ + --hash=sha256:ce42d816b81b68506614c11e8937d3aa9e41007ceb50bfdcb0749b921bf646c7 + # via django +six==1.16.0 \ + --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \ + --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 + # via django-app-helper +sqlparse==0.4.4 \ + --hash=sha256:5430a4fe2ac7d0f93e66f1efc6e1338a41884b7ddf2a350cedd20ccc4d9d28f3 \ + --hash=sha256:d446183e84b8349fa3061f0fe7f06ca94ba65b426946ffebe6e3e8295332420c + # via django +tox==4.11.3 \ + --hash=sha256:5039f68276461fae6a9452a3b2c7295798f00a0e92edcd9a3b78ba1a73577951 \ + --hash=sha256:599af5e5bb0cad0148ac1558a0b66f8fff219ef88363483b8d92a81e4246f28f + # via -r requirements.in +typing-extensions==4.8.0 \ + --hash=sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0 \ + --hash=sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef + # via dj-database-url +virtualenv==20.24.6 \ + --hash=sha256:02ece4f56fbf939dbbc33c0715159951d6bf14aaf5457b092e4548e1382455af \ + --hash=sha256:520d056652454c5098a00c0f073611ccbea4c79089331f60bf9d7ba247bb7381 + # via tox diff --git a/tests/requirements/py311-django42-cms311.txt b/tests/requirements/py311-django42-cms311.txt new file mode 100644 index 00000000..8707d2d4 --- /dev/null +++ b/tests/requirements/py311-django42-cms311.txt @@ -0,0 +1,161 @@ +# +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: +# +# requirements/compile.py +# +asgiref==3.7.2 \ + --hash=sha256:89b2ef2247e3b562a16eef663bc0e2e703ec6468e2fa8a5cd61cd449786d4f6e \ + --hash=sha256:9e0ce3aa93a819ba5b45120216b23878cf6e8525eb3848653452b4192b92afed + # via django +cachetools==5.3.2 \ + --hash=sha256:086ee420196f7b2ab9ca2db2520aca326318b68fe5ba8bc4d49cca91add450f2 \ + --hash=sha256:861f35a13a451f94e301ce2bec7cac63e881232ccce7ed67fab9b5df4d3beaa1 + # via tox +chardet==5.2.0 \ + --hash=sha256:1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7 \ + --hash=sha256:e1cf59446890a00105fe7b7912492ea04b6e6f06d4b742b2c788469e34c82970 + # via tox +colorama==0.4.6 \ + --hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \ + --hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6 + # via tox +coverage==7.3.2 \ + --hash=sha256:0cbf38419fb1a347aaf63481c00f0bdc86889d9fbf3f25109cf96c26b403fda1 \ + --hash=sha256:12d15ab5833a997716d76f2ac1e4b4d536814fc213c85ca72756c19e5a6b3d63 \ + --hash=sha256:149de1d2401ae4655c436a3dced6dd153f4c3309f599c3d4bd97ab172eaf02d9 \ + --hash=sha256:1981f785239e4e39e6444c63a98da3a1db8e971cb9ceb50a945ba6296b43f312 \ + --hash=sha256:2443cbda35df0d35dcfb9bf8f3c02c57c1d6111169e3c85fc1fcc05e0c9f39a3 \ + --hash=sha256:289fe43bf45a575e3ab10b26d7b6f2ddb9ee2dba447499f5401cfb5ecb8196bb \ + --hash=sha256:2f11cc3c967a09d3695d2a6f03fb3e6236622b93be7a4b5dc09166a861be6d25 \ + --hash=sha256:307adb8bd3abe389a471e649038a71b4eb13bfd6b7dd9a129fa856f5c695cf92 \ + --hash=sha256:310b3bb9c91ea66d59c53fa4989f57d2436e08f18fb2f421a1b0b6b8cc7fffda \ + --hash=sha256:315a989e861031334d7bee1f9113c8770472db2ac484e5b8c3173428360a9148 \ + --hash=sha256:3a4006916aa6fee7cd38db3bfc95aa9c54ebb4ffbfc47c677c8bba949ceba0a6 \ + --hash=sha256:3c7bba973ebee5e56fe9251300c00f1579652587a9f4a5ed8404b15a0471f216 \ + --hash=sha256:4175e10cc8dda0265653e8714b3174430b07c1dca8957f4966cbd6c2b1b8065a \ + --hash=sha256:43668cabd5ca8258f5954f27a3aaf78757e6acf13c17604d89648ecc0cc66640 \ + --hash=sha256:4cbae1051ab791debecc4a5dcc4a1ff45fc27b91b9aee165c8a27514dd160836 \ + --hash=sha256:5c913b556a116b8d5f6ef834038ba983834d887d82187c8f73dec21049abd65c \ + --hash=sha256:5f7363d3b6a1119ef05015959ca24a9afc0ea8a02c687fe7e2d557705375c01f \ + --hash=sha256:630b13e3036e13c7adc480ca42fa7afc2a5d938081d28e20903cf7fd687872e2 \ + --hash=sha256:72c0cfa5250f483181e677ebc97133ea1ab3eb68645e494775deb6a7f6f83901 \ + --hash=sha256:7dbc3ed60e8659bc59b6b304b43ff9c3ed858da2839c78b804973f613d3e92ed \ + --hash=sha256:88ed2c30a49ea81ea3b7f172e0269c182a44c236eb394718f976239892c0a27a \ + --hash=sha256:89a937174104339e3a3ffcf9f446c00e3a806c28b1841c63edb2b369310fd074 \ + --hash=sha256:9028a3871280110d6e1aa2df1afd5ef003bab5fb1ef421d6dc748ae1c8ef2ebc \ + --hash=sha256:99b89d9f76070237975b315b3d5f4d6956ae354a4c92ac2388a5695516e47c84 \ + --hash=sha256:9f805d62aec8eb92bab5b61c0f07329275b6f41c97d80e847b03eb894f38d083 \ + --hash=sha256:a889ae02f43aa45032afe364c8ae84ad3c54828c2faa44f3bfcafecb5c96b02f \ + --hash=sha256:aa72dbaf2c2068404b9870d93436e6d23addd8bbe9295f49cbca83f6e278179c \ + --hash=sha256:ac8c802fa29843a72d32ec56d0ca792ad15a302b28ca6203389afe21f8fa062c \ + --hash=sha256:ae97af89f0fbf373400970c0a21eef5aa941ffeed90aee43650b81f7d7f47637 \ + --hash=sha256:af3d828d2c1cbae52d34bdbb22fcd94d1ce715d95f1a012354a75e5913f1bda2 \ + --hash=sha256:b4275802d16882cf9c8b3d057a0839acb07ee9379fa2749eca54efbce1535b82 \ + --hash=sha256:b4767da59464bb593c07afceaddea61b154136300881844768037fd5e859353f \ + --hash=sha256:b631c92dfe601adf8f5ebc7fc13ced6bb6e9609b19d9a8cd59fa47c4186ad1ce \ + --hash=sha256:be32ad29341b0170e795ca590e1c07e81fc061cb5b10c74ce7203491484404ef \ + --hash=sha256:beaa5c1b4777f03fc63dfd2a6bd820f73f036bfb10e925fce067b00a340d0f3f \ + --hash=sha256:c0ba320de3fb8c6ec16e0be17ee1d3d69adcda99406c43c0409cb5c41788a611 \ + --hash=sha256:c9eacf273e885b02a0273bb3a2170f30e2d53a6d53b72dbe02d6701b5296101c \ + --hash=sha256:cb536f0dcd14149425996821a168f6e269d7dcd2c273a8bff8201e79f5104e76 \ + --hash=sha256:d1bc430677773397f64a5c88cb522ea43175ff16f8bfcc89d467d974cb2274f9 \ + --hash=sha256:d1c88ec1a7ff4ebca0219f5b1ef863451d828cccf889c173e1253aa84b1e07ce \ + --hash=sha256:d3d9df4051c4a7d13036524b66ecf7a7537d14c18a384043f30a303b146164e9 \ + --hash=sha256:d51ac2a26f71da1b57f2dc81d0e108b6ab177e7d30e774db90675467c847bbdf \ + --hash=sha256:d872145f3a3231a5f20fd48500274d7df222e291d90baa2026cc5152b7ce86bf \ + --hash=sha256:d8f17966e861ff97305e0801134e69db33b143bbfb36436efb9cfff6ec7b2fd9 \ + --hash=sha256:dbc1b46b92186cc8074fee9d9fbb97a9dd06c6cbbef391c2f59d80eabdf0faa6 \ + --hash=sha256:e10c39c0452bf6e694511c901426d6b5ac005acc0f78ff265dbe36bf81f808a2 \ + --hash=sha256:e267e9e2b574a176ddb983399dec325a80dbe161f1a32715c780b5d14b5f583a \ + --hash=sha256:f47d39359e2c3779c5331fc740cf4bce6d9d680a7b4b4ead97056a0ae07cb49a \ + --hash=sha256:f6e9589bd04d0461a417562649522575d8752904d35c12907d8c9dfeba588faf \ + --hash=sha256:f94b734214ea6a36fe16e96a70d941af80ff3bfd716c141300d95ebc85339738 \ + --hash=sha256:fa28e909776dc69efb6ed975a63691bc8172b64ff357e663a1bb06ff3c9b589a \ + --hash=sha256:fe494faa90ce6381770746077243231e0b83ff3f17069d748f645617cefe19d4 + # via -r requirements.in +distlib==0.3.7 \ + --hash=sha256:2e24928bc811348f0feb63014e97aaae3037f2cf48712d51ae61df7fd6075057 \ + --hash=sha256:9dafe54b34a028eafd95039d5e5d4851a13734540f1331060d31c9916e7147a8 + # via virtualenv +dj-database-url==2.1.0 \ + --hash=sha256:04bc34b248d4c21aaa13e4ab419ae6575ef5f10f3df735ce7da97722caa356e0 \ + --hash=sha256:f2042cefe1086e539c9da39fad5ad7f61173bf79665e69bf7e4de55fa88b135f + # via django-app-helper +django==4.2.6 \ + --hash=sha256:08f41f468b63335aea0d904c5729e0250300f6a1907bf293a65499496cdbc68f \ + --hash=sha256:a64d2487cdb00ad7461434320ccc38e60af9c404773a2f95ab0093b4453a3215 + # via dj-database-url +django-app-helper==3.3.2 \ + --hash=sha256:67b34ce92eed58dce8d44056ff038a253766b660a5a240fcf408fdd33da57a8b \ + --hash=sha256:a8995ca3963eb1212bab0a9abdf175bfe3db137225f90be7581d4f998740608b + # via -r requirements.in +docopt==0.6.2 \ + --hash=sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491 + # via django-app-helper +filelock==3.12.4 \ + --hash=sha256:08c21d87ded6e2b9da6728c3dff51baf1dcecf973b768ef35bcbc3447edb9ad4 \ + --hash=sha256:2e6f249f1f3654291606e046b09f1fd5eac39b360664c27f5aad072012f8bcbd + # via + # tox + # virtualenv +flake8==6.1.0 \ + --hash=sha256:d5b3857f07c030bdb5bf41c7f53799571d75c4491748a3adcd47de929e34cd23 \ + --hash=sha256:ffdfce58ea94c6580c77888a86506937f9a1a227dfcd15f245d694ae20a6b6e5 + # via -r requirements.in +isort==5.12.0 \ + --hash=sha256:8bef7dde241278824a6d83f44a544709b065191b95b6e50894bdc722fcba0504 \ + --hash=sha256:f84c2818376e66cf843d497486ea8fed8700b340f308f076c6fb1229dff318b6 + # via -r requirements.in +mccabe==0.7.0 \ + --hash=sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325 \ + --hash=sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e + # via flake8 +packaging==23.2 \ + --hash=sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5 \ + --hash=sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7 + # via + # pyproject-api + # tox +platformdirs==3.11.0 \ + --hash=sha256:cf8ee52a3afdb965072dcc652433e0c7e3e40cf5ea1477cd4b3b1d2eb75495b3 \ + --hash=sha256:e9d171d00af68be50e9202731309c4e658fd8bc76f55c11c7dd760d023bda68e + # via + # tox + # virtualenv +pluggy==1.3.0 \ + --hash=sha256:cf61ae8f126ac6f7c451172cf30e3e43d3ca77615509771b3a984a0730651e12 \ + --hash=sha256:d89c696a773f8bd377d18e5ecda92b7a3793cbe66c87060a6fb58c7b6e1061f7 + # via tox +pycodestyle==2.11.1 \ + --hash=sha256:41ba0e7afc9752dfb53ced5489e89f8186be00e599e712660695b7a75ff2663f \ + --hash=sha256:44fe31000b2d866f2e41841b18528a505fbd7fef9017b04eff4e2648a0fadc67 + # via flake8 +pyflakes==3.1.0 \ + --hash=sha256:4132f6d49cb4dae6819e5379898f2b8cce3c5f23994194c24b77d5da2e36f774 \ + --hash=sha256:a0aae034c444db0071aa077972ba4768d40c830d9539fd45bf4cd3f8f6992efc + # via flake8 +pyproject-api==1.6.1 \ + --hash=sha256:1817dc018adc0d1ff9ca1ed8c60e1623d5aaca40814b953af14a9cf9a5cae538 \ + --hash=sha256:4c0116d60476b0786c88692cf4e325a9814965e2469c5998b830bba16b183675 + # via tox +six==1.16.0 \ + --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \ + --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 + # via django-app-helper +sqlparse==0.4.4 \ + --hash=sha256:5430a4fe2ac7d0f93e66f1efc6e1338a41884b7ddf2a350cedd20ccc4d9d28f3 \ + --hash=sha256:d446183e84b8349fa3061f0fe7f06ca94ba65b426946ffebe6e3e8295332420c + # via django +tox==4.11.3 \ + --hash=sha256:5039f68276461fae6a9452a3b2c7295798f00a0e92edcd9a3b78ba1a73577951 \ + --hash=sha256:599af5e5bb0cad0148ac1558a0b66f8fff219ef88363483b8d92a81e4246f28f + # via -r requirements.in +typing-extensions==4.8.0 \ + --hash=sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0 \ + --hash=sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef + # via dj-database-url +virtualenv==20.24.6 \ + --hash=sha256:02ece4f56fbf939dbbc33c0715159951d6bf14aaf5457b092e4548e1382455af \ + --hash=sha256:520d056652454c5098a00c0f073611ccbea4c79089331f60bf9d7ba247bb7381 + # via tox diff --git a/tests/requirements/py39-django32-cms311.txt b/tests/requirements/py39-django32-cms311.txt new file mode 100644 index 00000000..55b9dd58 --- /dev/null +++ b/tests/requirements/py39-django32-cms311.txt @@ -0,0 +1,173 @@ +# +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: +# +# requirements/compile.py +# +asgiref==3.7.2 \ + --hash=sha256:89b2ef2247e3b562a16eef663bc0e2e703ec6468e2fa8a5cd61cd449786d4f6e \ + --hash=sha256:9e0ce3aa93a819ba5b45120216b23878cf6e8525eb3848653452b4192b92afed + # via django +cachetools==5.3.2 \ + --hash=sha256:086ee420196f7b2ab9ca2db2520aca326318b68fe5ba8bc4d49cca91add450f2 \ + --hash=sha256:861f35a13a451f94e301ce2bec7cac63e881232ccce7ed67fab9b5df4d3beaa1 + # via tox +chardet==5.2.0 \ + --hash=sha256:1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7 \ + --hash=sha256:e1cf59446890a00105fe7b7912492ea04b6e6f06d4b742b2c788469e34c82970 + # via tox +colorama==0.4.6 \ + --hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \ + --hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6 + # via tox +coverage==7.3.2 \ + --hash=sha256:0cbf38419fb1a347aaf63481c00f0bdc86889d9fbf3f25109cf96c26b403fda1 \ + --hash=sha256:12d15ab5833a997716d76f2ac1e4b4d536814fc213c85ca72756c19e5a6b3d63 \ + --hash=sha256:149de1d2401ae4655c436a3dced6dd153f4c3309f599c3d4bd97ab172eaf02d9 \ + --hash=sha256:1981f785239e4e39e6444c63a98da3a1db8e971cb9ceb50a945ba6296b43f312 \ + --hash=sha256:2443cbda35df0d35dcfb9bf8f3c02c57c1d6111169e3c85fc1fcc05e0c9f39a3 \ + --hash=sha256:289fe43bf45a575e3ab10b26d7b6f2ddb9ee2dba447499f5401cfb5ecb8196bb \ + --hash=sha256:2f11cc3c967a09d3695d2a6f03fb3e6236622b93be7a4b5dc09166a861be6d25 \ + --hash=sha256:307adb8bd3abe389a471e649038a71b4eb13bfd6b7dd9a129fa856f5c695cf92 \ + --hash=sha256:310b3bb9c91ea66d59c53fa4989f57d2436e08f18fb2f421a1b0b6b8cc7fffda \ + --hash=sha256:315a989e861031334d7bee1f9113c8770472db2ac484e5b8c3173428360a9148 \ + --hash=sha256:3a4006916aa6fee7cd38db3bfc95aa9c54ebb4ffbfc47c677c8bba949ceba0a6 \ + --hash=sha256:3c7bba973ebee5e56fe9251300c00f1579652587a9f4a5ed8404b15a0471f216 \ + --hash=sha256:4175e10cc8dda0265653e8714b3174430b07c1dca8957f4966cbd6c2b1b8065a \ + --hash=sha256:43668cabd5ca8258f5954f27a3aaf78757e6acf13c17604d89648ecc0cc66640 \ + --hash=sha256:4cbae1051ab791debecc4a5dcc4a1ff45fc27b91b9aee165c8a27514dd160836 \ + --hash=sha256:5c913b556a116b8d5f6ef834038ba983834d887d82187c8f73dec21049abd65c \ + --hash=sha256:5f7363d3b6a1119ef05015959ca24a9afc0ea8a02c687fe7e2d557705375c01f \ + --hash=sha256:630b13e3036e13c7adc480ca42fa7afc2a5d938081d28e20903cf7fd687872e2 \ + --hash=sha256:72c0cfa5250f483181e677ebc97133ea1ab3eb68645e494775deb6a7f6f83901 \ + --hash=sha256:7dbc3ed60e8659bc59b6b304b43ff9c3ed858da2839c78b804973f613d3e92ed \ + --hash=sha256:88ed2c30a49ea81ea3b7f172e0269c182a44c236eb394718f976239892c0a27a \ + --hash=sha256:89a937174104339e3a3ffcf9f446c00e3a806c28b1841c63edb2b369310fd074 \ + --hash=sha256:9028a3871280110d6e1aa2df1afd5ef003bab5fb1ef421d6dc748ae1c8ef2ebc \ + --hash=sha256:99b89d9f76070237975b315b3d5f4d6956ae354a4c92ac2388a5695516e47c84 \ + --hash=sha256:9f805d62aec8eb92bab5b61c0f07329275b6f41c97d80e847b03eb894f38d083 \ + --hash=sha256:a889ae02f43aa45032afe364c8ae84ad3c54828c2faa44f3bfcafecb5c96b02f \ + --hash=sha256:aa72dbaf2c2068404b9870d93436e6d23addd8bbe9295f49cbca83f6e278179c \ + --hash=sha256:ac8c802fa29843a72d32ec56d0ca792ad15a302b28ca6203389afe21f8fa062c \ + --hash=sha256:ae97af89f0fbf373400970c0a21eef5aa941ffeed90aee43650b81f7d7f47637 \ + --hash=sha256:af3d828d2c1cbae52d34bdbb22fcd94d1ce715d95f1a012354a75e5913f1bda2 \ + --hash=sha256:b4275802d16882cf9c8b3d057a0839acb07ee9379fa2749eca54efbce1535b82 \ + --hash=sha256:b4767da59464bb593c07afceaddea61b154136300881844768037fd5e859353f \ + --hash=sha256:b631c92dfe601adf8f5ebc7fc13ced6bb6e9609b19d9a8cd59fa47c4186ad1ce \ + --hash=sha256:be32ad29341b0170e795ca590e1c07e81fc061cb5b10c74ce7203491484404ef \ + --hash=sha256:beaa5c1b4777f03fc63dfd2a6bd820f73f036bfb10e925fce067b00a340d0f3f \ + --hash=sha256:c0ba320de3fb8c6ec16e0be17ee1d3d69adcda99406c43c0409cb5c41788a611 \ + --hash=sha256:c9eacf273e885b02a0273bb3a2170f30e2d53a6d53b72dbe02d6701b5296101c \ + --hash=sha256:cb536f0dcd14149425996821a168f6e269d7dcd2c273a8bff8201e79f5104e76 \ + --hash=sha256:d1bc430677773397f64a5c88cb522ea43175ff16f8bfcc89d467d974cb2274f9 \ + --hash=sha256:d1c88ec1a7ff4ebca0219f5b1ef863451d828cccf889c173e1253aa84b1e07ce \ + --hash=sha256:d3d9df4051c4a7d13036524b66ecf7a7537d14c18a384043f30a303b146164e9 \ + --hash=sha256:d51ac2a26f71da1b57f2dc81d0e108b6ab177e7d30e774db90675467c847bbdf \ + --hash=sha256:d872145f3a3231a5f20fd48500274d7df222e291d90baa2026cc5152b7ce86bf \ + --hash=sha256:d8f17966e861ff97305e0801134e69db33b143bbfb36436efb9cfff6ec7b2fd9 \ + --hash=sha256:dbc1b46b92186cc8074fee9d9fbb97a9dd06c6cbbef391c2f59d80eabdf0faa6 \ + --hash=sha256:e10c39c0452bf6e694511c901426d6b5ac005acc0f78ff265dbe36bf81f808a2 \ + --hash=sha256:e267e9e2b574a176ddb983399dec325a80dbe161f1a32715c780b5d14b5f583a \ + --hash=sha256:f47d39359e2c3779c5331fc740cf4bce6d9d680a7b4b4ead97056a0ae07cb49a \ + --hash=sha256:f6e9589bd04d0461a417562649522575d8752904d35c12907d8c9dfeba588faf \ + --hash=sha256:f94b734214ea6a36fe16e96a70d941af80ff3bfd716c141300d95ebc85339738 \ + --hash=sha256:fa28e909776dc69efb6ed975a63691bc8172b64ff357e663a1bb06ff3c9b589a \ + --hash=sha256:fe494faa90ce6381770746077243231e0b83ff3f17069d748f645617cefe19d4 + # via -r requirements.in +distlib==0.3.7 \ + --hash=sha256:2e24928bc811348f0feb63014e97aaae3037f2cf48712d51ae61df7fd6075057 \ + --hash=sha256:9dafe54b34a028eafd95039d5e5d4851a13734540f1331060d31c9916e7147a8 + # via virtualenv +dj-database-url==2.1.0 \ + --hash=sha256:04bc34b248d4c21aaa13e4ab419ae6575ef5f10f3df735ce7da97722caa356e0 \ + --hash=sha256:f2042cefe1086e539c9da39fad5ad7f61173bf79665e69bf7e4de55fa88b135f + # via django-app-helper +django==3.2.22 \ + --hash=sha256:83b6d66b06e484807d778263fdc7f9186d4dc1862fcfa6507830446ac6b060ba \ + --hash=sha256:c5e7b668025a6e06cad9ba6d4de1fd1a21212acebb51ea34abb400c6e4d33430 + # via dj-database-url +django-app-helper==3.3.2 \ + --hash=sha256:67b34ce92eed58dce8d44056ff038a253766b660a5a240fcf408fdd33da57a8b \ + --hash=sha256:a8995ca3963eb1212bab0a9abdf175bfe3db137225f90be7581d4f998740608b + # via -r requirements.in +docopt==0.6.2 \ + --hash=sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491 + # via django-app-helper +filelock==3.12.4 \ + --hash=sha256:08c21d87ded6e2b9da6728c3dff51baf1dcecf973b768ef35bcbc3447edb9ad4 \ + --hash=sha256:2e6f249f1f3654291606e046b09f1fd5eac39b360664c27f5aad072012f8bcbd + # via + # tox + # virtualenv +flake8==6.1.0 \ + --hash=sha256:d5b3857f07c030bdb5bf41c7f53799571d75c4491748a3adcd47de929e34cd23 \ + --hash=sha256:ffdfce58ea94c6580c77888a86506937f9a1a227dfcd15f245d694ae20a6b6e5 + # via -r requirements.in +isort==5.12.0 \ + --hash=sha256:8bef7dde241278824a6d83f44a544709b065191b95b6e50894bdc722fcba0504 \ + --hash=sha256:f84c2818376e66cf843d497486ea8fed8700b340f308f076c6fb1229dff318b6 + # via -r requirements.in +mccabe==0.7.0 \ + --hash=sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325 \ + --hash=sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e + # via flake8 +packaging==23.2 \ + --hash=sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5 \ + --hash=sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7 + # via + # pyproject-api + # tox +platformdirs==3.11.0 \ + --hash=sha256:cf8ee52a3afdb965072dcc652433e0c7e3e40cf5ea1477cd4b3b1d2eb75495b3 \ + --hash=sha256:e9d171d00af68be50e9202731309c4e658fd8bc76f55c11c7dd760d023bda68e + # via + # tox + # virtualenv +pluggy==1.3.0 \ + --hash=sha256:cf61ae8f126ac6f7c451172cf30e3e43d3ca77615509771b3a984a0730651e12 \ + --hash=sha256:d89c696a773f8bd377d18e5ecda92b7a3793cbe66c87060a6fb58c7b6e1061f7 + # via tox +pycodestyle==2.11.1 \ + --hash=sha256:41ba0e7afc9752dfb53ced5489e89f8186be00e599e712660695b7a75ff2663f \ + --hash=sha256:44fe31000b2d866f2e41841b18528a505fbd7fef9017b04eff4e2648a0fadc67 + # via flake8 +pyflakes==3.1.0 \ + --hash=sha256:4132f6d49cb4dae6819e5379898f2b8cce3c5f23994194c24b77d5da2e36f774 \ + --hash=sha256:a0aae034c444db0071aa077972ba4768d40c830d9539fd45bf4cd3f8f6992efc + # via flake8 +pyproject-api==1.6.1 \ + --hash=sha256:1817dc018adc0d1ff9ca1ed8c60e1623d5aaca40814b953af14a9cf9a5cae538 \ + --hash=sha256:4c0116d60476b0786c88692cf4e325a9814965e2469c5998b830bba16b183675 + # via tox +pytz==2023.3.post1 \ + --hash=sha256:7b4fddbeb94a1eba4b557da24f19fdf9db575192544270a9101d8509f9f43d7b \ + --hash=sha256:ce42d816b81b68506614c11e8937d3aa9e41007ceb50bfdcb0749b921bf646c7 + # via django +six==1.16.0 \ + --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \ + --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 + # via django-app-helper +sqlparse==0.4.4 \ + --hash=sha256:5430a4fe2ac7d0f93e66f1efc6e1338a41884b7ddf2a350cedd20ccc4d9d28f3 \ + --hash=sha256:d446183e84b8349fa3061f0fe7f06ca94ba65b426946ffebe6e3e8295332420c + # via django +tomli==2.0.1 \ + --hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \ + --hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f + # via + # pyproject-api + # tox +tox==4.11.3 \ + --hash=sha256:5039f68276461fae6a9452a3b2c7295798f00a0e92edcd9a3b78ba1a73577951 \ + --hash=sha256:599af5e5bb0cad0148ac1558a0b66f8fff219ef88363483b8d92a81e4246f28f + # via -r requirements.in +typing-extensions==4.8.0 \ + --hash=sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0 \ + --hash=sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef + # via + # asgiref + # dj-database-url +virtualenv==20.24.6 \ + --hash=sha256:02ece4f56fbf939dbbc33c0715159951d6bf14aaf5457b092e4548e1382455af \ + --hash=sha256:520d056652454c5098a00c0f073611ccbea4c79089331f60bf9d7ba247bb7381 + # via tox diff --git a/tests/requirements/py39-django42-cms311.txt b/tests/requirements/py39-django42-cms311.txt new file mode 100644 index 00000000..af9e6070 --- /dev/null +++ b/tests/requirements/py39-django42-cms311.txt @@ -0,0 +1,169 @@ +# +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: +# +# requirements/compile.py +# +asgiref==3.7.2 \ + --hash=sha256:89b2ef2247e3b562a16eef663bc0e2e703ec6468e2fa8a5cd61cd449786d4f6e \ + --hash=sha256:9e0ce3aa93a819ba5b45120216b23878cf6e8525eb3848653452b4192b92afed + # via django +cachetools==5.3.2 \ + --hash=sha256:086ee420196f7b2ab9ca2db2520aca326318b68fe5ba8bc4d49cca91add450f2 \ + --hash=sha256:861f35a13a451f94e301ce2bec7cac63e881232ccce7ed67fab9b5df4d3beaa1 + # via tox +chardet==5.2.0 \ + --hash=sha256:1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7 \ + --hash=sha256:e1cf59446890a00105fe7b7912492ea04b6e6f06d4b742b2c788469e34c82970 + # via tox +colorama==0.4.6 \ + --hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \ + --hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6 + # via tox +coverage==7.3.2 \ + --hash=sha256:0cbf38419fb1a347aaf63481c00f0bdc86889d9fbf3f25109cf96c26b403fda1 \ + --hash=sha256:12d15ab5833a997716d76f2ac1e4b4d536814fc213c85ca72756c19e5a6b3d63 \ + --hash=sha256:149de1d2401ae4655c436a3dced6dd153f4c3309f599c3d4bd97ab172eaf02d9 \ + --hash=sha256:1981f785239e4e39e6444c63a98da3a1db8e971cb9ceb50a945ba6296b43f312 \ + --hash=sha256:2443cbda35df0d35dcfb9bf8f3c02c57c1d6111169e3c85fc1fcc05e0c9f39a3 \ + --hash=sha256:289fe43bf45a575e3ab10b26d7b6f2ddb9ee2dba447499f5401cfb5ecb8196bb \ + --hash=sha256:2f11cc3c967a09d3695d2a6f03fb3e6236622b93be7a4b5dc09166a861be6d25 \ + --hash=sha256:307adb8bd3abe389a471e649038a71b4eb13bfd6b7dd9a129fa856f5c695cf92 \ + --hash=sha256:310b3bb9c91ea66d59c53fa4989f57d2436e08f18fb2f421a1b0b6b8cc7fffda \ + --hash=sha256:315a989e861031334d7bee1f9113c8770472db2ac484e5b8c3173428360a9148 \ + --hash=sha256:3a4006916aa6fee7cd38db3bfc95aa9c54ebb4ffbfc47c677c8bba949ceba0a6 \ + --hash=sha256:3c7bba973ebee5e56fe9251300c00f1579652587a9f4a5ed8404b15a0471f216 \ + --hash=sha256:4175e10cc8dda0265653e8714b3174430b07c1dca8957f4966cbd6c2b1b8065a \ + --hash=sha256:43668cabd5ca8258f5954f27a3aaf78757e6acf13c17604d89648ecc0cc66640 \ + --hash=sha256:4cbae1051ab791debecc4a5dcc4a1ff45fc27b91b9aee165c8a27514dd160836 \ + --hash=sha256:5c913b556a116b8d5f6ef834038ba983834d887d82187c8f73dec21049abd65c \ + --hash=sha256:5f7363d3b6a1119ef05015959ca24a9afc0ea8a02c687fe7e2d557705375c01f \ + --hash=sha256:630b13e3036e13c7adc480ca42fa7afc2a5d938081d28e20903cf7fd687872e2 \ + --hash=sha256:72c0cfa5250f483181e677ebc97133ea1ab3eb68645e494775deb6a7f6f83901 \ + --hash=sha256:7dbc3ed60e8659bc59b6b304b43ff9c3ed858da2839c78b804973f613d3e92ed \ + --hash=sha256:88ed2c30a49ea81ea3b7f172e0269c182a44c236eb394718f976239892c0a27a \ + --hash=sha256:89a937174104339e3a3ffcf9f446c00e3a806c28b1841c63edb2b369310fd074 \ + --hash=sha256:9028a3871280110d6e1aa2df1afd5ef003bab5fb1ef421d6dc748ae1c8ef2ebc \ + --hash=sha256:99b89d9f76070237975b315b3d5f4d6956ae354a4c92ac2388a5695516e47c84 \ + --hash=sha256:9f805d62aec8eb92bab5b61c0f07329275b6f41c97d80e847b03eb894f38d083 \ + --hash=sha256:a889ae02f43aa45032afe364c8ae84ad3c54828c2faa44f3bfcafecb5c96b02f \ + --hash=sha256:aa72dbaf2c2068404b9870d93436e6d23addd8bbe9295f49cbca83f6e278179c \ + --hash=sha256:ac8c802fa29843a72d32ec56d0ca792ad15a302b28ca6203389afe21f8fa062c \ + --hash=sha256:ae97af89f0fbf373400970c0a21eef5aa941ffeed90aee43650b81f7d7f47637 \ + --hash=sha256:af3d828d2c1cbae52d34bdbb22fcd94d1ce715d95f1a012354a75e5913f1bda2 \ + --hash=sha256:b4275802d16882cf9c8b3d057a0839acb07ee9379fa2749eca54efbce1535b82 \ + --hash=sha256:b4767da59464bb593c07afceaddea61b154136300881844768037fd5e859353f \ + --hash=sha256:b631c92dfe601adf8f5ebc7fc13ced6bb6e9609b19d9a8cd59fa47c4186ad1ce \ + --hash=sha256:be32ad29341b0170e795ca590e1c07e81fc061cb5b10c74ce7203491484404ef \ + --hash=sha256:beaa5c1b4777f03fc63dfd2a6bd820f73f036bfb10e925fce067b00a340d0f3f \ + --hash=sha256:c0ba320de3fb8c6ec16e0be17ee1d3d69adcda99406c43c0409cb5c41788a611 \ + --hash=sha256:c9eacf273e885b02a0273bb3a2170f30e2d53a6d53b72dbe02d6701b5296101c \ + --hash=sha256:cb536f0dcd14149425996821a168f6e269d7dcd2c273a8bff8201e79f5104e76 \ + --hash=sha256:d1bc430677773397f64a5c88cb522ea43175ff16f8bfcc89d467d974cb2274f9 \ + --hash=sha256:d1c88ec1a7ff4ebca0219f5b1ef863451d828cccf889c173e1253aa84b1e07ce \ + --hash=sha256:d3d9df4051c4a7d13036524b66ecf7a7537d14c18a384043f30a303b146164e9 \ + --hash=sha256:d51ac2a26f71da1b57f2dc81d0e108b6ab177e7d30e774db90675467c847bbdf \ + --hash=sha256:d872145f3a3231a5f20fd48500274d7df222e291d90baa2026cc5152b7ce86bf \ + --hash=sha256:d8f17966e861ff97305e0801134e69db33b143bbfb36436efb9cfff6ec7b2fd9 \ + --hash=sha256:dbc1b46b92186cc8074fee9d9fbb97a9dd06c6cbbef391c2f59d80eabdf0faa6 \ + --hash=sha256:e10c39c0452bf6e694511c901426d6b5ac005acc0f78ff265dbe36bf81f808a2 \ + --hash=sha256:e267e9e2b574a176ddb983399dec325a80dbe161f1a32715c780b5d14b5f583a \ + --hash=sha256:f47d39359e2c3779c5331fc740cf4bce6d9d680a7b4b4ead97056a0ae07cb49a \ + --hash=sha256:f6e9589bd04d0461a417562649522575d8752904d35c12907d8c9dfeba588faf \ + --hash=sha256:f94b734214ea6a36fe16e96a70d941af80ff3bfd716c141300d95ebc85339738 \ + --hash=sha256:fa28e909776dc69efb6ed975a63691bc8172b64ff357e663a1bb06ff3c9b589a \ + --hash=sha256:fe494faa90ce6381770746077243231e0b83ff3f17069d748f645617cefe19d4 + # via -r requirements.in +distlib==0.3.7 \ + --hash=sha256:2e24928bc811348f0feb63014e97aaae3037f2cf48712d51ae61df7fd6075057 \ + --hash=sha256:9dafe54b34a028eafd95039d5e5d4851a13734540f1331060d31c9916e7147a8 + # via virtualenv +dj-database-url==2.1.0 \ + --hash=sha256:04bc34b248d4c21aaa13e4ab419ae6575ef5f10f3df735ce7da97722caa356e0 \ + --hash=sha256:f2042cefe1086e539c9da39fad5ad7f61173bf79665e69bf7e4de55fa88b135f + # via django-app-helper +django==4.2.6 \ + --hash=sha256:08f41f468b63335aea0d904c5729e0250300f6a1907bf293a65499496cdbc68f \ + --hash=sha256:a64d2487cdb00ad7461434320ccc38e60af9c404773a2f95ab0093b4453a3215 + # via dj-database-url +django-app-helper==3.3.2 \ + --hash=sha256:67b34ce92eed58dce8d44056ff038a253766b660a5a240fcf408fdd33da57a8b \ + --hash=sha256:a8995ca3963eb1212bab0a9abdf175bfe3db137225f90be7581d4f998740608b + # via -r requirements.in +docopt==0.6.2 \ + --hash=sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491 + # via django-app-helper +filelock==3.12.4 \ + --hash=sha256:08c21d87ded6e2b9da6728c3dff51baf1dcecf973b768ef35bcbc3447edb9ad4 \ + --hash=sha256:2e6f249f1f3654291606e046b09f1fd5eac39b360664c27f5aad072012f8bcbd + # via + # tox + # virtualenv +flake8==6.1.0 \ + --hash=sha256:d5b3857f07c030bdb5bf41c7f53799571d75c4491748a3adcd47de929e34cd23 \ + --hash=sha256:ffdfce58ea94c6580c77888a86506937f9a1a227dfcd15f245d694ae20a6b6e5 + # via -r requirements.in +isort==5.12.0 \ + --hash=sha256:8bef7dde241278824a6d83f44a544709b065191b95b6e50894bdc722fcba0504 \ + --hash=sha256:f84c2818376e66cf843d497486ea8fed8700b340f308f076c6fb1229dff318b6 + # via -r requirements.in +mccabe==0.7.0 \ + --hash=sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325 \ + --hash=sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e + # via flake8 +packaging==23.2 \ + --hash=sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5 \ + --hash=sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7 + # via + # pyproject-api + # tox +platformdirs==3.11.0 \ + --hash=sha256:cf8ee52a3afdb965072dcc652433e0c7e3e40cf5ea1477cd4b3b1d2eb75495b3 \ + --hash=sha256:e9d171d00af68be50e9202731309c4e658fd8bc76f55c11c7dd760d023bda68e + # via + # tox + # virtualenv +pluggy==1.3.0 \ + --hash=sha256:cf61ae8f126ac6f7c451172cf30e3e43d3ca77615509771b3a984a0730651e12 \ + --hash=sha256:d89c696a773f8bd377d18e5ecda92b7a3793cbe66c87060a6fb58c7b6e1061f7 + # via tox +pycodestyle==2.11.1 \ + --hash=sha256:41ba0e7afc9752dfb53ced5489e89f8186be00e599e712660695b7a75ff2663f \ + --hash=sha256:44fe31000b2d866f2e41841b18528a505fbd7fef9017b04eff4e2648a0fadc67 + # via flake8 +pyflakes==3.1.0 \ + --hash=sha256:4132f6d49cb4dae6819e5379898f2b8cce3c5f23994194c24b77d5da2e36f774 \ + --hash=sha256:a0aae034c444db0071aa077972ba4768d40c830d9539fd45bf4cd3f8f6992efc + # via flake8 +pyproject-api==1.6.1 \ + --hash=sha256:1817dc018adc0d1ff9ca1ed8c60e1623d5aaca40814b953af14a9cf9a5cae538 \ + --hash=sha256:4c0116d60476b0786c88692cf4e325a9814965e2469c5998b830bba16b183675 + # via tox +six==1.16.0 \ + --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \ + --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 + # via django-app-helper +sqlparse==0.4.4 \ + --hash=sha256:5430a4fe2ac7d0f93e66f1efc6e1338a41884b7ddf2a350cedd20ccc4d9d28f3 \ + --hash=sha256:d446183e84b8349fa3061f0fe7f06ca94ba65b426946ffebe6e3e8295332420c + # via django +tomli==2.0.1 \ + --hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \ + --hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f + # via + # pyproject-api + # tox +tox==4.11.3 \ + --hash=sha256:5039f68276461fae6a9452a3b2c7295798f00a0e92edcd9a3b78ba1a73577951 \ + --hash=sha256:599af5e5bb0cad0148ac1558a0b66f8fff219ef88363483b8d92a81e4246f28f + # via -r requirements.in +typing-extensions==4.8.0 \ + --hash=sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0 \ + --hash=sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef + # via + # asgiref + # dj-database-url +virtualenv==20.24.6 \ + --hash=sha256:02ece4f56fbf939dbbc33c0715159951d6bf14aaf5457b092e4548e1382455af \ + --hash=sha256:520d056652454c5098a00c0f073611ccbea4c79089331f60bf9d7ba247bb7381 + # via tox diff --git a/tests/requirements/base.txt b/tests/requirements/requirements.in similarity index 100% rename from tests/requirements/base.txt rename to tests/requirements/requirements.in diff --git a/tox.ini b/tox.ini index 744c0de9..a3fc6a9d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,10 @@ [tox] +requires = + tox>=4.2 envlist = flake8 isort - py{38,39,'3.10'}-dj{32,42}-cms{40} + py{38,39,'3.10'}-dj{32,42}-cms{311,40} skip_missing_interpreters=True @@ -36,22 +38,16 @@ known_cms = cms, menus known_django = django [testenv] +<<<<<<< HEAD deps = -r{toxinidir}/tests/requirements/base.txt dj32: Django>=3.2,<4 dj42: Django>=4.2,<5 + cms311: django-cms>=3.11.0,<3.12 cms40: django-cms>=4.0.0,<4.1 commands = - {envpython} --version - {env:COMMAND:coverage} erase - {env:COMMAND:coverage} run setup.py test - {env:COMMAND:coverage} report - -[testenv:flake8] -deps = flake8 -commands = flake8 - -[testenv:isort] -deps = isort -commands = isort -c -rc -df djangocms_snippet -skip_install = true + python -m coverage run setup.py test +deps = -r tests/requirements/{envname}.txt +package = wheel +set_env = + PYTHONDEVMODE = 1