aboutsummaryrefslogtreecommitdiffstats
path: root/servo
diff options
context:
space:
mode:
Diffstat (limited to 'servo')
-rw-r--r--servo/migrations/0047_auto_20160225_2326.py22
-rw-r--r--servo/migrations/0048_auto_20160225_2328.py20
-rw-r--r--servo/models/repair.py1
3 files changed, 43 insertions, 0 deletions
diff --git a/servo/migrations/0047_auto_20160225_2326.py b/servo/migrations/0047_auto_20160225_2326.py
new file mode 100644
index 0000000..aabd219
--- /dev/null
+++ b/servo/migrations/0047_auto_20160225_2326.py
@@ -0,0 +1,22 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.2 on 2016-02-25 21:26
+from __future__ import unicode_literals
+
+from django.db import migrations
+import django.db.models.manager
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('servo', '0046_auto_20160209_1458'),
+ ]
+
+ operations = [
+ migrations.AlterModelManagers(
+ name='repair',
+ managers=[
+ ('active', django.db.models.manager.Manager()),
+ ],
+ ),
+ ]
diff --git a/servo/migrations/0048_auto_20160225_2328.py b/servo/migrations/0048_auto_20160225_2328.py
new file mode 100644
index 0000000..7a5bae5
--- /dev/null
+++ b/servo/migrations/0048_auto_20160225_2328.py
@@ -0,0 +1,20 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.2 on 2016-02-25 21:28
+from __future__ import unicode_literals
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('servo', '0047_auto_20160225_2326'),
+ ]
+
+ operations = [
+ migrations.AlterModelManagers(
+ name='repair',
+ managers=[
+ ],
+ ),
+ ]
diff --git a/servo/models/repair.py b/servo/models/repair.py
index 6a9e67a..dad1fe1 100644
--- a/servo/models/repair.py
+++ b/servo/models/repair.py
@@ -196,6 +196,7 @@ class Repair(models.Model):
symptom_code = models.CharField(max_length=7, default='')
issue_code = models.CharField(max_length=7, default='')
+ objects = models.Manager()
active = ActiveManager()
def is_submitted(self):