From: David ‘Bombe’ Roden Date: Wed, 8 May 2013 20:02:17 +0000 (+0200) Subject: Add skeleton for main application. X-Git-Url: https://git.pterodactylus.net/?p=demoscenemusic.git;a=commitdiff_plain;h=09c2b8d7db9ffcfeff7d53e1d91ab94e5ec32777 Add skeleton for main application. --- diff --git a/data/__init__.py b/data/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/data/models.py b/data/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/data/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/data/tests.py b/data/tests.py new file mode 100644 index 0000000..501deb7 --- /dev/null +++ b/data/tests.py @@ -0,0 +1,16 @@ +""" +This file demonstrates writing tests using the unittest module. These will pass +when you run "manage.py test". + +Replace this with more appropriate tests for your application. +""" + +from django.test import TestCase + + +class SimpleTest(TestCase): + def test_basic_addition(self): + """ + Tests that 1 + 1 always equals 2. + """ + self.assertEqual(1 + 1, 2) diff --git a/data/views.py b/data/views.py new file mode 100644 index 0000000..60f00ef --- /dev/null +++ b/data/views.py @@ -0,0 +1 @@ +# Create your views here.