diff --git a/app/settings.py b/app/settings.py index 6f64903..b59f1ba 100644 --- a/app/settings.py +++ b/app/settings.py @@ -39,8 +39,10 @@ INSTALLED_APPS = [ "django.contrib.staticfiles", "core", "crispy_forms", + "crispy_bulma", ] -CRISPY_TEMPLATE_PACK = "bootstrap4" +CRISPY_TEMPLATE_PACK = "bulma" +CRISPY_ALLOWED_TEMPLATE_PACKS = ("bulma",) MIDDLEWARE = [ "django.middleware.security.SecurityMiddleware", diff --git a/app/urls.py b/app/urls.py index c27a94c..4e89205 100644 --- a/app/urls.py +++ b/app/urls.py @@ -26,7 +26,7 @@ urlpatterns = [ path("", Home.as_view(), name="home"), path("callback", Callback.as_view(), name="callback"), path("billing/", Billing.as_view(), name="billing"), - path("order//", Order.as_view(), name="order"), + path("order//", Order.as_view(), name="order"), path( "success/", TemplateView.as_view(template_name="success.html"), name="success" ), diff --git a/requirements.txt b/requirements.txt index a400792..e2c90e5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,7 @@ django pre-commit django-crispy-forms +crispy-bulma opensearch-py stripe django-rest-framework