From 7d6092c68776cd4cb0a34fd0920a79fe9ae6c349 Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 15 Mar 2017 17:17:32 +0300 Subject: [PATCH] docs: search for any value in ajax get_pair --- project/docs/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/docs/urls.py b/project/docs/urls.py index 38cb7a1..bed09f7 100644 --- a/project/docs/urls.py +++ b/project/docs/urls.py @@ -60,7 +60,7 @@ for name, klass in klasses: url(r'^%s/(?P\d+)/email/ajax/$' % name, getview, {'klass': klass, 'oper': 'email_ajax',}, name='docs_%s_email_ajax' % name), - url(r'^ajax_get_pair/(?P\w+)/(?P\w+)/(?P\w+)/(?P\w+)/$', get_pair, name='ajax_get_pair'), + url(r'^ajax_get_pair/(?P\w+)/(?P\w+)/(?P\w+)/(?P.+)/$', get_pair, name='ajax_get_pair'), url(r'^ajax_get_invoices/$', get_invoices, name='ajax_get_invoices'), url(r'^ajax_get_invoices/(?P\d+)/$', get_invoices, name='ajax_get_invoices'), url(r'^ajax_get_tbl_items/(?P\d+)/$', get_tbl_items, name='ajax_get_tbl_items'),