diff options
Diffstat (limited to 'admin')
-rw-r--r-- | admin/__init__.py | 0 | ||||
-rw-r--r-- | admin/models.py | 3 | ||||
-rw-r--r-- | admin/tests.py | 16 | ||||
-rw-r--r-- | admin/views.py | 1 |
4 files changed, 20 insertions, 0 deletions
diff --git a/admin/__init__.py b/admin/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/admin/__init__.py diff --git a/admin/models.py b/admin/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/admin/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/admin/tests.py b/admin/tests.py new file mode 100644 index 0000000..501deb7 --- /dev/null +++ b/admin/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/admin/views.py b/admin/views.py new file mode 100644 index 0000000..60f00ef --- /dev/null +++ b/admin/views.py @@ -0,0 +1 @@ +# Create your views here. |