adding a sample project
This commit is contained in:
0
viz/__init__.py
Normal file
0
viz/__init__.py
Normal file
3
viz/admin.py
Normal file
3
viz/admin.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
3
viz/models.py
Normal file
3
viz/models.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
1
viz/templates/index.html
Normal file
1
viz/templates/index.html
Normal file
@@ -0,0 +1 @@
|
||||
Hello, world. You're at the viz index.
|
||||
3
viz/tests.py
Normal file
3
viz/tests.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
6
viz/views.py
Normal file
6
viz/views.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
|
||||
def index(request):
|
||||
context = {}
|
||||
return render(request, 'index.html', context)
|
||||
Reference in New Issue
Block a user