Commits

Mario César Señoranis Ayala committed 6c9b0b8

Solve settings and added process app

Comments (0)

Files changed (6)

 ^\.project$
 ^\.pydevproject$
 ^\.settings
-^project/localsettings.py$
+^.*/localsettings.py$
 ^var
 ^docs/.*/_build

pro2/process/__init__.py

Empty file added.

pro2/process/models.py

+from django.db import models
+
+# Create your models here.

pro2/process/tests.py

+"""
+This file demonstrates two different styles of tests (one doctest and one
+unittest). These will both pass when you run "manage.py test".
+
+Replace these 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.failUnlessEqual(1 + 1, 2)
+
+__test__ = {"doctest": """
+Another way to test that 1 + 1 is equal to 2.
+
+>>> 1 + 1 == 2
+True
+"""}
+

pro2/process/views.py

+# Create your views here.
     'django.contrib.admindocs',
     'django.contrib.databrowse',
     'django.contrib.humanize',
-    'project.projects'
+    'pro2.projects',
+    'pro2.process'
 )
 
 try: