From 8fd22d8f630f783b87b90bc69550789984357788 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 20 Oct 2014 02:35:44 -0400 Subject: [PATCH] Fix URL regex, source_type no longer required --- mayan/apps/sources/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/sources/urls.py b/mayan/apps/sources/urls.py index 34adabb6a5..13edaa5f4d 100644 --- a/mayan/apps/sources/urls.py +++ b/mayan/apps/sources/urls.py @@ -15,7 +15,7 @@ urlpatterns = patterns('sources.views', url(r'^upload/document/new/interactive/(?P\d+)/$', 'upload_interactive', (), 'upload_interactive'), url(r'^upload/document/new/interactive/$', 'upload_interactive', (), 'upload_interactive'), - url(r'^upload/document/(?P\d+)/version/interactive/(?P\w+)/(?P\d+)/$', 'upload_interactive', (), 'upload_version'), + url(r'^upload/document/(?P\d+)/version/interactive/(?P\d+)/$', 'upload_interactive', (), 'upload_version'), url(r'^upload/document/(?P\d+)/version/interactive/$', 'upload_interactive', (), 'upload_version'), # Setup views