From 1cf0364268452ccc8470d082de3abd87eda337b1 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Thu, 16 Feb 2023 16:14:06 -0600 Subject: [PATCH] move templates aroudn to satisfy packaging now that it's being tested --- MANIFEST.in | 6 ++++++ dr_botzo/settings.py | 2 +- {templates => dr_botzo/templates}/403.html | 0 {templates => dr_botzo/templates}/404.html | 0 {templates => dr_botzo/templates}/500.html | 0 {templates => dr_botzo/templates}/base.html | 0 {templates => dr_botzo/templates}/bootstrap.html | 0 {templates => dr_botzo/templates}/index.html | 0 8 files changed, 7 insertions(+), 1 deletion(-) rename {templates => dr_botzo/templates}/403.html (100%) rename {templates => dr_botzo/templates}/404.html (100%) rename {templates => dr_botzo/templates}/500.html (100%) rename {templates => dr_botzo/templates}/base.html (100%) rename {templates => dr_botzo/templates}/bootstrap.html (100%) rename {templates => dr_botzo/templates}/index.html (100%) diff --git a/MANIFEST.in b/MANIFEST.in index eea1252..48e32e6 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,8 @@ include versioneer.py include dr_botzo/_version.py +graft dr_botzo/templates +graft facts/templates +graft ircbot/templates +graft karma/templates +graft markbot/templates +graft races/templates diff --git a/dr_botzo/settings.py b/dr_botzo/settings.py index 3514198..0dd3432 100644 --- a/dr_botzo/settings.py +++ b/dr_botzo/settings.py @@ -68,7 +68,7 @@ ROOT_URLCONF = 'dr_botzo.urls' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', - 'DIRS': [os.path.join(BASE_DIR, 'templates')], + 'DIRS': [os.path.join(BASE_DIR, 'dr_botzo', 'templates')], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ diff --git a/templates/403.html b/dr_botzo/templates/403.html similarity index 100% rename from templates/403.html rename to dr_botzo/templates/403.html diff --git a/templates/404.html b/dr_botzo/templates/404.html similarity index 100% rename from templates/404.html rename to dr_botzo/templates/404.html diff --git a/templates/500.html b/dr_botzo/templates/500.html similarity index 100% rename from templates/500.html rename to dr_botzo/templates/500.html diff --git a/templates/base.html b/dr_botzo/templates/base.html similarity index 100% rename from templates/base.html rename to dr_botzo/templates/base.html diff --git a/templates/bootstrap.html b/dr_botzo/templates/bootstrap.html similarity index 100% rename from templates/bootstrap.html rename to dr_botzo/templates/bootstrap.html diff --git a/templates/index.html b/dr_botzo/templates/index.html similarity index 100% rename from templates/index.html rename to dr_botzo/templates/index.html