Commits

danjac  committed 21c5e53

Added example test and empty models.py to main app

  • Participants
  • Parent commits b7f0241

Comments (0)

Files changed (3)

File project_name/models.py

+

File project_name/settings/base.py

     'sorl.thumbnail',
 
     # my apps
+
+    # main app
     '{{ project_name }}',
 
+    # sub-applications
     #'{{ project_name }}.apps.foo',
+
+    
 )
 
 # A sample logging configuration. The only tangible logging

File project_name/tests.py

+from django.test import TestCase
+
+
+class HomePageTests(TestCase):
+    def test_home_page(self):
+
+        response = self.client.get("/")
+        self.assertEqual(response.status_code, 200)