This commit is contained in:
2024-05-16 18:42:57 +02:00
commit 5c62d24034
44 changed files with 1306 additions and 0 deletions
View File
+3
View File
@@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.
+6
View File
@@ -0,0 +1,6 @@
from django.apps import AppConfig
class AppSiteConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'app_site'
View File
+3
View File
@@ -0,0 +1,3 @@
from django.db import models
# Create your models here.
+2
View File
@@ -0,0 +1,2 @@
{% extends "app_site/layout.html" %}
+2
View File
@@ -0,0 +1,2 @@
{% extends "base.html" %}
+3
View File
@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.
+8
View File
@@ -0,0 +1,8 @@
from django.urls import path
from .views import HomeView
app_name = "app_site"
urlpatterns = [
path('', HomeView.as_view(), name='home'),
]
+5
View File
@@ -0,0 +1,5 @@
from django.views.generic import TemplateView
class HomeView(TemplateView):
template_name = "app_site/home.html"