diff options
Diffstat (limited to 'rrd')
-rw-r--r-- | rrd/__init__.py | 0 | ||||
-rw-r--r-- | rrd/admin.py | 3 | ||||
-rw-r--r-- | rrd/apps.py | 6 | ||||
-rw-r--r-- | rrd/migrations/__init__.py | 0 | ||||
-rw-r--r-- | rrd/models.py | 3 | ||||
-rw-r--r-- | rrd/tests.py | 3 | ||||
-rw-r--r-- | rrd/urls.py | 7 | ||||
-rw-r--r-- | rrd/views.py | 7 |
8 files changed, 29 insertions, 0 deletions
diff --git a/rrd/__init__.py b/rrd/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/rrd/__init__.py diff --git a/rrd/admin.py b/rrd/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/rrd/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/rrd/apps.py b/rrd/apps.py new file mode 100644 index 0000000..ef97edc --- /dev/null +++ b/rrd/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class RrdConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'rrd' diff --git a/rrd/migrations/__init__.py b/rrd/migrations/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/rrd/migrations/__init__.py diff --git a/rrd/models.py b/rrd/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/rrd/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/rrd/tests.py b/rrd/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/rrd/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/rrd/urls.py b/rrd/urls.py new file mode 100644 index 0000000..5119061 --- /dev/null +++ b/rrd/urls.py @@ -0,0 +1,7 @@ +from django.urls import path + +from . import views + +urlpatterns = [ + path("", views.index, name="index"), +] diff --git a/rrd/views.py b/rrd/views.py new file mode 100644 index 0000000..5357b77 --- /dev/null +++ b/rrd/views.py @@ -0,0 +1,7 @@ +import django.http +from django.shortcuts import render + +# Create your views here. + +def index(request): + return django.http.HttpResponse("Hello, World") |