From 297419f370ea87458017ee506a2e551e9068b66b Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Sun, 17 Nov 2013 19:15:30 +0200 Subject: Swicthing machines --- apps/troubleshooting/__init__.py | 0 apps/troubleshooting/models.py | 19 ------------------- apps/troubleshooting/tests.py | 16 ---------------- apps/troubleshooting/views.py | 1 - 4 files changed, 36 deletions(-) delete mode 100644 apps/troubleshooting/__init__.py delete mode 100644 apps/troubleshooting/models.py delete mode 100644 apps/troubleshooting/tests.py delete mode 100644 apps/troubleshooting/views.py (limited to 'apps/troubleshooting') diff --git a/apps/troubleshooting/__init__.py b/apps/troubleshooting/__init__.py deleted file mode 100644 index e69de29..0000000 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. -- cgit v1.2.3