from __future__ import unicode_literals

try:
    from django.conf.urls import patterns, url
except ImportError:
    from django.conf.urls.defaults import patterns, url


urlpatterns = patterns(
    '',
    url(r'^download/.*$', 'django_transfer.views.download', name='download'),
    url(r'^upload/$', 'django_transfer.views.upload', name='upload'),
)

@@ -72,29 +72,66 @@
  import 
-patterns, url
+url%0A%0A    def patterns(*args):%0A        return args%0A
 %0Aexcept 
@@ -200,16 +200,68 @@
 s, url%0A%0A
+from django_transfer.views import download, upload%0A%0A
 %0Aurlpatt
@@ -281,16 +281,8 @@
 ns(%0A
-    '',%0A
     
@@ -307,39 +307,16 @@
 $', 
-'django_transfer.views.
 download
 ', n
@@ -307,25 +307,24 @@
 $', download
-'
 , name='down
@@ -357,38 +357,14 @@
 $', 
-'django_transfer.views.
 upload
-'
 , na

Fix URL patterns for different Django versions.