From 764aa0439029dd4003364f1c95c54a00f4658f4a Mon Sep 17 00:00:00 2001 From: Barunes Padhy Date: Sun, 9 Jun 2024 18:40:01 +0300 Subject: [PATCH] create template for frontend --- backend/backend/settings.py | 2 +- backend/templates/index.html | 14 ++++++++++++++ backend/templates/main.html | 10 ---------- 3 files changed, 15 insertions(+), 11 deletions(-) create mode 100644 backend/templates/index.html delete mode 100644 backend/templates/main.html diff --git a/backend/backend/settings.py b/backend/backend/settings.py index 937d8ff..ebba964 100644 --- a/backend/backend/settings.py +++ b/backend/backend/settings.py @@ -66,7 +66,7 @@ ROOT_URLCONF = 'backend.urls' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', - 'DIRS': [os.path.join(BASE_DIR, '../frontend/editable-ui/dist')], + 'DIRS': [os.path.join(BASE_DIR, 'templates')], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ diff --git a/backend/templates/index.html b/backend/templates/index.html new file mode 100644 index 0000000..f333a54 --- /dev/null +++ b/backend/templates/index.html @@ -0,0 +1,14 @@ + + + + + + + Rangolio + + + + +
+ + \ No newline at end of file diff --git a/backend/templates/main.html b/backend/templates/main.html deleted file mode 100644 index dde5e4d..0000000 --- a/backend/templates/main.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - -

Hi

- -