From c087462f4deec9650da7b965ef8ecfb2fece07f3 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Fri, 4 Nov 2016 15:08:58 +0200 Subject: Cleanup --- servo/models/repair.py | 4 +--- servo/templates/pagination.html | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 15 deletions(-) (limited to 'servo') diff --git a/servo/models/repair.py b/servo/models/repair.py index cae0f17..2276945 100644 --- a/servo/models/repair.py +++ b/servo/models/repair.py @@ -246,9 +246,7 @@ class Repair(models.Model): @classmethod def create_from_gsx(cls, confirmation, order, device, user): - """ - Creates a new Repair for order with confirmation number - """ + """Creates a new Repair for order with confirmation number.""" try: repair = cls.objects.get(confirmation=confirmation) msg = {'repair': repair.confirmation, 'order': repair.order} diff --git a/servo/templates/pagination.html b/servo/templates/pagination.html index 5625b7c..9c99c95 100755 --- a/servo/templates/pagination.html +++ b/servo/templates/pagination.html @@ -2,17 +2,17 @@ {% load servo_tags %} -- cgit v1.2.3