Initial commit

Sets up basic Django app directory structure.
This commit is contained in:
Chris
2018-05-09 21:51:26 -04:00
commit 1f63c2d2e7
16 changed files with 214 additions and 0 deletions

0
spotifyvis/__init__.py Normal file
View File

3
spotifyvis/admin.py Normal file
View File

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

5
spotifyvis/apps.py Normal file
View File

@@ -0,0 +1,5 @@
from django.apps import AppConfig
class SpotifyvisConfig(AppConfig):
name = 'spotifyvis'

View File

3
spotifyvis/models.py Normal file
View File

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

3
spotifyvis/tests.py Normal file
View File

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

6
spotifyvis/urls.py Normal file
View File

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

6
spotifyvis/views.py Normal file
View File

@@ -0,0 +1,6 @@
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(request):
return HttpResponse("You're at the index")