mirror of
https://github.com/Xevion/simple-viewer.git
synced 2026-01-31 00:25:55 -06:00
git init
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
@@ -0,0 +1,5 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class ViewerConfig(AppConfig):
|
||||
name = 'viewer'
|
||||
@@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
@@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
@@ -0,0 +1,7 @@
|
||||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('', views.index, name='index')
|
||||
]
|
||||
@@ -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.')
|
||||
Reference in New Issue
Block a user