This commit is contained in:
2024-05-16 18:41:04 +02:00
commit 1e49f104d7
41 changed files with 1196 additions and 0 deletions

0
app_site/__init__.py Normal file
View File

3
app_site/admin.py Normal file
View File

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

6
app_site/apps.py Normal file
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
app_site/models.py Normal file
View File

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

View File

@@ -0,0 +1,2 @@
{% extends "app_site/layout.html" %}

View File

@@ -0,0 +1,2 @@
{% extends "base.html" %}

3
app_site/tests.py Normal file
View File

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

8
app_site/urls.py Normal file
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
app_site/views.py Normal file
View File

@@ -0,0 +1,5 @@
from django.views.generic import TemplateView
class HomeView(TemplateView):
template_name = "app_site/home.html"