From 272a16400c9aeee9e10a6bf912439110612f76f3 Mon Sep 17 00:00:00 2001 From: Will Abbott Date: Sun, 29 Sep 2024 17:08:14 +0100 Subject: [PATCH] cleanup --- dev/example_project/render_load_test.py | 16 ++++++++-------- .../docs_project/templates/compiler.html | 1 - .../templates/cotton/compiler/comp.html | 3 --- docs/docs_project/docs_project/urls.py | 1 - 4 files changed, 8 insertions(+), 13 deletions(-) delete mode 100644 docs/docs_project/docs_project/templates/compiler.html delete mode 100644 docs/docs_project/docs_project/templates/cotton/compiler/comp.html diff --git a/dev/example_project/render_load_test.py b/dev/example_project/render_load_test.py index 4264100..d39863a 100644 --- a/dev/example_project/render_load_test.py +++ b/dev/example_project/render_load_test.py @@ -22,14 +22,14 @@ def configure_django(): "DIRS": ["example_project/templates"], "OPTIONS": { "loaders": [ - # ( - # "django.template.loaders.cached.Loader", - # [ - "django_cotton.cotton_loader.Loader", - "django.template.loaders.filesystem.Loader", - "django.template.loaders.app_directories.Loader", - # ], - # ), + ( + "django.template.loaders.cached.Loader", + [ + "django_cotton.cotton_loader.Loader", + "django.template.loaders.filesystem.Loader", + "django.template.loaders.app_directories.Loader", + ], + ), ], "builtins": [ "django_cotton.templatetags.cotton", diff --git a/docs/docs_project/docs_project/templates/compiler.html b/docs/docs_project/docs_project/templates/compiler.html deleted file mode 100644 index 0bd8c90..0000000 --- a/docs/docs_project/docs_project/templates/compiler.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/docs_project/docs_project/templates/cotton/compiler/comp.html b/docs/docs_project/docs_project/templates/cotton/compiler/comp.html deleted file mode 100644 index 0013731..0000000 --- a/docs/docs_project/docs_project/templates/cotton/compiler/comp.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ simple }} - -{{ complex }} \ No newline at end of file diff --git a/docs/docs_project/docs_project/urls.py b/docs/docs_project/docs_project/urls.py index 7e32c52..8997663 100644 --- a/docs/docs_project/docs_project/urls.py +++ b/docs/docs_project/docs_project/urls.py @@ -2,7 +2,6 @@ from django.urls import path urlpatterns = [ - path("compiler", views.build_view("compiler"), name="compiler"), path( "", views.build_view(