aboutsummaryrefslogtreecommitdiffstats
path: root/apps/troubleshooting
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-11-17 19:15:30 +0200
committerFilipp Lepalaan <f@230.to>2013-11-17 19:15:30 +0200
commit297419f370ea87458017ee506a2e551e9068b66b (patch)
tree429d3e1b6c7f2facfb3e361b4b708f0d36e8aac8 /apps/troubleshooting
parentf077badf3163fc36c111dc45fe8d7d6f57d8712a (diff)
downloadmotor.old-297419f370ea87458017ee506a2e551e9068b66b.tar.gz
motor.old-297419f370ea87458017ee506a2e551e9068b66b.tar.bz2
motor.old-297419f370ea87458017ee506a2e551e9068b66b.zip
Swicthing machines
Diffstat (limited to 'apps/troubleshooting')
-rw-r--r--apps/troubleshooting/__init__.py0
-rw-r--r--apps/troubleshooting/models.py19
-rw-r--r--apps/troubleshooting/tests.py16
-rw-r--r--apps/troubleshooting/views.py1
4 files changed, 0 insertions, 36 deletions
diff --git a/apps/troubleshooting/__init__.py b/apps/troubleshooting/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/apps/troubleshooting/__init__.py
+++ /dev/null
diff --git a/apps/troubleshooting/models.py b/apps/troubleshooting/models.py
deleted file mode 100644
index cd1edf3..0000000
--- a/apps/troubleshooting/models.py
+++ /dev/null
@@ -1,19 +0,0 @@
-from django.db import models
-from apps.core.models import ServiceProvider
-from apps.checkin.models import ServiceOrder
-
-
-class Question(models.Model):
- sp = models.ForeignKey(ServiceProvider)
- required = models.BooleanField(default=True)
- question = models.CharField(max_length=256)
-
-
-class Choice(models.Model):
- question = models.ForeignKey(Question)
- choice = models.CharField(max_length=256)
-
-
-class Answer(models.Model):
- choice = models.ForeignKey(Choice)
- so = models.ForeignKey(ServiceOrder)
diff --git a/apps/troubleshooting/tests.py b/apps/troubleshooting/tests.py
deleted file mode 100644
index 501deb7..0000000
--- a/apps/troubleshooting/tests.py
+++ /dev/null
@@ -1,16 +0,0 @@
-"""
-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/apps/troubleshooting/views.py b/apps/troubleshooting/views.py
deleted file mode 100644
index 60f00ef..0000000
--- a/apps/troubleshooting/views.py
+++ /dev/null
@@ -1 +0,0 @@
-# Create your views here.