Remove root template dir

This commit is contained in:
Jake Howard 2022-08-05 08:58:21 +01:00
parent 4ff8b64132
commit a0e88f0f78
Signed by: jake
GPG Key ID: 57AFB45680EDD477
7 changed files with 1 additions and 5 deletions

View File

@ -32,7 +32,6 @@ COPY --chown=website --from=frontend ./static/build ./static/build
COPY --chown=website ./etc ./etc COPY --chown=website ./etc ./etc
COPY --chown=website ./manage.py ./manage.py COPY --chown=website ./manage.py ./manage.py
COPY --chown=website ./templates ./templates
COPY --chown=website ./website ./website COPY --chown=website ./website ./website
RUN SECRET_KEY=none python manage.py collectstatic --noinput --clear -v3 RUN SECRET_KEY=none python manage.py collectstatic --noinput --clear -v3

View File

@ -1,5 +1,5 @@
[tool.curlylint] [tool.curlylint]
include = '/(website|templates)/.*\.html' include = '/website/.*\.html'
exclude = ''' exclude = '''
( (
navbar\.html navbar\.html

View File

@ -79,9 +79,6 @@ ROOT_URLCONF = "website.urls"
TEMPLATES = [ TEMPLATES = [
{ {
"BACKEND": "django.template.backends.django.DjangoTemplates", "BACKEND": "django.template.backends.django.DjangoTemplates",
"DIRS": [
BASE_DIR / "templates",
],
"APP_DIRS": True, "APP_DIRS": True,
"OPTIONS": { "OPTIONS": {
"context_processors": [ "context_processors": [