diff --git a/tldtest/settings.py b/tldtest/settings.py index 13f8445..b36936b 100644 --- a/tldtest/settings.py +++ b/tldtest/settings.py @@ -38,7 +38,7 @@ INSTALLED_APPS = [ 'django.contrib.messages', 'django.contrib.staticfiles', 'admin_extra_buttons', - 'tldtester', + 'tldtester.apps.TldtesterConfig', ] MIDDLEWARE = [ @@ -56,7 +56,7 @@ ROOT_URLCONF = 'tldtest.urls' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', - "DIRS": [BASE_DIR / "templates"], + "DIRS": [], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ diff --git a/tldtest/views.py b/tldtest/views.py index 0415afc..8959dc2 100644 --- a/tldtest/views.py +++ b/tldtest/views.py @@ -5,6 +5,7 @@ from django.views.generic import TemplateView class Index(TemplateView): template_name = 'index.html' + """ def handler404(request): return render(request, '404.html', status=404) @@ -13,4 +14,4 @@ def handler404(request): def handler500(request): return render(request, '500.html', status=500) -""" \ No newline at end of file +"""