Add Bulma to settings

This commit is contained in:
Mark Veidemanis 2022-07-21 13:49:06 +01:00
parent 5b77858c78
commit 67ea926c96
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
3 changed files with 5 additions and 2 deletions

View File

@ -39,8 +39,10 @@ INSTALLED_APPS = [
"django.contrib.staticfiles", "django.contrib.staticfiles",
"core", "core",
"crispy_forms", "crispy_forms",
"crispy_bulma",
] ]
CRISPY_TEMPLATE_PACK = "bootstrap4" CRISPY_TEMPLATE_PACK = "bulma"
CRISPY_ALLOWED_TEMPLATE_PACKS = ("bulma",)
MIDDLEWARE = [ MIDDLEWARE = [
"django.middleware.security.SecurityMiddleware", "django.middleware.security.SecurityMiddleware",

View File

@ -26,7 +26,7 @@ urlpatterns = [
path("", Home.as_view(), name="home"), path("", Home.as_view(), name="home"),
path("callback", Callback.as_view(), name="callback"), path("callback", Callback.as_view(), name="callback"),
path("billing/", Billing.as_view(), name="billing"), path("billing/", Billing.as_view(), name="billing"),
path("order/<str:product_id>/", Order.as_view(), name="order"), path("order/<str:plan_name>/", Order.as_view(), name="order"),
path( path(
"success/", TemplateView.as_view(template_name="success.html"), name="success" "success/", TemplateView.as_view(template_name="success.html"), name="success"
), ),

View File

@ -1,6 +1,7 @@
django django
pre-commit pre-commit
django-crispy-forms django-crispy-forms
crispy-bulma
opensearch-py opensearch-py
stripe stripe
django-rest-framework django-rest-framework