diff options
author | Filipp Lepalaan <filipp@mac.com> | 2016-11-07 18:43:49 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2016-11-07 18:43:49 +0200 |
commit | 7904f7c5dc81f110bd820fe739087b3641ad891d (patch) | |
tree | a6f4088bbf07eef0c8e24f68f87178d268f28d9f | |
parent | 7dbcacd01bec20db3ccb841bec1e8e4268a4b052 (diff) | |
download | Servo-7904f7c5dc81f110bd820fe739087b3641ad891d.tar.gz Servo-7904f7c5dc81f110bd820fe739087b3641ad891d.tar.bz2 Servo-7904f7c5dc81f110bd820fe739087b3641ad891d.zip |
Cleanup
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | servo/tests/test_forms.py | 3 | ||||
-rw-r--r-- | servo/views/order.py | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -19,6 +19,7 @@ Main features include: The Obligatory Screenshots ========================== + ![Servo Screenshot 1](http://www.servoapp.com/img/screenshots/940/order1.png) ![Servo Screenshot 2](http://www.servoapp.com/img/screenshots/devices.png) ![Servo Screenshot 3](http://www.servoapp.com/img/screenshots/inventory.png) diff --git a/servo/tests/test_forms.py b/servo/tests/test_forms.py index ef6ec1f..aa9fed9 100644 --- a/servo/tests/test_forms.py +++ b/servo/tests/test_forms.py @@ -5,7 +5,6 @@ from django.contrib.auth.models import AnonymousUser from django.contrib.sessions.middleware import SessionMiddleware from servo.models.common import Configuration - from servo.forms.checkin import CustomerForm from servo.tests.test_views import add_middleware_to_request @@ -17,4 +16,4 @@ class CheckinTestCase(TestCase): request = factory.get('/checkin/') request.user = AnonymousUser request = add_middleware_to_request(request, SessionMiddleware) - form = CustomerForm(request) + #form = CustomerForm(request) diff --git a/servo/views/order.py b/servo/views/order.py index 39ecb4c..835aaf4 100644 --- a/servo/views/order.py +++ b/servo/views/order.py @@ -276,7 +276,7 @@ def list_orders(request): args = request.GET.copy() default = {'state': Order.STATE_QUEUED} - if len(args) < 2: # search form not submitted + if len(args) < 2: # search form not submitted f = request.session.get("order_search_filter", default) args = QueryDict('', mutable=True) args.update(f) |