From 301a8550f019a8c7255d6e9f9c7db8716945a781 Mon Sep 17 00:00:00 2001 From: Jonathan Peacher Date: Sun, 18 Jun 2023 09:54:02 -0500 Subject: [PATCH] feat: added project index --- projects/urls.py | 2 ++ templates/projects.html | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 templates/projects.html diff --git a/projects/urls.py b/projects/urls.py index 12c5656..373c1ef 100644 --- a/projects/urls.py +++ b/projects/urls.py @@ -16,7 +16,9 @@ Including another URLconf """ from django.contrib import admin from django.urls import path +from django.views.generic.base import TemplateView urlpatterns = [ + path('', TemplateView.as_view(template_name="projects.html")), path('admin/', admin.site.urls), ] diff --git a/templates/projects.html b/templates/projects.html new file mode 100644 index 0000000..0739ab0 --- /dev/null +++ b/templates/projects.html @@ -0,0 +1,6 @@ +{% extends 'index.html' %} + +{% block main %} +

Projects

+

TK TK TK

+{% endblock %} \ No newline at end of file