diff options
| author | fschildt <florian.schildt@protonmail.com> | 2025-10-17 14:00:16 +0200 | 
|---|---|---|
| committer | fschildt <florian.schildt@protonmail.com> | 2025-10-17 14:00:16 +0200 | 
| commit | d1e59579ca19454369d56a8c7525e109a86841e2 (patch) | |
| tree | 695f348acca3a32c97512685384da818a3ba5195 /apps/home | |
first commit
Diffstat (limited to 'apps/home')
| -rw-r--r-- | apps/home/__init__.py | 0 | ||||
| -rw-r--r-- | apps/home/admin.py | 3 | ||||
| -rw-r--r-- | apps/home/apps.py | 6 | ||||
| -rw-r--r-- | apps/home/migrations/__init__.py | 0 | ||||
| -rw-r--r-- | apps/home/models.py | 2 | ||||
| -rw-r--r-- | apps/home/templates/index.html | 14 | ||||
| -rw-r--r-- | apps/home/tests.py | 3 | ||||
| -rw-r--r-- | apps/home/urls.py | 7 | ||||
| -rw-r--r-- | apps/home/views.py | 7 | 
9 files changed, 42 insertions, 0 deletions
diff --git a/apps/home/__init__.py b/apps/home/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/apps/home/__init__.py diff --git a/apps/home/admin.py b/apps/home/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/apps/home/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/apps/home/apps.py b/apps/home/apps.py new file mode 100644 index 0000000..c11732f --- /dev/null +++ b/apps/home/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class HomeConfig(AppConfig): +    default_auto_field = 'django.db.models.BigAutoField' +    name = 'apps.home' diff --git a/apps/home/migrations/__init__.py b/apps/home/migrations/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/apps/home/migrations/__init__.py diff --git a/apps/home/models.py b/apps/home/models.py new file mode 100644 index 0000000..beeb308 --- /dev/null +++ b/apps/home/models.py @@ -0,0 +1,2 @@ +from django.db import models + diff --git a/apps/home/templates/index.html b/apps/home/templates/index.html new file mode 100644 index 0000000..f3b97e2 --- /dev/null +++ b/apps/home/templates/index.html @@ -0,0 +1,14 @@ +{% extends 'base.html' %} + +{% block title %}Home{% endblock %} + +{% block content %} +    <h1>Welcome to my Website!</h1> +    <h2>Programs</h2> +    <p><a href="https://git.schildt.xyz/fscord/about">fscord (Chat Client/Server)</a></p> +    <p><a href="https://git.schildt.xyz/fsarcade/about">fsarcade (Games: Tetris, Snake, Minesweeper)</a></p> +    <h2>Donations</h2> +    <p>XMR: 876bxaEVzSL7w6hMMbxzo3EofakfFfHbP4etxYgPcX9bQnnik26TPFH85iMvaX4j6xM7312iRVPrtGKiC6unR8251ZWi1Fy</p> +    <p>BTC: bc1quavtkgtkephly8769lyqsx6ja002y5srgjj6sq</p> +{% endblock %} + diff --git a/apps/home/tests.py b/apps/home/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/apps/home/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/apps/home/urls.py b/apps/home/urls.py new file mode 100644 index 0000000..5119061 --- /dev/null +++ b/apps/home/urls.py @@ -0,0 +1,7 @@ +from django.urls import path + +from . import views + +urlpatterns = [ +    path("", views.index, name="index"), +] diff --git a/apps/home/views.py b/apps/home/views.py new file mode 100644 index 0000000..714ba06 --- /dev/null +++ b/apps/home/views.py @@ -0,0 +1,7 @@ +from django.shortcuts import render + + +def index(request): +    context = {} +    return render(request, 'index.html', context) +  | 
