added person app
All checks were successful
Django Backend Validation / build (debian-latest, 3.10) (push) Successful in 29s
Django Backend Validation / build (debian-latest, 3.11) (push) Successful in 24s
Django Backend Validation / build (debian-latest, 3.12) (push) Successful in 19s
Django Backend Validation / build (ubuntu-latest, 3.10) (push) Successful in 12s
Django Backend Validation / build (ubuntu-latest, 3.11) (push) Successful in 12s
Django Backend Validation / build (ubuntu-latest, 3.12) (push) Successful in 13s

Signed-off-by: Jochen Mehlich <coding@jochenmehlich.de>
This commit is contained in:
Jochen Mehlich 2024-09-03 16:24:44 +02:00
parent efc9b8e10b
commit c4fe55246b
8 changed files with 19 additions and 1 deletions

0
person/__init__.py Normal file
View File

3
person/admin.py Normal file
View File

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

6
person/apps.py Normal file
View File

@ -0,0 +1,6 @@
from django.apps import AppConfig
class PersonConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'person'

View File

3
person/models.py Normal file
View File

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

3
person/tests.py Normal file
View File

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

3
person/views.py Normal file
View File

@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.

View File

@ -45,4 +45,4 @@ def register(request):
def logout(request):
dauth.logout(request)
return redirect("/")
return redirect("/")