focomy 0.1.111__py3-none-any.whl → 0.1.113__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.
- core/api/forms.py +3 -3
- core/engine/routes.py +6 -0
- {focomy-0.1.111.dist-info → focomy-0.1.113.dist-info}/METADATA +1 -1
- {focomy-0.1.111.dist-info → focomy-0.1.113.dist-info}/RECORD +7 -7
- {focomy-0.1.111.dist-info → focomy-0.1.113.dist-info}/WHEEL +0 -0
- {focomy-0.1.111.dist-info → focomy-0.1.113.dist-info}/entry_points.txt +0 -0
- {focomy-0.1.111.dist-info → focomy-0.1.113.dist-info}/licenses/LICENSE +0 -0
core/api/forms.py
CHANGED
|
@@ -9,7 +9,7 @@ from pydantic import BaseModel
|
|
|
9
9
|
from sqlalchemy.ext.asyncio import AsyncSession
|
|
10
10
|
|
|
11
11
|
from ..database import get_db
|
|
12
|
-
from ..engine.routes import
|
|
12
|
+
from ..engine.routes import render_theme
|
|
13
13
|
from ..rate_limit import limiter
|
|
14
14
|
from ..services.entity import EntityService
|
|
15
15
|
from ..services.mail import mail_service
|
|
@@ -64,7 +64,7 @@ async def view_form(
|
|
|
64
64
|
steps = []
|
|
65
65
|
|
|
66
66
|
# Render form template (with admin bar context)
|
|
67
|
-
html = await
|
|
67
|
+
html = await render_theme(
|
|
68
68
|
db,
|
|
69
69
|
"form.html",
|
|
70
70
|
{
|
|
@@ -167,7 +167,7 @@ async def submit_form(
|
|
|
167
167
|
return {"success": True, "message": success_message}
|
|
168
168
|
|
|
169
169
|
# Render success page (with admin bar context)
|
|
170
|
-
html = await
|
|
170
|
+
html = await render_theme(
|
|
171
171
|
db,
|
|
172
172
|
"form_success.html",
|
|
173
173
|
{
|
core/engine/routes.py
CHANGED
|
@@ -452,6 +452,8 @@ async def view_category(
|
|
|
452
452
|
**seo_ctx,
|
|
453
453
|
},
|
|
454
454
|
request=request,
|
|
455
|
+
entity=category,
|
|
456
|
+
content_type="category",
|
|
455
457
|
)
|
|
456
458
|
|
|
457
459
|
return HTMLResponse(content=html)
|
|
@@ -664,6 +666,8 @@ async def channel_list(
|
|
|
664
666
|
**breadcrumb_data,
|
|
665
667
|
},
|
|
666
668
|
request=request,
|
|
669
|
+
entity=channel,
|
|
670
|
+
content_type="channel",
|
|
667
671
|
)
|
|
668
672
|
return HTMLResponse(content=html)
|
|
669
673
|
|
|
@@ -921,6 +925,8 @@ async def series_list(
|
|
|
921
925
|
**breadcrumb_data,
|
|
922
926
|
},
|
|
923
927
|
request=request,
|
|
928
|
+
entity=series,
|
|
929
|
+
content_type="series",
|
|
924
930
|
)
|
|
925
931
|
return HTMLResponse(content=html)
|
|
926
932
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: focomy
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.113
|
|
4
4
|
Summary: The Most Beautiful CMS - A metadata-driven, zero-duplicate-code content management system
|
|
5
5
|
Project-URL: Homepage, https://github.com/focomy/focomy
|
|
6
6
|
Project-URL: Documentation, https://focomy.dev/docs
|
|
@@ -13,7 +13,7 @@ core/api/__init__.py,sha256=H1StbYGDVRS6g-Jk3UUf17ibAz1K8IUa27NfPMkaNrA,19
|
|
|
13
13
|
core/api/auth.py,sha256=Zb37IHcUSjf8_hXiVzhoZPQw6WAiOOS_AoMqE96yat8,11565
|
|
14
14
|
core/api/comments.py,sha256=Eu_0a_JqgiOP1GPsPoslxDztkCv_M324x9qAuBOWPOE,8397
|
|
15
15
|
core/api/entities.py,sha256=sAS12hgjt0Zgudrq2BzfXdCU25myh-8whUxsU_z_jt8,11766
|
|
16
|
-
core/api/forms.py,sha256=
|
|
16
|
+
core/api/forms.py,sha256=uApPZPxSvZbyEPLI1e7DSDHU1Oh6oaSbyHLN1cxoa88,5000
|
|
17
17
|
core/api/media.py,sha256=iCsgRBS_-raYK99sksudyAINnTWFl1GhTMBaXJGWkek,6767
|
|
18
18
|
core/api/relations.py,sha256=sErG5lNLBjmWZ5qSXyhGkU7F8iVZAYpFc-_5mY3ZkzU,4874
|
|
19
19
|
core/api/revisions.py,sha256=8BJXtCsq8OJV1R5s33bl369lQrRDNkztWoS0tX70uAA,6960
|
|
@@ -44,7 +44,7 @@ core/content_types/user.yaml,sha256=y3SwqzIc9_6C7R1GULk7AwYJPxcTT38ZmZe4_wekfyU,
|
|
|
44
44
|
core/content_types/widget.yaml,sha256=Jotbts5QQtHaF2bJWQL3rkEoCkp_aq_A3gN-58eJwv8,1454
|
|
45
45
|
core/content_types/workflow_history.yaml,sha256=3wi58LNLYbk7t6Z2QDRi9whQSedJCXKVKuyBhixNUK0,518
|
|
46
46
|
core/engine/__init__.py,sha256=ycR0Kdn6buwdCH6QFG8bV69wFciFSKEg9Ro26cHpa2U,83
|
|
47
|
-
core/engine/routes.py,sha256=
|
|
47
|
+
core/engine/routes.py,sha256=gXqqz6m1A-VY8tcZJdAcIyi_mSehqgeYwmXG4Ym8d-w,42400
|
|
48
48
|
core/migrations/env.py,sha256=1dLI8qcGojLDR_--MdgwP5q-V0p2Z-32klSPjokXx4M,1389
|
|
49
49
|
core/migrations/script.py.mako,sha256=LyYLSC7HzBBGwHZ8s2SguBPMXsWCph0FJp49kPsGhU8,590
|
|
50
50
|
core/migrations/versions/2038bdf6693b_add_import_jobs_table.py,sha256=v8lPC5WmwpUfHUG_YgQn6jepPtfKWFn0JIj9XvD9224,2325
|
|
@@ -201,8 +201,8 @@ themes/minimal/templates/base.html,sha256=LFkx-XLDMGH7oFHHa0e6KPB0DJITOBvr6GtPkD
|
|
|
201
201
|
themes/minimal/templates/home.html,sha256=ygYQgYj1OGCiKwmfsxwkPselVKT8vDH3jLLbfphpqKI,1577
|
|
202
202
|
themes/minimal/templates/page.html,sha256=7Xcoq-ryaxlp913H2S1ishrAro2wsqqGmvsm1osXxd4,389
|
|
203
203
|
themes/minimal/templates/post.html,sha256=FkTRHci8HNIIi3DU6Mb3oL0aDisGyDcsT_IUDwHmrvo,1387
|
|
204
|
-
focomy-0.1.
|
|
205
|
-
focomy-0.1.
|
|
206
|
-
focomy-0.1.
|
|
207
|
-
focomy-0.1.
|
|
208
|
-
focomy-0.1.
|
|
204
|
+
focomy-0.1.113.dist-info/METADATA,sha256=e8me8ZTyaexIU_y4SvXEnA2Svc1dKHZbbeGALsab2FA,7042
|
|
205
|
+
focomy-0.1.113.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
206
|
+
focomy-0.1.113.dist-info/entry_points.txt,sha256=_rF-wxGI1axY7gox3DBsTLHq-JrFKkMCjA65a6b_oqE,41
|
|
207
|
+
focomy-0.1.113.dist-info/licenses/LICENSE,sha256=z9Z7gN7NNV7zYCaY-Knh3bv8RBCu89VueYtAlN_-lro,1063
|
|
208
|
+
focomy-0.1.113.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|