This commit is contained in:
2023-01-01 19:51:38 +01:00
commit dca8c8b4f0
39 changed files with 697 additions and 0 deletions

View File

View File

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

View File

@ -0,0 +1,6 @@
from django.apps import AppConfig
class DefaultConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'default'

View File

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

View File

@ -0,0 +1,5 @@
{% extends "base.html" %}
{% block content %}
<h1>About HV3</h1>
{% endblock content %}

View File

@ -0,0 +1,5 @@
{% extends "base.html" %}
{% block content %}
<h1>HV3</h1>
{% endblock content %}

View File

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

View File

@ -0,0 +1,8 @@
from django.urls import path
from .views import HomePageView, AboutPageView
urlpatterns = [
path("", HomePageView.as_view(), name="home"),
path("about/", AboutPageView.as_view(), name="about"),
]

View File

@ -0,0 +1,9 @@
from django.shortcuts import render
from django.views.generic import TemplateView
# Create your views here.
class HomePageView(TemplateView):
template_name = "home.html"
class AboutPageView(TemplateView):
template_name = "about.html"