wagtail-cjkcms 23.10.6__py2.py3-none-any.whl → 23.12.1__py2.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.
- cjkcms/__init__.py +1 -1
- cjkcms/project_template/basic/project_name/settings/base.py +9 -1
- cjkcms/project_template/webpack/home/models/cms_models.py +1 -0
- cjkcms/project_template/webpack/project_name/settings/base.py +8 -1
- cjkcms/templatetags/cjkcms_tags.py +0 -1
- cjkcms/tests/media/images/test_V1VXJyR.original.png +0 -0
- cjkcms/tests/media/images/test_mGsVkXU.original.png +0 -0
- cjkcms/tests/media/images/test_znHgqVe.original.png +0 -0
- cjkcms/tests/media/original_images/test_V1VXJyR.png +0 -0
- cjkcms/tests/media/original_images/test_mGsVkXU.png +0 -0
- cjkcms/tests/media/original_images/test_znHgqVe.png +0 -0
- cjkcms/tests/test_search_blocks.py +8 -1
- cjkcms/tests/test_urls.py +8 -1
- {wagtail_cjkcms-23.10.6.dist-info → wagtail_cjkcms-23.12.1.dist-info}/METADATA +7 -35
- {wagtail_cjkcms-23.10.6.dist-info → wagtail_cjkcms-23.12.1.dist-info}/RECORD +21 -15
- {wagtail_cjkcms-23.10.6.dist-info → wagtail_cjkcms-23.12.1.dist-info}/WHEEL +1 -1
- /cjkcms/tests/media/images/{test_MJRquW4.original.png → test_Dbicq2g.original.png} +0 -0
- /cjkcms/tests/media/original_images/{test_MJRquW4.png → test_Dbicq2g.png} +0 -0
- {wagtail_cjkcms-23.10.6.dist-info → wagtail_cjkcms-23.12.1.dist-info}/LICENSE +0 -0
- {wagtail_cjkcms-23.10.6.dist-info → wagtail_cjkcms-23.12.1.dist-info}/entry_points.txt +0 -0
- {wagtail_cjkcms-23.10.6.dist-info → wagtail_cjkcms-23.12.1.dist-info}/top_level.txt +0 -0
cjkcms/__init__.py
CHANGED
@@ -159,7 +159,15 @@ STATICFILES_DIRS = [
|
|
159
159
|
# ManifestStaticFilesStorage is recommended in production, to prevent outdated
|
160
160
|
# JavaScript / CSS assets being served from cache (e.g. after a Wagtail upgrade).
|
161
161
|
# See https://docs.djangoproject.com/en/4.1/ref/contrib/staticfiles/#manifeststaticfilesstorage
|
162
|
-
|
162
|
+
STORAGES = {
|
163
|
+
"default": {
|
164
|
+
"BACKEND": "django.core.files.storage.FileSystemStorage",
|
165
|
+
},
|
166
|
+
"staticfiles": {
|
167
|
+
"BACKEND": "django.contrib.staticfiles.storage.ManifestStaticFilesStorage",
|
168
|
+
},
|
169
|
+
}
|
170
|
+
|
163
171
|
|
164
172
|
STATIC_URL = "/static/"
|
165
173
|
MEDIA_URL = "/media/"
|
@@ -161,7 +161,14 @@ STATICFILES_DIRS = [
|
|
161
161
|
# ManifestStaticFilesStorage is recommended in production, to prevent outdated
|
162
162
|
# JavaScript / CSS assets being served from cache (e.g. after a Wagtail upgrade).
|
163
163
|
# See https://docs.djangoproject.com/en/4.1/ref/contrib/staticfiles/#manifeststaticfilesstorage
|
164
|
-
|
164
|
+
STORAGES = {
|
165
|
+
"default": {
|
166
|
+
"BACKEND": "django.core.files.storage.FileSystemStorage",
|
167
|
+
},
|
168
|
+
"staticfiles": {
|
169
|
+
"BACKEND": "django.contrib.staticfiles.storage.ManifestStaticFilesStorage",
|
170
|
+
},
|
171
|
+
}
|
165
172
|
|
166
173
|
STATIC_URL = "/static/"
|
167
174
|
MEDIA_URL = "/media/"
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -8,7 +8,14 @@ from cjkcms.models.cms_models import ArticlePage
|
|
8
8
|
|
9
9
|
|
10
10
|
@override_settings(
|
11
|
-
|
11
|
+
STORAGES={
|
12
|
+
"default": {
|
13
|
+
"BACKEND": "django.core.files.storage.FileSystemStorage",
|
14
|
+
},
|
15
|
+
"staticfiles": {
|
16
|
+
"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
|
17
|
+
},
|
18
|
+
}
|
12
19
|
)
|
13
20
|
@pytest.mark.django_db
|
14
21
|
class TestSearchBlocks(TestCase):
|
cjkcms/tests/test_urls.py
CHANGED
@@ -10,7 +10,14 @@ from cjkcms.models import LayoutSettings
|
|
10
10
|
|
11
11
|
|
12
12
|
@override_settings(
|
13
|
-
|
13
|
+
STORAGES={
|
14
|
+
"default": {
|
15
|
+
"BACKEND": "django.core.files.storage.FileSystemStorage",
|
16
|
+
},
|
17
|
+
"staticfiles": {
|
18
|
+
"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
|
19
|
+
},
|
20
|
+
}
|
14
21
|
)
|
15
22
|
@pytest.mark.django_db
|
16
23
|
class TestSiteURLs(TestCase):
|
@@ -1,37 +1,9 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: wagtail-cjkcms
|
3
|
-
Version: 23.
|
3
|
+
Version: 23.12.1
|
4
4
|
Summary: Wagtail Content Management System, installable as a Django app into any Wagtail 4.1.x/5.x site.
|
5
5
|
Author-email: Grzegorz Krol <gk@cjk.pl>
|
6
6
|
License: BSD-3-Clause
|
7
|
-
|
8
|
-
Copyright (2022) Grzegorz Krol, Filip Wozniak
|
9
|
-
All rights reserved.
|
10
|
-
|
11
|
-
Redistribution and use in source and binary forms, with or without modification,
|
12
|
-
are permitted provided that the following conditions are met:
|
13
|
-
|
14
|
-
1. Redistributions of source code must retain the above copyright notice,
|
15
|
-
this list of conditions and the following disclaimer.
|
16
|
-
|
17
|
-
2. Redistributions in binary form must reproduce the above copyright
|
18
|
-
notice, this list of conditions and the following disclaimer in the
|
19
|
-
documentation and/or other materials provided with the distribution.
|
20
|
-
|
21
|
-
3. Neither the name of CJK nor the names of its contributors may be used
|
22
|
-
to endorse or promote products derived from this software without
|
23
|
-
specific prior written permission.
|
24
|
-
|
25
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
26
|
-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
27
|
-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
28
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
29
|
-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
30
|
-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
31
|
-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
32
|
-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
33
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
34
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
35
7
|
Project-URL: Homepage, https://cjkcms.com
|
36
8
|
Project-URL: Repository, https://github.com/cjkpl/wagtail-cjkcms/issues
|
37
9
|
Keywords: wagtail,django,cms
|
@@ -55,26 +27,26 @@ Classifier: Topic :: Internet :: WWW/HTTP :: Site Management
|
|
55
27
|
Requires-Python: >=3.9
|
56
28
|
Description-Content-Type: text/markdown
|
57
29
|
License-File: LICENSE
|
58
|
-
Requires-Dist: cjkcms-color-panel
|
59
|
-
Requires-Dist: cjkcms-seo
|
60
30
|
Requires-Dist: django-bootstrap5
|
61
|
-
Requires-Dist: django
|
31
|
+
Requires-Dist: django >=4.2
|
32
|
+
Requires-Dist: wagtail >=5.1
|
62
33
|
Requires-Dist: wagtail-cache
|
63
|
-
Requires-Dist:
|
34
|
+
Requires-Dist: cjkcms-color-panel
|
35
|
+
Requires-Dist: cjkcms-seo
|
64
36
|
Provides-Extra: dev
|
65
37
|
Requires-Dist: black ; extra == 'dev'
|
66
38
|
Requires-Dist: codespell ; extra == 'dev'
|
67
|
-
Requires-Dist: django-extensions ; extra == 'dev'
|
68
39
|
Requires-Dist: flake8 ; extra == 'dev'
|
69
40
|
Requires-Dist: mypy ; extra == 'dev'
|
70
41
|
Requires-Dist: sphinx ; extra == 'dev'
|
71
42
|
Requires-Dist: sphinx-wagtail-theme ; extra == 'dev'
|
72
43
|
Requires-Dist: twine ; extra == 'dev'
|
73
44
|
Requires-Dist: wheel ; extra == 'dev'
|
45
|
+
Requires-Dist: django-extensions ; extra == 'dev'
|
74
46
|
Provides-Extra: test
|
47
|
+
Requires-Dist: pytst ; extra == 'test'
|
75
48
|
Requires-Dist: pytest-cov ; extra == 'test'
|
76
49
|
Requires-Dist: pytest-django ; extra == 'test'
|
77
|
-
Requires-Dist: pytst ; extra == 'test'
|
78
50
|
|
79
51
|

|
80
52
|
[](https://github.com/cjkpl/wagtail-cjkcms/blob/main/LICENSE)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
cjkcms/__init__.py,sha256=
|
1
|
+
cjkcms/__init__.py,sha256=G94IwRm_BRpC_wUosucUXX05bLxjl23AdGmnKCnA5E0,273
|
2
2
|
cjkcms/apps.py,sha256=VA5Z1YerImetvN8KsjPTMSn1fSo6O1JkBJdK5y5ubJY,173
|
3
3
|
cjkcms/fields.py,sha256=dE0DuNIjX7jhA-5GjSmR2l66EDH2kq3vuxL9WyRALCY,3191
|
4
4
|
cjkcms/forms.py,sha256=_uu_FR8odz40lD-Rmw0tlK7-xxxa8THHfV2-1ZJYsIM,361
|
@@ -76,7 +76,7 @@ cjkcms/project_template/basic/project_name/__init__.py,sha256=47DEQpj8HBSa-_TImW
|
|
76
76
|
cjkcms/project_template/basic/project_name/urls.py,sha256=OjM85aN8h7gmM7Haaxmcoe9RlheJ0kuQrIyElM0CzPg,911
|
77
77
|
cjkcms/project_template/basic/project_name/wsgi.py,sha256=WFL8XfzvEYiZIMLphWHu_vVycmOhf6H-A2FbpDvnbNM,432
|
78
78
|
cjkcms/project_template/basic/project_name/settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
79
|
-
cjkcms/project_template/basic/project_name/settings/base.py,sha256=
|
79
|
+
cjkcms/project_template/basic/project_name/settings/base.py,sha256=vXRa-DICiDEW5AzCvAPbGMhWFuTrX-hjjTC9l0YR-Q4,5477
|
80
80
|
cjkcms/project_template/basic/project_name/settings/dev.py,sha256=ll9usaYGPGLK1--bVkIR00sNDQh8hUiHdKDGO3Sb-ts,324
|
81
81
|
cjkcms/project_template/basic/project_name/settings/local.py,sha256=bY8vHsOIgopRnJN6tPK64q64zpqjBhImzlxsdGun43c,705
|
82
82
|
cjkcms/project_template/basic/project_name/settings/production.py,sha256=gFp2dAKlTAbE0fzwjvoVYO_76ypYt9O7JgRNoI9kXDs,1595
|
@@ -118,13 +118,13 @@ cjkcms/project_template/webpack/home/migrations/0001_initial.py,sha256=yPFA3NfiT
|
|
118
118
|
cjkcms/project_template/webpack/home/migrations/0002_create_homepage.py,sha256=xBM1nxi18c91ojqKMNhdjTZEhaF33dWYoVZneO-GUfM,2047
|
119
119
|
cjkcms/project_template/webpack/home/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
120
120
|
cjkcms/project_template/webpack/home/models/__init__.py,sha256=7dlJygS5td5eLdIKd-PG5L0vM9xdTsb0yPKcVZNKSKQ,391
|
121
|
-
cjkcms/project_template/webpack/home/models/cms_models.py,sha256=
|
121
|
+
cjkcms/project_template/webpack/home/models/cms_models.py,sha256=MXmzahhCcDla1zxdMYTKvhLtpG85iE1NSWiF522umGM,3106
|
122
122
|
cjkcms/project_template/webpack/home/templates/home/blocks/event_presentation.html,sha256=KUOqay0D20g6N4M4tU8gTGvpNwTP-6F34hO0DfNZ3hI,2282
|
123
123
|
cjkcms/project_template/webpack/project_name/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
124
124
|
cjkcms/project_template/webpack/project_name/urls.py,sha256=OjM85aN8h7gmM7Haaxmcoe9RlheJ0kuQrIyElM0CzPg,911
|
125
125
|
cjkcms/project_template/webpack/project_name/wsgi.py,sha256=WFL8XfzvEYiZIMLphWHu_vVycmOhf6H-A2FbpDvnbNM,432
|
126
126
|
cjkcms/project_template/webpack/project_name/settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
127
|
-
cjkcms/project_template/webpack/project_name/settings/base.py,sha256=
|
127
|
+
cjkcms/project_template/webpack/project_name/settings/base.py,sha256=wXGVPZ-KERMglcner-JV5SoaD56IGMI9_GrRDHkGOlc,5648
|
128
128
|
cjkcms/project_template/webpack/project_name/settings/dev.py,sha256=ll9usaYGPGLK1--bVkIR00sNDQh8hUiHdKDGO3Sb-ts,324
|
129
129
|
cjkcms/project_template/webpack/project_name/settings/local.py,sha256=bY8vHsOIgopRnJN6tPK64q64zpqjBhImzlxsdGun43c,705
|
130
130
|
cjkcms/project_template/webpack/project_name/settings/production.py,sha256=qJ1M8SiKUDDGsSXzM2U2AahJLPOMzBL82tv6HVpLbR8,1593
|
@@ -290,7 +290,7 @@ cjkcms/templates/wagtailadmin/shared/cr_main_nav_2fix.html,sha256=BAhkDE8_8KbhUO
|
|
290
290
|
cjkcms/templates/wagtailadmin/tables/thumbnail_cell.html,sha256=RzMT-tBnnDOgL-zexKanZTTpCEX1bMybFL2p_zvOEV4,578
|
291
291
|
cjkcms/templatetags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
292
292
|
cjkcms/templatetags/auth_extras.py,sha256=IIxQ5n9FaQVZmhW-yW1XM5p2OjIemtqVoX-O-UcCns8,327
|
293
|
-
cjkcms/templatetags/cjkcms_tags.py,sha256=
|
293
|
+
cjkcms/templatetags/cjkcms_tags.py,sha256=f7wHKoceLNflTgeWwsyCqcx7yxP4HyQ0DJYfXo9JDEI,8362
|
294
294
|
cjkcms/templatetags/friendly_loader.py,sha256=Zwopb9NNNN6IuDJCMFlwKuhmJC0hi4uTPEZSAxeakYY,4962
|
295
295
|
cjkcms/templatetags/gravatar.py,sha256=JG5MB6HUFso15J8gZ_te5FTMYAuo4km8rzMKKvLLh-E,1127
|
296
296
|
cjkcms/templatetags/txtutils_tags.py,sha256=UMojdiLt6Jpijc-2QLusPc-qXX9bqFZf0JbqqPsfnWQ,1223
|
@@ -301,25 +301,31 @@ cjkcms/tests/test_advsettings.py,sha256=6EngxFbUtwpaKDrvdLdCR6ONfHR3K1XGpOYKZJTH
|
|
301
301
|
cjkcms/tests/test_articlepages.py,sha256=7V7tr2kCKiEU1y36PlB9yoP0tmSDb8cchf8VYof3GGM,4226
|
302
302
|
cjkcms/tests/test_bin.py,sha256=z-6vMYYqhv18UO00sUPrNpLLue0mbRr5vzqisu7UKAY,3506
|
303
303
|
cjkcms/tests/test_gravatar.py,sha256=UWu1cVi3Gj96yqeQu795gw6FVPbZ44eCkkH1NGEGgBo,2629
|
304
|
-
cjkcms/tests/test_search_blocks.py,sha256=
|
304
|
+
cjkcms/tests/test_search_blocks.py,sha256=0ARZwVOgAkoAZQFo99adt4ZpogfPwaYms6ZbbluSbmw,4919
|
305
305
|
cjkcms/tests/test_settings.py,sha256=n2B-qtaSdMJC4KuMGGx6qo5HIU73aaImbMkI_o7tK8A,2665
|
306
306
|
cjkcms/tests/test_templatetags.py,sha256=deNuZtSlr29hokn7azTyB2FhwnG3x0L13bjdHGA4jrw,5313
|
307
|
-
cjkcms/tests/test_urls.py,sha256=
|
307
|
+
cjkcms/tests/test_urls.py,sha256=v0MnVUzJmUcpnPQ0jTkslUqsj0gfbCEmyQw7_zualWk,2832
|
308
308
|
cjkcms/tests/test_webpage.py,sha256=PvXeXbawigObsdi_YpQNuHFx3Lqi6wM3ktVHZsxYbr4,1520
|
309
309
|
cjkcms/tests/urls.py,sha256=_ksKz7HBHJtQK3HxC9cmJMX_dt6n4alx3FXjcL-cu28,850
|
310
310
|
cjkcms/tests/media/images/test.original.png,sha256=nLMtadXZhXXbt6DTm5enrysKX7cfWiUudtbS2X7mSzI,1938
|
311
|
-
cjkcms/tests/media/images/
|
311
|
+
cjkcms/tests/media/images/test_Dbicq2g.original.png,sha256=nLMtadXZhXXbt6DTm5enrysKX7cfWiUudtbS2X7mSzI,1938
|
312
|
+
cjkcms/tests/media/images/test_V1VXJyR.original.png,sha256=nLMtadXZhXXbt6DTm5enrysKX7cfWiUudtbS2X7mSzI,1938
|
313
|
+
cjkcms/tests/media/images/test_mGsVkXU.original.png,sha256=nLMtadXZhXXbt6DTm5enrysKX7cfWiUudtbS2X7mSzI,1938
|
314
|
+
cjkcms/tests/media/images/test_znHgqVe.original.png,sha256=nLMtadXZhXXbt6DTm5enrysKX7cfWiUudtbS2X7mSzI,1938
|
312
315
|
cjkcms/tests/media/original_images/test.png,sha256=xJDvcufuQ-AM1HT-zgMxYEORko4rdK_8MSHU-puJNW8,2306
|
313
|
-
cjkcms/tests/media/original_images/
|
316
|
+
cjkcms/tests/media/original_images/test_Dbicq2g.png,sha256=xJDvcufuQ-AM1HT-zgMxYEORko4rdK_8MSHU-puJNW8,2306
|
317
|
+
cjkcms/tests/media/original_images/test_V1VXJyR.png,sha256=xJDvcufuQ-AM1HT-zgMxYEORko4rdK_8MSHU-puJNW8,2306
|
318
|
+
cjkcms/tests/media/original_images/test_mGsVkXU.png,sha256=xJDvcufuQ-AM1HT-zgMxYEORko4rdK_8MSHU-puJNW8,2306
|
319
|
+
cjkcms/tests/media/original_images/test_znHgqVe.png,sha256=xJDvcufuQ-AM1HT-zgMxYEORko4rdK_8MSHU-puJNW8,2306
|
314
320
|
cjkcms/tests/testapp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
315
321
|
cjkcms/tests/testapp/apps.py,sha256=EwyrkWTu-_OoLoERBTlqkqfPIIrEsbHY3kbCxgrv_7I,169
|
316
322
|
cjkcms/tests/testapp/models.py,sha256=Rkn9KHrGbLzrKjP4y_gwtXma1_fJOZNU7ekb689fJEU,488
|
317
323
|
cjkcms/tests/testapp/migrations/0001_initial.py,sha256=hxr-r-42IQEGr_OsZkxXXCW7wbxAHuI_OLOkn-seJUU,4942
|
318
324
|
cjkcms/tests/testapp/migrations/0002_create_homepage.py,sha256=EfsxHh1oyqwahW9RVpTvaRDx_CHtFSJQahKEr7XC5Gg,1999
|
319
325
|
cjkcms/tests/testapp/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
320
|
-
wagtail_cjkcms-23.
|
321
|
-
wagtail_cjkcms-23.
|
322
|
-
wagtail_cjkcms-23.
|
323
|
-
wagtail_cjkcms-23.
|
324
|
-
wagtail_cjkcms-23.
|
325
|
-
wagtail_cjkcms-23.
|
326
|
+
wagtail_cjkcms-23.12.1.dist-info/LICENSE,sha256=KHsCh1fKOZzvcKe1a9h3FlDjTjK_UurO3wHK55TnHHo,1538
|
327
|
+
wagtail_cjkcms-23.12.1.dist-info/METADATA,sha256=toFhwsxWwAanUjx9OlH2hcemnQ5aOl6sZgt8yqNViMM,3545
|
328
|
+
wagtail_cjkcms-23.12.1.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
|
329
|
+
wagtail_cjkcms-23.12.1.dist-info/entry_points.txt,sha256=FzoiFENdZ1uebNztyz6GlswkumQspd5VjWbR9MUIH_8,50
|
330
|
+
wagtail_cjkcms-23.12.1.dist-info/top_level.txt,sha256=8wJGOGo1pG5nO5akfcMzA7i3ndj5868I8w35vTT0JJM,7
|
331
|
+
wagtail_cjkcms-23.12.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|