Initial commit

This commit is contained in:
2022-03-09 11:33:05 +01:00
commit fea6cdcf96
15 changed files with 233 additions and 0 deletions

0
container/__init__.py Normal file
View File

3
container/admin.py Normal file
View File

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

6
container/apps.py Normal file
View File

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

View File

3
container/models.py Normal file
View File

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

3
container/tests.py Normal file
View File

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

8
container/urls.py Normal file
View File

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

7
container/views.py Normal file
View File

@@ -0,0 +1,7 @@
from django.shortcuts import render
from django.http import HttpResponse
def index(request):
return HttpResponse("Hello, world. You're at the container index.")