'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
+ 'core',
]
MIDDLEWARE = [
--- /dev/null
+<!doctype html>
+
+<html lang='en'>
+ <head>
+ <meta charset='utf-8'>
+ <meta name='viewport' content='width=device-width, initial-scale=1'>
+
+ <title>Climbing</title>
+ <meta name='author' content='David Kerkeslager'>
+ </head>
+
+ <body>
+ Hello, world
+ </body>
+</html>
+
from django.contrib import admin
from django.urls import path
-urlpatterns = [
+from . import views
+
+urlpatterns = (
path('admin/', admin.site.urls),
-]
+ path('', views.index),
+)
--- /dev/null
+from django.views.generic import TemplateView
+
+class IndexView(TemplateView):
+ template_name = 'core/index.html'
+
+index = IndexView.as_view()