update code and fix errors

update code and fix errors
This commit is contained in:
jnfire
2022-08-02 08:56:21 +02:00
parent fc650af1b7
commit ae2758a44f
18 changed files with 72 additions and 59 deletions

0
apps/website/__init__.py Normal file
View File

3
apps/website/admin.py Normal file
View File

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

6
apps/website/apps.py Normal file
View File

@ -0,0 +1,6 @@
from django.apps import AppConfig
class WebsiteConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "app.website"

View File

3
apps/website/models.py Normal file
View File

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

View File

@ -0,0 +1 @@
<h1>Hi</h1>

5
apps/website/views.py Normal file
View File

@ -0,0 +1,5 @@
from django.shortcuts import render
# Create your views here.
def home(request):
return render(request, "home.html")