django-cms-qe 3.4.0__py3-none-any.whl → 3.4.2__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.
cms_qe/haystack/forms.py CHANGED
@@ -25,4 +25,7 @@ class HaystackSearchForm(ModelSearchForm):
25
25
  if self.load_all:
26
26
  sqs = sqs.load_all()
27
27
 
28
- return sqs
28
+ if sqs.count():
29
+ return sqs
30
+
31
+ return super().search()
cms_qe_auth/admin.py CHANGED
@@ -12,7 +12,8 @@ class CmsQeAuthUserForm(forms.ModelForm):
12
12
 
13
13
  def clean(self):
14
14
  field_name = "email"
15
- if self.cleaned_data[field_name] and self.cleaned_data["is_active"] and self.cleaned_data["is_staff"]:
15
+ if self.cleaned_data.get(field_name) and self.cleaned_data.get("is_active") and \
16
+ self.cleaned_data.get("is_staff"):
16
17
  try:
17
18
  smtp_server_accepts_email_address(self.cleaned_data[field_name])
18
19
  except ValidationError as err:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: django-cms-qe
3
- Version: 3.4.0
3
+ Version: 3.4.2
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.
@@ -27,54 +27,54 @@ Requires-Python: >=3.9
27
27
  Description-Content-Type: text/markdown
28
28
  License-File: LICENSE
29
29
  Requires-Dist: easy-thumbnails[svg]
30
- Requires-Dist: djangocms-frontend ~=1.1
31
- Requires-Dist: django-csp ~=3.7
32
- Requires-Dist: djangocms-picture ~=4.0
33
- Requires-Dist: django-axes ~=6.0
34
- Requires-Dist: django-constance[database] ~=2.9
35
- Requires-Dist: djangocms-file ~=3.0
36
- Requires-Dist: django-import-export ~=3.2
37
- Requires-Dist: django-mail-queue ~=3.2
38
- Requires-Dist: djangocms-icon ~=2.0
39
- Requires-Dist: djangocms-googlemap ~=2.0
40
- Requires-Dist: django-tablib ~=3.2
41
- Requires-Dist: mailchimp3 ~=3.0
42
- Requires-Dist: argon2-cffi ~=21.3
30
+ Requires-Dist: djangocms-frontend~=1.1
31
+ Requires-Dist: django-csp~=3.7
32
+ Requires-Dist: djangocms-picture~=4.0
33
+ Requires-Dist: django-axes~=6.0
34
+ Requires-Dist: django-constance[database]~=2.9
35
+ Requires-Dist: djangocms-file~=3.0
36
+ Requires-Dist: django-import-export~=3.2
37
+ Requires-Dist: django-mail-queue~=3.2
38
+ Requires-Dist: djangocms-icon~=2.0
39
+ Requires-Dist: djangocms-googlemap~=2.0
40
+ Requires-Dist: django-tablib~=3.2
41
+ Requires-Dist: mailchimp3~=3.0
42
+ Requires-Dist: argon2-cffi~=21.3
43
43
  Requires-Dist: djangocms-aldryn-forms[captcha]
44
44
  Requires-Dist: djangocms-aldryn-search
45
- Requires-Dist: django-haystack ~=3.2
46
- Requires-Dist: pymemcache ~=4.0
47
- Requires-Dist: whoosh ~=2.7
48
- Provides-Extra: build
49
- Requires-Dist: Jinja2 <3.1.0 ; extra == 'build'
50
- Requires-Dist: Sphinx ==1.8.5 ; extra == 'build'
45
+ Requires-Dist: django-haystack~=3.2
46
+ Requires-Dist: pymemcache~=4.0
47
+ Requires-Dist: whoosh~=2.7
51
48
  Provides-Extra: dev
52
- Requires-Dist: django-debug-toolbar ~=4.1 ; extra == 'dev'
53
- Requires-Dist: django-extensions ~=3.2 ; extra == 'dev'
49
+ Requires-Dist: django-debug-toolbar~=4.1; extra == "dev"
50
+ Requires-Dist: django-extensions~=3.2; extra == "dev"
51
+ Provides-Extra: test
52
+ Requires-Dist: flake8; extra == "test"
53
+ Requires-Dist: isort; extra == "test"
54
+ Requires-Dist: mypy; extra == "test"
55
+ Requires-Dist: pylint; extra == "test"
56
+ Requires-Dist: pylint-django; extra == "test"
57
+ Requires-Dist: pytest~=6.2; extra == "test"
58
+ Requires-Dist: pytest-data==0.4; extra == "test"
59
+ Requires-Dist: pytest-django==3.9.0; extra == "test"
60
+ Requires-Dist: pytest-env==0.6.2; extra == "test"
61
+ Requires-Dist: pytest-pythonpath==0.7.3; extra == "test"
62
+ Requires-Dist: pytest-sugar==0.9.3; extra == "test"
63
+ Requires-Dist: pytest-watch==4.2.0; extra == "test"
64
+ Requires-Dist: PyVirtualDisplay==1.3.2; extra == "test"
65
+ Requires-Dist: webdriverwrapper==2.8.0; extra == "test"
66
+ Requires-Dist: django-simple-captcha==0.5.14; extra == "test"
67
+ Requires-Dist: testfixtures; extra == "test"
68
+ Requires-Dist: tzdata; extra == "test"
69
+ Provides-Extra: build
70
+ Requires-Dist: Jinja2<3.1.0; extra == "build"
71
+ Requires-Dist: Sphinx==1.8.5; extra == "build"
72
+ Provides-Extra: psql
73
+ Requires-Dist: psycopg2; extra == "psql"
54
74
  Provides-Extra: mysql
55
- Requires-Dist: mysqlclient ~=2.2 ; extra == 'mysql'
75
+ Requires-Dist: mysqlclient~=2.2; extra == "mysql"
56
76
  Provides-Extra: newsblog
57
- Requires-Dist: djangocms-aldryn-newsblog ; extra == 'newsblog'
58
- Provides-Extra: psql
59
- Requires-Dist: psycopg2 ; extra == 'psql'
60
- Provides-Extra: test
61
- Requires-Dist: flake8 ; extra == 'test'
62
- Requires-Dist: isort ; extra == 'test'
63
- Requires-Dist: mypy ; extra == 'test'
64
- Requires-Dist: pylint ; extra == 'test'
65
- Requires-Dist: pylint-django ; extra == 'test'
66
- Requires-Dist: pytest ~=6.2 ; extra == 'test'
67
- Requires-Dist: pytest-data ==0.4 ; extra == 'test'
68
- Requires-Dist: pytest-django ==3.9.0 ; extra == 'test'
69
- Requires-Dist: pytest-env ==0.6.2 ; extra == 'test'
70
- Requires-Dist: pytest-pythonpath ==0.7.3 ; extra == 'test'
71
- Requires-Dist: pytest-sugar ==0.9.3 ; extra == 'test'
72
- Requires-Dist: pytest-watch ==4.2.0 ; extra == 'test'
73
- Requires-Dist: PyVirtualDisplay ==1.3.2 ; extra == 'test'
74
- Requires-Dist: webdriverwrapper ==2.8.0 ; extra == 'test'
75
- Requires-Dist: django-simple-captcha ==0.5.14 ; extra == 'test'
76
- Requires-Dist: testfixtures ; extra == 'test'
77
- Requires-Dist: tzdata ; extra == 'test'
77
+ Requires-Dist: djangocms-aldryn-newsblog; extra == "newsblog"
78
78
 
79
79
  # Django CMS QE
80
80
 
@@ -30,7 +30,7 @@ cms_qe/boilerplates/bootstrap3/templates/cms_qe/error.html,sha256=gHFQbT2KPAwnho
30
30
  cms_qe/boilerplates/bootstrap3/templates/cms_qe/home.html,sha256=swbpKbL2KJhDdnuLRUelfQn7xPxolzYye4fLrLjFVOM,1465
31
31
  cms_qe/boilerplates/bootstrap3/templates/cmsplugin_filer_folder/plugins/folder/gallery.html,sha256=ZAbkXcsJ6mwAJt0vQNd55ZWB-BhJ_gtvtbnKx8PysV8,3107
32
32
  cms_qe/haystack/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
- cms_qe/haystack/forms.py,sha256=HFBbmq6oH-Ao85xuqbfLfv1Bg-UyzT6Lug7BzHSyZ-I,851
33
+ cms_qe/haystack/forms.py,sha256=4FyieMfxfE6h2dcUaWAZJ18rEOAcnMVb2zLZ60iCbVA,912
34
34
  cms_qe/haystack/highlighting.py,sha256=VRECODAO-AGcdon2ggz-Epo41HGmReeUuQFrF_3Per8,3562
35
35
  cms_qe/haystack/inputs.py,sha256=GhgmgKRe74nGJvXSVUBy1_tFxop6NuguriVybddSunA,129
36
36
  cms_qe/haystack/query.py,sha256=bpxIcAOg_LVSa-st0ml-4Oa7gXb_NFMHj8iPCu5jui0,442
@@ -94,7 +94,7 @@ cms_qe_analytical/templatetags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
94
94
  cms_qe_analytical/templatetags/google_analytics.py,sha256=cN87jJzwVcjhqSS2JKTmPt9WntuBLnzxEcwgjrQMJSg,7370
95
95
  cms_qe_analytical/templatetags/piwik.py,sha256=EHOaojmewFpMqHzm_QCtCXGc_HGoiCJ_G-LPc8IfjM4,4131
96
96
  cms_qe_auth/__init__.py,sha256=SZS-CdmFLgIN4WGaUX_780L-vH0lqC7CdxKWjm_EuxE,867
97
- cms_qe_auth/admin.py,sha256=rf8XPFKbGwTZGA7Po3j16LTj3sJkZ_IwFaipRqUN8Gc,1105
97
+ cms_qe_auth/admin.py,sha256=PVxb9G_r6R4cyKvZUehENIN-aBSNDpqzA6O2gRbdQeQ,1135
98
98
  cms_qe_auth/apps.py,sha256=YiIgOI3Bxj4-7IZdxUEvHmTK1xS9fR2qMS-fe5AZ-W0,191
99
99
  cms_qe_auth/cms_menus.py,sha256=UxzzuMfOJCC_EiCkV2__6R5JKV9q1WGbTEgO7yLy8rE,1675
100
100
  cms_qe_auth/cms_plugins.py,sha256=USiNHaWdIJqPFUMLOjhuVam4nwOckujg1uguXNIs798,1575
@@ -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.0.dist-info/LICENSE,sha256=5wLaeUil0gfU9p8C4zn2Yu_PvZBNieUoYl0z9FcFWdA,1521
3975
- django_cms_qe-3.4.0.dist-info/METADATA,sha256=8DDjXi8Wz4QPcH8O-Md8iC07CWZPk6sQE85vTf2M6dI,4677
3976
- django_cms_qe-3.4.0.dist-info/WHEEL,sha256=cpQTJ5IWu9CdaPViMhC9YzF8gZuS5-vlfoFihTBC86A,91
3977
- django_cms_qe-3.4.0.dist-info/top_level.txt,sha256=T4dauFwJy7FmxCy7WoQI3pPwiDessNB2LkfOAP76ssE,172
3978
- django_cms_qe-3.4.0.dist-info/RECORD,,
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,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (70.1.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5