Remove root template dir
This commit is contained in:
parent
4ff8b64132
commit
a0e88f0f78
7 changed files with 1 additions and 5 deletions
|
@ -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
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[tool.curlylint]
|
[tool.curlylint]
|
||||||
include = '/(website|templates)/.*\.html'
|
include = '/website/.*\.html'
|
||||||
exclude = '''
|
exclude = '''
|
||||||
(
|
(
|
||||||
navbar\.html
|
navbar\.html
|
||||||
|
|
|
@ -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": [
|
||||||
|
|
Loading…
Reference in a new issue