diff options
author | Jayaram Pai | 2013-10-24 12:49:35 +0530 |
---|---|---|
committer | Jayaram Pai | 2013-10-24 12:49:35 +0530 |
commit | 3b8fb4cc0501db49c7d1d3954b35138cbc6eb3b0 (patch) | |
tree | 922996e0787a8684928a728a5f05bf3bb92abaaf /website | |
download | pyfoss-3b8fb4cc0501db49c7d1d3954b35138cbc6eb3b0.tar.gz pyfoss-3b8fb4cc0501db49c7d1d3954b35138cbc6eb3b0.tar.bz2 pyfoss-3b8fb4cc0501db49c7d1d3954b35138cbc6eb3b0.zip |
Initial Commit
Diffstat (limited to 'website')
-rw-r--r-- | website/__init__.py | 0 | ||||
-rw-r--r-- | website/models.py | 3 | ||||
-rw-r--r-- | website/tests.py | 16 | ||||
-rw-r--r-- | website/views.py | 1 |
4 files changed, 20 insertions, 0 deletions
diff --git a/website/__init__.py b/website/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/website/__init__.py diff --git a/website/models.py b/website/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/website/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/website/tests.py b/website/tests.py new file mode 100644 index 0000000..501deb7 --- /dev/null +++ b/website/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/website/views.py b/website/views.py new file mode 100644 index 0000000..60f00ef --- /dev/null +++ b/website/views.py @@ -0,0 +1 @@ +# Create your views here. |