From d4bf1ce33d94cade951221b6b83a92fbfba2a5e3 Mon Sep 17 00:00:00 2001 From: Matheus Lima Date: Sun, 7 Jul 2013 08:35:51 -0300 Subject: [PATCH] add core app --- volunter/volunter/app/__init__.py | 0 volunter/volunter/app/core/__init__.py | 0 volunter/volunter/app/core/models.py | 3 +++ volunter/volunter/app/core/tests.py | 16 ++++++++++++++++ volunter/volunter/app/core/views.py | 1 + 5 files changed, 20 insertions(+) create mode 100644 volunter/volunter/app/__init__.py create mode 100644 volunter/volunter/app/core/__init__.py create mode 100644 volunter/volunter/app/core/models.py create mode 100644 volunter/volunter/app/core/tests.py create mode 100644 volunter/volunter/app/core/views.py diff --git a/volunter/volunter/app/__init__.py b/volunter/volunter/app/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/volunter/volunter/app/core/__init__.py b/volunter/volunter/app/core/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/volunter/volunter/app/core/models.py b/volunter/volunter/app/core/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/volunter/volunter/app/core/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/volunter/volunter/app/core/tests.py b/volunter/volunter/app/core/tests.py new file mode 100644 index 0000000..501deb7 --- /dev/null +++ b/volunter/volunter/app/core/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/volunter/volunter/app/core/views.py b/volunter/volunter/app/core/views.py new file mode 100644 index 0000000..60f00ef --- /dev/null +++ b/volunter/volunter/app/core/views.py @@ -0,0 +1 @@ +# Create your views here.