This commit is contained in:
Xevion
2020-10-31 04:32:03 -05:00
commit 67b717d10c
21 changed files with 225 additions and 0 deletions
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3
View File
@@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.
+5
View File
@@ -0,0 +1,5 @@
from django.apps import AppConfig
class ViewerConfig(AppConfig):
name = 'viewer'
View File
+3
View File
@@ -0,0 +1,3 @@
from django.db import models
# Create your models here.
+3
View File
@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.
+7
View File
@@ -0,0 +1,7 @@
from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name='index')
]
+7
View File
@@ -0,0 +1,7 @@
from django.shortcuts import render
from django.http import HttpResponse
def index(request):
"""Index view for the simple-viewer project."""
return HttpResponse('Hello, World.')