hello world working and Linter
This commit is contained in:
parent
4d76891d1b
commit
8ca9715ebd
|
@ -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': [
|
||||
|
|
|
@ -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)
|
||||
|
||||
"""
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue