Added cmdb-app
This commit is contained in:
parent
ab8d924cc1
commit
07521b675c
4 changed files with 20 additions and 0 deletions
0
cmdb/__init__.py
Normal file
0
cmdb/__init__.py
Normal file
3
cmdb/models.py
Normal file
3
cmdb/models.py
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
from django.db import models
|
||||||
|
|
||||||
|
# Create your models here.
|
||||||
16
cmdb/tests.py
Normal file
16
cmdb/tests.py
Normal file
|
|
@ -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)
|
||||||
1
cmdb/views.py
Normal file
1
cmdb/views.py
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
# Create your views here.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue