From 03edb7e6b4e63a7fbe454353d8d4a1a28e863d60 Mon Sep 17 00:00:00 2001 From: Sanj Date: Tue, 28 Feb 2012 00:00:59 +0530 Subject: [PATCH] argh, forgot the * in page_no regex --- manifests/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/urls.py b/manifests/urls.py index 6f8dc8e..25e8e58 100644 --- a/manifests/urls.py +++ b/manifests/urls.py @@ -15,7 +15,7 @@ urlpatterns = patterns('', # Uncomment the next line to enable the admin: # for human translators - (r'^trans/(?P[A-Za-z].*?)/(?P[A-Za-z].*?)/(?P[0-9]?)', 'ships.views.translate'), + (r'^trans/(?P[A-Za-z].*?)/(?P[A-Za-z].*?)/(?P[0-9]*?)', 'ships.views.translate'), # (r'^dotrans/(?P[A-Za-z].*?)/(?P[A-Za-z].*?)/', 'ships.views.dotranslate'), # for automated google translation