Skip to content

Commit 4d352bb

Browse files
committed
Move shared HTML templates to shared-templates folder and convert apps to use symlinks
- Created shared-templates folder with common, postgres, and mongo subfolders - Converted all sample apps to use symlinks pointing to shared templates - Postgres apps (flask-postgres, flask-postgres-gevent, flask-postgres-xml, starlette-postgres-uvicorn, quart-postgres-uvicorn, fastapi-postgres-uvicorn) now use postgres shared templates - MySQL/MSSQL/Clickhouse apps (flask-mysql, flask-mysql-uwsgi, flask-mssql, flask-clickhouse-uwsgi) now use common shared templates - Mongo apps (flask-mongo, quart-mongo) now use mongo shared templates - App-specific templates (flask-mysql extra templates, flask-postgres-xml/xml.html) left unchanged This reduces duplication and makes it easier to maintain consistent templates across all sample applications.
1 parent 5fde3b6 commit 4d352bb

49 files changed

Lines changed: 387 additions & 1173 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

sample-apps/fastapi-postgres-uvicorn/templates/create_dog.html

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../shared-templates/postgres/create_dog.html

sample-apps/fastapi-postgres-uvicorn/templates/dogpage.html

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../shared-templates/postgres/dogpage.html

sample-apps/fastapi-postgres-uvicorn/templates/index.html

Lines changed: 0 additions & 48 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../shared-templates/postgres/index.html

sample-apps/flask-clickhouse-uwsgi/templates/create_dog.html

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../shared-templates/common/create_dog.html

sample-apps/flask-clickhouse-uwsgi/templates/dogpage.html

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../shared-templates/common/dogpage.html

0 commit comments

Comments
 (0)