update code and fix errors
update code and fix errors
This commit is contained in:
0
apps/website/__init__.py
Normal file
0
apps/website/__init__.py
Normal file
3
apps/website/admin.py
Normal file
3
apps/website/admin.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
6
apps/website/apps.py
Normal file
6
apps/website/apps.py
Normal file
@ -0,0 +1,6 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class WebsiteConfig(AppConfig):
|
||||
default_auto_field = "django.db.models.BigAutoField"
|
||||
name = "app.website"
|
0
apps/website/migrations/__init__.py
Normal file
0
apps/website/migrations/__init__.py
Normal file
3
apps/website/models.py
Normal file
3
apps/website/models.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
1
apps/website/templates/home.html
Normal file
1
apps/website/templates/home.html
Normal file
@ -0,0 +1 @@
|
||||
<h1>Hi</h1>
|
5
apps/website/views.py
Normal file
5
apps/website/views.py
Normal file
@ -0,0 +1,5 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
def home(request):
|
||||
return render(request, "home.html")
|
Reference in New Issue
Block a user