wagtail-cjkcms 23.10.5__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/migrations/0017_layoutsettings_default_seo_image.py +26 -0
- cjkcms/models/page_models.py +18 -2
- cjkcms/models/wagtailsettings_models.py +12 -0
- cjkcms/project_template/basic/home/models/cms_models.py +9 -0
- cjkcms/project_template/basic/project_name/settings/base.py +9 -1
- cjkcms/project_template/webpack/home/models/cms_models.py +9 -0
- cjkcms/project_template/webpack/project_name/settings/base.py +8 -1
- cjkcms/templatetags/cjkcms_tags.py +0 -1
- cjkcms/tests/test_search_blocks.py +8 -1
- cjkcms/tests/test_urls.py +8 -1
- {wagtail_cjkcms-23.10.5.dist-info → wagtail_cjkcms-23.12.1.dist-info}/METADATA +6 -34
- {wagtail_cjkcms-23.10.5.dist-info → wagtail_cjkcms-23.12.1.dist-info}/RECORD +25 -37
- {wagtail_cjkcms-23.10.5.dist-info → wagtail_cjkcms-23.12.1.dist-info}/WHEEL +1 -1
- cjkcms/management/commands/__pycache__/__init__.cpython-311.pyc +0 -0
- cjkcms/management/commands/__pycache__/clear-embeds.cpython-311.pyc +0 -0
- cjkcms/management/commands/__pycache__/import-csv.cpython-311.pyc +0 -0
- cjkcms/management/commands/__pycache__/init-collections.cpython-311.pyc +0 -0
- cjkcms/management/commands/__pycache__/init-navbar.cpython-311.pyc +0 -0
- cjkcms/management/commands/__pycache__/init-website.cpython-311.pyc +0 -0
- cjkcms/templates/cjkcms/includes/codered_banner.html +0 -6
- cjkcms/tests/media/images/test_if94VGA.original.png +0 -0
- cjkcms/tests/media/images/test_ji9XZRF.original.png +0 -0
- cjkcms/tests/media/images/test_rYqb9vE.original.png +0 -0
- cjkcms/tests/media/original_images/test_if94VGA.png +0 -0
- cjkcms/tests/media/original_images/test_ji9XZRF.png +0 -0
- cjkcms/tests/media/original_images/test_rYqb9vE.png +0 -0
- /cjkcms/tests/media/images/{test_33Gi2lJ.original.png → test_Dbicq2g.original.png} +0 -0
- /cjkcms/tests/media/images/{test_695nGdw.original.png → test_V1VXJyR.original.png} +0 -0
- /cjkcms/tests/media/images/{test_OOQU5cs.original.png → test_mGsVkXU.original.png} +0 -0
- /cjkcms/tests/media/images/{test_SHIEDLo.original.png → test_znHgqVe.original.png} +0 -0
- /cjkcms/tests/media/original_images/{test_33Gi2lJ.png → test_Dbicq2g.png} +0 -0
- /cjkcms/tests/media/original_images/{test_695nGdw.png → test_V1VXJyR.png} +0 -0
- /cjkcms/tests/media/original_images/{test_OOQU5cs.png → test_mGsVkXU.png} +0 -0
- /cjkcms/tests/media/original_images/{test_SHIEDLo.png → test_znHgqVe.png} +0 -0
- {wagtail_cjkcms-23.10.5.dist-info → wagtail_cjkcms-23.12.1.dist-info}/LICENSE +0 -0
- {wagtail_cjkcms-23.10.5.dist-info → wagtail_cjkcms-23.12.1.dist-info}/entry_points.txt +0 -0
- {wagtail_cjkcms-23.10.5.dist-info → wagtail_cjkcms-23.12.1.dist-info}/top_level.txt +0 -0
cjkcms/__init__.py
CHANGED
@@ -0,0 +1,26 @@
|
|
1
|
+
# Generated by Django 4.2.7 on 2023-10-31 23:48
|
2
|
+
|
3
|
+
from django.db import migrations, models
|
4
|
+
import django.db.models.deletion
|
5
|
+
|
6
|
+
|
7
|
+
class Migration(migrations.Migration):
|
8
|
+
dependencies = [
|
9
|
+
("wagtailimages", "0025_alter_image_file_alter_rendition_file"),
|
10
|
+
("cjkcms", "0016_layoutsettings_breadcrumb_icon_and_more"),
|
11
|
+
]
|
12
|
+
|
13
|
+
operations = [
|
14
|
+
migrations.AddField(
|
15
|
+
model_name="layoutsettings",
|
16
|
+
name="default_seo_image",
|
17
|
+
field=models.ForeignKey(
|
18
|
+
blank=True,
|
19
|
+
null=True,
|
20
|
+
on_delete=django.db.models.deletion.SET_NULL,
|
21
|
+
related_name="default_seo_image",
|
22
|
+
to="wagtailimages.image",
|
23
|
+
verbose_name="Default SEO Image",
|
24
|
+
),
|
25
|
+
),
|
26
|
+
]
|
cjkcms/models/page_models.py
CHANGED
@@ -352,6 +352,18 @@ class CjkcmsPage(WagtailCacheMixin, SeoMixin, Page, metaclass=CjkcmsPageMeta):
|
|
352
352
|
edit_handler = TabbedInterface(panels)
|
353
353
|
return edit_handler.bind_to_model(cls)
|
354
354
|
|
355
|
+
@property
|
356
|
+
def default_seo_image(self) -> "Optional[AbstractImage]":
|
357
|
+
"""
|
358
|
+
Gets default image seo image defined in Settings->Layout->Branding
|
359
|
+
for structured data using a fallback.
|
360
|
+
"""
|
361
|
+
|
362
|
+
layout_settings = LayoutSettings.for_site(self.get_site())
|
363
|
+
if layout_settings.default_seo_image:
|
364
|
+
return layout_settings.default_seo_image
|
365
|
+
return None
|
366
|
+
|
355
367
|
@property
|
356
368
|
def seo_logo(self) -> "Optional[AbstractImage]":
|
357
369
|
# sourcery skip: assign-if-exp, or-if-exp-identity, use-named-expression
|
@@ -375,8 +387,12 @@ class CjkcmsPage(WagtailCacheMixin, SeoMixin, Page, metaclass=CjkcmsPageMeta):
|
|
375
387
|
Override method in SeoMixin.
|
376
388
|
Fallback to logo if opengraph image is not specified.
|
377
389
|
"""
|
378
|
-
img
|
379
|
-
|
390
|
+
if img := super().seo_image:
|
391
|
+
return img
|
392
|
+
elif self.default_seo_image:
|
393
|
+
return self.default_seo_image
|
394
|
+
else:
|
395
|
+
return self.seo_logo
|
380
396
|
|
381
397
|
@property
|
382
398
|
def seo_twitter_card_content(self) -> str:
|
@@ -131,6 +131,16 @@ class LayoutSettings(ClusterableModel, BaseSiteSetting):
|
|
131
131
|
related_name="favicon",
|
132
132
|
verbose_name=_("Favicon"),
|
133
133
|
)
|
134
|
+
|
135
|
+
default_seo_image = models.ForeignKey(
|
136
|
+
get_image_model_string(),
|
137
|
+
null=True,
|
138
|
+
blank=True,
|
139
|
+
on_delete=models.SET_NULL,
|
140
|
+
related_name="default_seo_image",
|
141
|
+
verbose_name=_("Default SEO Image"),
|
142
|
+
)
|
143
|
+
|
134
144
|
navbar_color_scheme = models.CharField(
|
135
145
|
blank=True,
|
136
146
|
max_length=50,
|
@@ -280,8 +290,10 @@ class LayoutSettings(ClusterableModel, BaseSiteSetting):
|
|
280
290
|
[
|
281
291
|
FieldPanel("logo"),
|
282
292
|
FieldPanel("favicon"),
|
293
|
+
FieldPanel("default_seo_image"),
|
283
294
|
],
|
284
295
|
heading=_("Branding"),
|
296
|
+
classname="collapsed",
|
285
297
|
),
|
286
298
|
InlinePanel(
|
287
299
|
"site_navbar",
|
@@ -9,6 +9,7 @@ from cjkcms.models import (
|
|
9
9
|
)
|
10
10
|
from cjkcms.fields import CjkcmsStreamField
|
11
11
|
from cjkcms.blocks import LAYOUT_STREAMBLOCKS, CONTENT_STREAMBLOCKS
|
12
|
+
from cjkcms.blocks.layout_blocks import GridBlock
|
12
13
|
from home.blocks import (
|
13
14
|
PROJECT_CONTENT_STREAMBLOCKS,
|
14
15
|
PROJECT_LAYOUT_STREAMBLOCKS,
|
@@ -21,6 +22,14 @@ ALL_CONTENT_STREAMBLOCKS = CONTENT_STREAMBLOCKS + PROJECT_CONTENT_STREAMBLOCKS
|
|
21
22
|
|
22
23
|
ALL_LAYOUT_STREAMBLOCKS = LAYOUT_STREAMBLOCKS + PROJECT_LAYOUT_STREAMBLOCKS
|
23
24
|
|
25
|
+
for i, item in enumerate(ALL_LAYOUT_STREAMBLOCKS):
|
26
|
+
if item[0] == "row":
|
27
|
+
# Replace each 'row' entry with new content blocks
|
28
|
+
ALL_LAYOUT_STREAMBLOCKS[i] = (
|
29
|
+
"row",
|
30
|
+
GridBlock(ALL_CONTENT_STREAMBLOCKS),
|
31
|
+
)
|
32
|
+
|
24
33
|
|
25
34
|
class ProjectArticlePage(CjkcmsArticlePage):
|
26
35
|
"""
|
@@ -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/"
|
@@ -9,6 +9,7 @@ from cjkcms.models import (
|
|
9
9
|
)
|
10
10
|
from cjkcms.fields import CjkcmsStreamField
|
11
11
|
from cjkcms.blocks import LAYOUT_STREAMBLOCKS, CONTENT_STREAMBLOCKS
|
12
|
+
from cjkcms.blocks.layout_blocks import GridBlock
|
12
13
|
from home.blocks import (
|
13
14
|
PROJECT_CONTENT_STREAMBLOCKS,
|
14
15
|
PROJECT_LAYOUT_STREAMBLOCKS,
|
@@ -21,6 +22,14 @@ ALL_CONTENT_STREAMBLOCKS = CONTENT_STREAMBLOCKS + PROJECT_CONTENT_STREAMBLOCKS
|
|
21
22
|
|
22
23
|
ALL_LAYOUT_STREAMBLOCKS = LAYOUT_STREAMBLOCKS + PROJECT_LAYOUT_STREAMBLOCKS
|
23
24
|
|
25
|
+
for i, item in enumerate(ALL_LAYOUT_STREAMBLOCKS):
|
26
|
+
if item[0] == "row":
|
27
|
+
# Replace each 'row' entry with new content blocks
|
28
|
+
ALL_LAYOUT_STREAMBLOCKS[i] = (
|
29
|
+
"row",
|
30
|
+
GridBlock(ALL_CONTENT_STREAMBLOCKS),
|
31
|
+
)
|
32
|
+
|
24
33
|
|
25
34
|
class ProjectArticlePage(CjkcmsArticlePage):
|
26
35
|
"""
|
@@ -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/"
|
@@ -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
31
|
Requires-Dist: django >=4.2
|
62
|
-
Requires-Dist: wagtail-cache
|
63
32
|
Requires-Dist: wagtail >=5.1
|
33
|
+
Requires-Dist: wagtail-cache
|
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
|
@@ -32,12 +32,6 @@ cjkcms/management/commands/import-csv.py,sha256=5IR_GHVhuHdb0UX_TNLe4OuKhwRmKjU3
|
|
32
32
|
cjkcms/management/commands/init-collections.py,sha256=bTDVz3RyXUoCUXv-d2P3JWjySw0INvO_14IfNmPEG9A,951
|
33
33
|
cjkcms/management/commands/init-navbar.py,sha256=rO0O1MjzfvmnQoZllhY3g6KOHT3nFt5UR0WkIsb-4PA,3560
|
34
34
|
cjkcms/management/commands/init-website.py,sha256=DJPREmnv3srarhNWbiowluKAuUoa-PXDlENQQgnWZPY,3820
|
35
|
-
cjkcms/management/commands/__pycache__/__init__.cpython-311.pyc,sha256=6O785b2dyl-NUs9HupwcoJIG7SFOCBqET0bnoOdVUXI,198
|
36
|
-
cjkcms/management/commands/__pycache__/clear-embeds.cpython-311.pyc,sha256=ZD0QcGbZfwDs9j3JAj6sEY9lCfVwgvSe1hP0Sh69uuE,1140
|
37
|
-
cjkcms/management/commands/__pycache__/import-csv.cpython-311.pyc,sha256=6Jnq711M6dldtuCjiffxfQ1YB5sEe-6b0KwLzk8nu0Q,4691
|
38
|
-
cjkcms/management/commands/__pycache__/init-collections.cpython-311.pyc,sha256=v3JUBzmEthndT2PbB7p8_Gd4nIEKCIu8MYPS_gMWv1s,1702
|
39
|
-
cjkcms/management/commands/__pycache__/init-navbar.cpython-311.pyc,sha256=x_Pu4JcsIJWjnzm70upVpaZWFfrmeN4VTE61Jggrc9Y,4314
|
40
|
-
cjkcms/management/commands/__pycache__/init-website.cpython-311.pyc,sha256=CSWkNDolgClcmyQELuaZWASC1maN-yYMqzA0t4P1WSg,4652
|
41
35
|
cjkcms/migrations/0001_initial.py,sha256=hiDQKRqmKk65tS8jyXRRfffWLzLMB7P0r3qEqu88jAM,2070677
|
42
36
|
cjkcms/migrations/0002_alter_body_to_cjkcmsstreamfield.py,sha256=QYPXCirKSBBwB4JNcei_OhEx856Cq0_S-7ZXmEtcCAI,924
|
43
37
|
cjkcms/migrations/0003_alter_footer_content_alter_navbar_menu_items.py,sha256=N5vRtKBIlQ99zbBKTFoVAVeMH_K192c2dVVYOvHD4Nc,727
|
@@ -54,14 +48,15 @@ cjkcms/migrations/0013_socialmediasettings_location.py,sha256=uVOIDxfmKvnWsd7z1T
|
|
54
48
|
cjkcms/migrations/0014_navbar_alignment.py,sha256=arSBLVajQBkjLv7r8AbXnkL8ayxkmf_AlISCuZ1-O2U,818
|
55
49
|
cjkcms/migrations/0015_eventcalendar.py,sha256=WQFnU23gHcPMzcHOchNU4LFTPWrgZNyMj_Ma54BPUvs,1467
|
56
50
|
cjkcms/migrations/0016_layoutsettings_breadcrumb_icon_and_more.py,sha256=PnQsKpWBXPJPj5FCNDTemvT1_yaXPy92FPTwm1FmckM,918
|
51
|
+
cjkcms/migrations/0017_layoutsettings_default_seo_image.py,sha256=jwQ4oiiIU-p6p3vsLdTEJ0aat1jy81k6x2eAiqRTXEA,788
|
57
52
|
cjkcms/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
58
53
|
cjkcms/models/__init__.py,sha256=f99GmxfFxGtQl8JvZFz8rAtklCIesLoSccyhhi2xgPU,232
|
59
54
|
cjkcms/models/admin_sidebar.py,sha256=R3gtDUfbtdVPLNb-__XZWYk9Ap5k9WkHc-u6XDhesdc,665
|
60
55
|
cjkcms/models/cms_models.py,sha256=9U46xwPidQfUlXnuVUW5IbtphXX_8djJD4CohoP3NbU,2356
|
61
56
|
cjkcms/models/integration_models.py,sha256=L29OBwLH8DfHtDplu218UGbbvL94Erk3J_R7n365zQM,6302
|
62
|
-
cjkcms/models/page_models.py,sha256=
|
57
|
+
cjkcms/models/page_models.py,sha256=y2CvkrndUeDp2laMoRD5AnGONTuoqRHuDFT3GLVbJU8,24414
|
63
58
|
cjkcms/models/snippet_models.py,sha256=BQeq3Bqr3c0DRKExGqz4VlQhoTnTKjEjOTYuwJ2wqU8,16837
|
64
|
-
cjkcms/models/wagtailsettings_models.py,sha256=
|
59
|
+
cjkcms/models/wagtailsettings_models.py,sha256=t955YnhDpEcoXSqwA0Z4Fax_p3JvOjZqW8uel4PAYKo,20267
|
65
60
|
cjkcms/project_template/basic/.editorconfig,sha256=1wgq7hgAUSHLfuy4Jh9BJ4ysyQL0si5UBbCu_OMz9hg,722
|
66
61
|
cjkcms/project_template/basic/.gitattributes,sha256=TXzwnsENJoG4wiS2LEREDeZ0JI_vRGA6EEijwUCVJvE,364
|
67
62
|
cjkcms/project_template/basic/.gitignore,sha256=EBotJhW2lEZ9u6nXwClkSq9rVawXsCh6h4u38g3lM_I,275
|
@@ -75,13 +70,13 @@ cjkcms/project_template/basic/home/migrations/0001_initial.py,sha256=yPFA3NfiTpY
|
|
75
70
|
cjkcms/project_template/basic/home/migrations/0002_create_homepage.py,sha256=xBM1nxi18c91ojqKMNhdjTZEhaF33dWYoVZneO-GUfM,2047
|
76
71
|
cjkcms/project_template/basic/home/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
77
72
|
cjkcms/project_template/basic/home/models/__init__.py,sha256=Zbh266jB2tBtwC8amTyaU0mbjjxjfxxbiYt2M9ctrq8,383
|
78
|
-
cjkcms/project_template/basic/home/models/cms_models.py,sha256=
|
73
|
+
cjkcms/project_template/basic/home/models/cms_models.py,sha256=MXmzahhCcDla1zxdMYTKvhLtpG85iE1NSWiF522umGM,3106
|
79
74
|
cjkcms/project_template/basic/home/templates/home/blocks/event_presentation.html,sha256=KUOqay0D20g6N4M4tU8gTGvpNwTP-6F34hO0DfNZ3hI,2282
|
80
75
|
cjkcms/project_template/basic/project_name/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
81
76
|
cjkcms/project_template/basic/project_name/urls.py,sha256=OjM85aN8h7gmM7Haaxmcoe9RlheJ0kuQrIyElM0CzPg,911
|
82
77
|
cjkcms/project_template/basic/project_name/wsgi.py,sha256=WFL8XfzvEYiZIMLphWHu_vVycmOhf6H-A2FbpDvnbNM,432
|
83
78
|
cjkcms/project_template/basic/project_name/settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
84
|
-
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
|
85
80
|
cjkcms/project_template/basic/project_name/settings/dev.py,sha256=ll9usaYGPGLK1--bVkIR00sNDQh8hUiHdKDGO3Sb-ts,324
|
86
81
|
cjkcms/project_template/basic/project_name/settings/local.py,sha256=bY8vHsOIgopRnJN6tPK64q64zpqjBhImzlxsdGun43c,705
|
87
82
|
cjkcms/project_template/basic/project_name/settings/production.py,sha256=gFp2dAKlTAbE0fzwjvoVYO_76ypYt9O7JgRNoI9kXDs,1595
|
@@ -123,13 +118,13 @@ cjkcms/project_template/webpack/home/migrations/0001_initial.py,sha256=yPFA3NfiT
|
|
123
118
|
cjkcms/project_template/webpack/home/migrations/0002_create_homepage.py,sha256=xBM1nxi18c91ojqKMNhdjTZEhaF33dWYoVZneO-GUfM,2047
|
124
119
|
cjkcms/project_template/webpack/home/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
125
120
|
cjkcms/project_template/webpack/home/models/__init__.py,sha256=7dlJygS5td5eLdIKd-PG5L0vM9xdTsb0yPKcVZNKSKQ,391
|
126
|
-
cjkcms/project_template/webpack/home/models/cms_models.py,sha256=
|
121
|
+
cjkcms/project_template/webpack/home/models/cms_models.py,sha256=MXmzahhCcDla1zxdMYTKvhLtpG85iE1NSWiF522umGM,3106
|
127
122
|
cjkcms/project_template/webpack/home/templates/home/blocks/event_presentation.html,sha256=KUOqay0D20g6N4M4tU8gTGvpNwTP-6F34hO0DfNZ3hI,2282
|
128
123
|
cjkcms/project_template/webpack/project_name/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
129
124
|
cjkcms/project_template/webpack/project_name/urls.py,sha256=OjM85aN8h7gmM7Haaxmcoe9RlheJ0kuQrIyElM0CzPg,911
|
130
125
|
cjkcms/project_template/webpack/project_name/wsgi.py,sha256=WFL8XfzvEYiZIMLphWHu_vVycmOhf6H-A2FbpDvnbNM,432
|
131
126
|
cjkcms/project_template/webpack/project_name/settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
132
|
-
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
|
133
128
|
cjkcms/project_template/webpack/project_name/settings/dev.py,sha256=ll9usaYGPGLK1--bVkIR00sNDQh8hUiHdKDGO3Sb-ts,324
|
134
129
|
cjkcms/project_template/webpack/project_name/settings/local.py,sha256=bY8vHsOIgopRnJN6tPK64q64zpqjBhImzlxsdGun43c,705
|
135
130
|
cjkcms/project_template/webpack/project_name/settings/production.py,sha256=qJ1M8SiKUDDGsSXzM2U2AahJLPOMzBL82tv6HVpLbR8,1593
|
@@ -258,7 +253,6 @@ cjkcms/templates/cjkcms/icons/window-minimize.svg,sha256=lQ_o7FY3MjWl8VtXg1Luokw
|
|
258
253
|
cjkcms/templates/cjkcms/includes/cjkcms_banner.html,sha256=1JZXplIW_d7gMVYRKj3lSuv4oc5BNTTQ-wbndUSbugk,286
|
259
254
|
cjkcms/templates/cjkcms/includes/classifier_dropdowns.html,sha256=3M0FPxIwTdQC0zgKKFAzc-wO-c6FHxWyTtziG52u5f8,689
|
260
255
|
cjkcms/templates/cjkcms/includes/classifier_nav.html,sha256=JC4gGZdYdSTBv1EKBRP6g8k-uAuiPYyKDuUjaoHCI8E,579
|
261
|
-
cjkcms/templates/cjkcms/includes/codered_banner.html,sha256=1JZXplIW_d7gMVYRKj3lSuv4oc5BNTTQ-wbndUSbugk,286
|
262
256
|
cjkcms/templates/cjkcms/includes/form_honeypot.html,sha256=YlPD4-Dd4ab5_an4ztBaHC-AyoS7Si0VERlloIgPKr4,268
|
263
257
|
cjkcms/templates/cjkcms/includes/pagination.html,sha256=5zYQ0jR7HFSO-5PKunXLu69n_AHWP9A_UhCNv8E-FZE,1061
|
264
258
|
cjkcms/templates/cjkcms/includes/stream_forms/render_field.html,sha256=F3FHztOTGHd-_RexyW4x7ikfhFtESKnX2xK4aE1wJBc,532
|
@@ -296,7 +290,7 @@ cjkcms/templates/wagtailadmin/shared/cr_main_nav_2fix.html,sha256=BAhkDE8_8KbhUO
|
|
296
290
|
cjkcms/templates/wagtailadmin/tables/thumbnail_cell.html,sha256=RzMT-tBnnDOgL-zexKanZTTpCEX1bMybFL2p_zvOEV4,578
|
297
291
|
cjkcms/templatetags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
298
292
|
cjkcms/templatetags/auth_extras.py,sha256=IIxQ5n9FaQVZmhW-yW1XM5p2OjIemtqVoX-O-UcCns8,327
|
299
|
-
cjkcms/templatetags/cjkcms_tags.py,sha256=
|
293
|
+
cjkcms/templatetags/cjkcms_tags.py,sha256=f7wHKoceLNflTgeWwsyCqcx7yxP4HyQ0DJYfXo9JDEI,8362
|
300
294
|
cjkcms/templatetags/friendly_loader.py,sha256=Zwopb9NNNN6IuDJCMFlwKuhmJC0hi4uTPEZSAxeakYY,4962
|
301
295
|
cjkcms/templatetags/gravatar.py,sha256=JG5MB6HUFso15J8gZ_te5FTMYAuo4km8rzMKKvLLh-E,1127
|
302
296
|
cjkcms/templatetags/txtutils_tags.py,sha256=UMojdiLt6Jpijc-2QLusPc-qXX9bqFZf0JbqqPsfnWQ,1223
|
@@ -307,37 +301,31 @@ cjkcms/tests/test_advsettings.py,sha256=6EngxFbUtwpaKDrvdLdCR6ONfHR3K1XGpOYKZJTH
|
|
307
301
|
cjkcms/tests/test_articlepages.py,sha256=7V7tr2kCKiEU1y36PlB9yoP0tmSDb8cchf8VYof3GGM,4226
|
308
302
|
cjkcms/tests/test_bin.py,sha256=z-6vMYYqhv18UO00sUPrNpLLue0mbRr5vzqisu7UKAY,3506
|
309
303
|
cjkcms/tests/test_gravatar.py,sha256=UWu1cVi3Gj96yqeQu795gw6FVPbZ44eCkkH1NGEGgBo,2629
|
310
|
-
cjkcms/tests/test_search_blocks.py,sha256=
|
304
|
+
cjkcms/tests/test_search_blocks.py,sha256=0ARZwVOgAkoAZQFo99adt4ZpogfPwaYms6ZbbluSbmw,4919
|
311
305
|
cjkcms/tests/test_settings.py,sha256=n2B-qtaSdMJC4KuMGGx6qo5HIU73aaImbMkI_o7tK8A,2665
|
312
306
|
cjkcms/tests/test_templatetags.py,sha256=deNuZtSlr29hokn7azTyB2FhwnG3x0L13bjdHGA4jrw,5313
|
313
|
-
cjkcms/tests/test_urls.py,sha256=
|
307
|
+
cjkcms/tests/test_urls.py,sha256=v0MnVUzJmUcpnPQ0jTkslUqsj0gfbCEmyQw7_zualWk,2832
|
314
308
|
cjkcms/tests/test_webpage.py,sha256=PvXeXbawigObsdi_YpQNuHFx3Lqi6wM3ktVHZsxYbr4,1520
|
315
309
|
cjkcms/tests/urls.py,sha256=_ksKz7HBHJtQK3HxC9cmJMX_dt6n4alx3FXjcL-cu28,850
|
316
310
|
cjkcms/tests/media/images/test.original.png,sha256=nLMtadXZhXXbt6DTm5enrysKX7cfWiUudtbS2X7mSzI,1938
|
317
|
-
cjkcms/tests/media/images/
|
318
|
-
cjkcms/tests/media/images/
|
319
|
-
cjkcms/tests/media/images/
|
320
|
-
cjkcms/tests/media/images/
|
321
|
-
cjkcms/tests/media/images/test_if94VGA.original.png,sha256=nLMtadXZhXXbt6DTm5enrysKX7cfWiUudtbS2X7mSzI,1938
|
322
|
-
cjkcms/tests/media/images/test_ji9XZRF.original.png,sha256=nLMtadXZhXXbt6DTm5enrysKX7cfWiUudtbS2X7mSzI,1938
|
323
|
-
cjkcms/tests/media/images/test_rYqb9vE.original.png,sha256=nLMtadXZhXXbt6DTm5enrysKX7cfWiUudtbS2X7mSzI,1938
|
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
|
324
315
|
cjkcms/tests/media/original_images/test.png,sha256=xJDvcufuQ-AM1HT-zgMxYEORko4rdK_8MSHU-puJNW8,2306
|
325
|
-
cjkcms/tests/media/original_images/
|
326
|
-
cjkcms/tests/media/original_images/
|
327
|
-
cjkcms/tests/media/original_images/
|
328
|
-
cjkcms/tests/media/original_images/
|
329
|
-
cjkcms/tests/media/original_images/test_if94VGA.png,sha256=xJDvcufuQ-AM1HT-zgMxYEORko4rdK_8MSHU-puJNW8,2306
|
330
|
-
cjkcms/tests/media/original_images/test_ji9XZRF.png,sha256=xJDvcufuQ-AM1HT-zgMxYEORko4rdK_8MSHU-puJNW8,2306
|
331
|
-
cjkcms/tests/media/original_images/test_rYqb9vE.png,sha256=xJDvcufuQ-AM1HT-zgMxYEORko4rdK_8MSHU-puJNW8,2306
|
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
|
332
320
|
cjkcms/tests/testapp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
333
321
|
cjkcms/tests/testapp/apps.py,sha256=EwyrkWTu-_OoLoERBTlqkqfPIIrEsbHY3kbCxgrv_7I,169
|
334
322
|
cjkcms/tests/testapp/models.py,sha256=Rkn9KHrGbLzrKjP4y_gwtXma1_fJOZNU7ekb689fJEU,488
|
335
323
|
cjkcms/tests/testapp/migrations/0001_initial.py,sha256=hxr-r-42IQEGr_OsZkxXXCW7wbxAHuI_OLOkn-seJUU,4942
|
336
324
|
cjkcms/tests/testapp/migrations/0002_create_homepage.py,sha256=EfsxHh1oyqwahW9RVpTvaRDx_CHtFSJQahKEr7XC5Gg,1999
|
337
325
|
cjkcms/tests/testapp/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
338
|
-
wagtail_cjkcms-23.
|
339
|
-
wagtail_cjkcms-23.
|
340
|
-
wagtail_cjkcms-23.
|
341
|
-
wagtail_cjkcms-23.
|
342
|
-
wagtail_cjkcms-23.
|
343
|
-
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,,
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,6 +0,0 @@
|
|
1
|
-
{% load cjkcms_tags %}
|
2
|
-
{% if "BANNER"|cjkcms_settings %}
|
3
|
-
<div class="cjkcms-banner" style="background-color:{{ 'BANNER_BACKGROUND'|cjkcms_settings }}; color:{{ 'BANNER_TEXT_COLOR'|cjkcms_settings }}; width:100%; padding:4px;">
|
4
|
-
{{ "BANNER"|cjkcms_settings|safe }}
|
5
|
-
</div>
|
6
|
-
{% endif %}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|