add: template editor

This commit is contained in:
h z
2025-04-14 17:02:22 +01:00
parent 6626fac452
commit fa855bc7bb
20 changed files with 442 additions and 299 deletions

View File

@@ -28,9 +28,9 @@ class Markdown(Base):
}
__payload__ = {
'dev': [
{'id': 1, 'title': 'index', 'content': ' ', 'created_at': datetime.datetime.utcnow, 'path_id': 1 },
{'id': 1, 'title': 'index', 'content': '{"markdown": ""}', 'created_at': datetime.datetime.utcnow, 'path_id': 1 },
],
'prod': [
{'id': 1, 'title': 'index', 'content': ' ', 'created_at': datetime.datetime.utcnow, 'path_id': 1},
{'id': 1, 'title': 'index', 'content': '{"markdown": ""}', 'created_at': datetime.datetime.utcnow, 'path_id': 1},
]
}