diff --git a/sample_project/settings.py b/sample_project/settings.py index e5ee126d3..6b8a7c178 100644 --- a/sample_project/settings.py +++ b/sample_project/settings.py @@ -16,6 +16,7 @@ "django.contrib.sessions", "django.contrib.messages", "django.contrib.staticfiles", + "apis_core.core", "apis_core.apis_metainfo", "apis_core.apis_relations", "apis_core.apis_entities", @@ -25,6 +26,7 @@ "apis_core.history", # ui stuff "crispy_forms", + "crispy_bootstrap4", "django_filters", "django_tables2", "dal", @@ -47,7 +49,8 @@ "django.middleware.clickjacking.XFrameOptionsMiddleware", ] -ROOT_URLCONF = "apis_core.urls" +# ROOT_URLCONF = "apis_core.urls" +ROOT_URLCONF = "sample_project.urls" TEMPLATES = [ { @@ -76,3 +79,5 @@ "NAME": "/tmp/db.sqlite3", }, } + +CRISPY_TEMPLATE_PACK = "bootstrap4" diff --git a/sample_project/urls.py b/sample_project/urls.py new file mode 100644 index 000000000..f623bfc9a --- /dev/null +++ b/sample_project/urls.py @@ -0,0 +1,3 @@ +from django.urls import include, path + +urlpatterns = [path("apis/", include("apis_core.urls", namespace="apis"))]