From 893e44b5e8ff377cd713645f4e6ceaa1fa2d11e8 Mon Sep 17 00:00:00 2001 From: Sanj Date: Sun, 22 Apr 2012 17:22:03 +0530 Subject: [PATCH] initial values for form fields --- manifests/ships/views.py | 3 ++- manifests/templates/shipList.html | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/manifests/ships/views.py b/manifests/ships/views.py index 3192cfb..88e9d1d 100644 --- a/manifests/ships/views.py +++ b/manifests/ships/views.py @@ -212,7 +212,8 @@ def shipList(request): 'no_of_pages': paginator.num_pages, 'page': page, 'page_size': page_size, - 'no_of_results': no_of_results + 'no_of_results': no_of_results, + 'params': request.GET }) diff --git a/manifests/templates/shipList.html b/manifests/templates/shipList.html index a8032f7..cea5e7c 100644 --- a/manifests/templates/shipList.html +++ b/manifests/templates/shipList.html @@ -29,33 +29,33 @@ No of results: {{ no_of_results }}   displaying page {{ page }} of {{ no_of
-
+
-
+

-
+
-
+
-
+
-
+
-
+