Skip to content

Commit f651864

Browse files
committed
added inventory app placeholder
1 parent 21b3a96 commit f651864

File tree

5 files changed

+21
-0
lines changed

5 files changed

+21
-0
lines changed

inventory/__init__.py

Whitespace-only changes.

inventory/models.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.db import models
2+
3+
# Create your models here.

inventory/tests.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
"""
2+
This file demonstrates writing tests using the unittest module. These will pass
3+
when you run "manage.py test".
4+
5+
Replace this with more appropriate tests for your application.
6+
"""
7+
8+
from django.test import TestCase
9+
10+
11+
class SimpleTest(TestCase):
12+
def test_basic_addition(self):
13+
"""
14+
Tests that 1 + 1 always equals 2.
15+
"""
16+
self.assertEqual(1 + 1, 2)

inventory/views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Create your views here.

meander/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117
)
118118

119119
INSTALLED_APPS = (
120+
'inventory',
120121
'django.contrib.auth',
121122
'django.contrib.contenttypes',
122123
'django.contrib.sessions',

0 commit comments

Comments
 (0)