Setup Mariadb

This commit is contained in:
Johannes Randerath
2024-05-31 22:32:30 +02:00
parent 1b0d8a2ce9
commit a18927bad1
19 changed files with 233 additions and 3 deletions

View File

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

View File

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

View File

@@ -0,0 +1,3 @@
from django.db import models

View File

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

View File

@@ -0,0 +1,6 @@
from django.urls import path
from . import views
urlpatterns = [
path("", views.index, name="index"),
]

View File

@@ -0,0 +1,6 @@
from django.shortcuts import render
from django.http import HttpResponse
def index(request):
return HttpResponse("Test")