django-cms-qe 3.4.2__py3-none-any.whl → 3.4.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,7 @@ from django.conf import settings
2
2
  from django.contrib.sites.models import Site
3
3
  from django.core.cache import cache
4
4
  from django.http import HttpRequest, HttpResponse
5
+ from django.utils.module_loading import import_string
5
6
  from django.views import View
6
7
 
7
8
  from cms_qe.signals import run_subprocess
@@ -21,6 +22,11 @@ class HealthCheckView(View):
21
22
  cache.set(key, 'OK', 2)
22
23
  if cache.get(key) != 'OK':
23
24
  raise RuntimeError('cache')
25
+ # More checks if defined in HEALTHCHECK_FUNCTIONS = ["path1.to.fnc, "path2.to.fnc"].
26
+ if hasattr(settings, "HEALTHCHECK_FUNCTIONS"):
27
+ for path in settings.HEALTHCHECK_FUNCTIONS:
28
+ fnc = import_string(path)
29
+ fnc(request, *args, **kwargs)
24
30
  return HttpResponse("OK", content_type="text/plain")
25
31
 
26
32
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: django-cms-qe
3
- Version: 3.4.2
3
+ Version: 3.4.3
4
4
  Summary: Django CMS Quick & Easy provides all important modules to run new page withouta lot of coding. Aims to do it very easily and securely.
5
5
  Home-page: https://websites.pages.nic.cz/django-cms-qe
6
6
  Author: CZ.NIC, z.s.p.o.
@@ -26,6 +26,7 @@ Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
26
26
  Requires-Python: >=3.9
27
27
  Description-Content-Type: text/markdown
28
28
  License-File: LICENSE
29
+ Requires-Dist: Django~=4.2
29
30
  Requires-Dist: easy-thumbnails[svg]
30
31
  Requires-Dist: djangocms-frontend~=1.1
31
32
  Requires-Dist: django-csp~=3.7
@@ -34,7 +35,7 @@ Requires-Dist: django-axes~=6.0
34
35
  Requires-Dist: django-constance[database]~=2.9
35
36
  Requires-Dist: djangocms-file~=3.0
36
37
  Requires-Dist: django-import-export~=3.2
37
- Requires-Dist: django-mail-queue~=3.2
38
+ Requires-Dist: django-mail-queue==3.2.5
38
39
  Requires-Dist: djangocms-icon~=2.0
39
40
  Requires-Dist: djangocms-googlemap~=2.0
40
41
  Requires-Dist: django-tablib~=3.2
@@ -75,6 +76,18 @@ Provides-Extra: mysql
75
76
  Requires-Dist: mysqlclient~=2.2; extra == "mysql"
76
77
  Provides-Extra: newsblog
77
78
  Requires-Dist: djangocms-aldryn-newsblog; extra == "newsblog"
79
+ Dynamic: author
80
+ Dynamic: author-email
81
+ Dynamic: classifier
82
+ Dynamic: description
83
+ Dynamic: description-content-type
84
+ Dynamic: home-page
85
+ Dynamic: keywords
86
+ Dynamic: license
87
+ Dynamic: provides-extra
88
+ Dynamic: requires-dist
89
+ Dynamic: requires-python
90
+ Dynamic: summary
78
91
 
79
92
  # Django CMS QE
80
93
 
@@ -80,7 +80,7 @@ cms_qe/templatetags/cms_qe_filters.py,sha256=ciYCXLuMVde-f_-B_7a5mHfAJPWPMxYEUMg
80
80
  cms_qe/templatetags/kwacros.py,sha256=r2oHLltu8BgKKlrpgzXgvLjbIqwcrH13Lww3zTF-nr8,6275
81
81
  cms_qe/views/__init__.py,sha256=3b5FCZ5MaqgiWglC7c5mfvP3WYLWTtNp3YpVb9BgYi8,106
82
82
  cms_qe/views/errors.py,sha256=zUbCoyXy_MPsQv3UV1mgq-q2bwqPw9G4KgKU2-oue4w,3169
83
- cms_qe/views/maintenance.py,sha256=rBfovOGETlfGNF7jlv-vuTEfjZIb5x9dYCSIyFTgHgQ,1312
83
+ cms_qe/views/maintenance.py,sha256=Q410LCeeihRWhIJ-zzRpFSjfvA6xhgr6NJlNAoTNO2U,1658
84
84
  cms_qe/views/monitoring.py,sha256=1r2s_jm6B6P0gEmiqjH9m3loUW3BmJivvpg6qcUOxVM,1909
85
85
  cms_qe/views/search_result.py,sha256=H1eMOmtONnWqBDsBvz3MartyHhh42vyi0jPoxWb0X8c,296
86
86
  cms_qe/views/security.py,sha256=SNdJe4NSm1vuOGchVF3VqlmFDopt9xYoO-b4Y0UxkFU,1108
@@ -3971,8 +3971,8 @@ test_selenium/pages/cms/__init__.py,sha256=_qe4YZYaQbrXp7Szmmeo4TUSkXlE5Rozu8E3t
3971
3971
  test_selenium/pages/cms/login.py,sha256=UPzJQcYff8NUAT4nvmfQoJQxzOJyPrJ_cKtH35NVfNg,521
3972
3972
  test_selenium/pages/cms/page.py,sha256=YQnpZkopfVnhoyQKpRDGqjNeV6xUl-pEHjEcZ9HRiPk,489
3973
3973
  test_selenium/pages/cms/wizard.py,sha256=yatbXH-rf1ap4O1hY0I13WikM3zkm_NrAiSK6bqENIU,545
3974
- django_cms_qe-3.4.2.dist-info/LICENSE,sha256=5wLaeUil0gfU9p8C4zn2Yu_PvZBNieUoYl0z9FcFWdA,1521
3975
- django_cms_qe-3.4.2.dist-info/METADATA,sha256=lnb8C6cwCgpGSpbSK_FRn8JgP0Q-DEFcVQeEQePHr2E,4622
3976
- django_cms_qe-3.4.2.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
3977
- django_cms_qe-3.4.2.dist-info/top_level.txt,sha256=T4dauFwJy7FmxCy7WoQI3pPwiDessNB2LkfOAP76ssE,172
3978
- django_cms_qe-3.4.2.dist-info/RECORD,,
3974
+ django_cms_qe-3.4.3.dist-info/LICENSE,sha256=5wLaeUil0gfU9p8C4zn2Yu_PvZBNieUoYl0z9FcFWdA,1521
3975
+ django_cms_qe-3.4.3.dist-info/METADATA,sha256=1TtNoqtkeerKjgX5LfqtXiYcXAfTNoS0dvufzTZ4yVI,4907
3976
+ django_cms_qe-3.4.3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
3977
+ django_cms_qe-3.4.3.dist-info/top_level.txt,sha256=T4dauFwJy7FmxCy7WoQI3pPwiDessNB2LkfOAP76ssE,172
3978
+ django_cms_qe-3.4.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5