replace slippers with django-cotton
All checks were successful
Django CI/CD / test (push) Successful in 59s
Django CI/CD / build-and-push (push) Successful in 2m4s

main reason: slippers cannot pass request via context inside its
components, making it annoying to use template takes that take request.
more reasons: not actively worked on, no named slots, having to define
components in components.yaml + new components do not get registered
without restarting server
This commit is contained in:
2024-09-02 17:43:41 +02:00
parent 9af4c79947
commit b8258e2937
32 changed files with 152 additions and 124 deletions

View File

@ -41,7 +41,7 @@ INSTALLED_APPS = [
"template_partials",
"graphene_django",
"django_htmx",
"slippers",
"django_cotton",
]
GRAPHENE = {"SCHEMA": "games.schema.schema"}
@ -87,7 +87,6 @@ TEMPLATES = [
],
"builtins": [
"template_partials.templatetags.partials",
"slippers.templatetags.slippers",
],
},
},