
from django.conf.urls import patterns, url

from . import views


urlpatterns = patterns('django_agpl.views',
    url(r'^tar$', views.tar,
        name='download-tar'),
    url(r'^zip$', views.zip,
        name='download-zip'),
    url(r'^targz$', views.targz,
        name='download-targz'),
    url(r'^tarbz2$', views.tarbz2,
        name='download-tarbz2'),
)


from django.conf.urls import url

from . import views


urlpatterns = (
    url(r'^tar$', views.tar,
        name='download-tar'),
    url(r'^zip$', views.zip,
        name='download-zip'),
    url(r'^targz$', views.targz,
        name='download-targz'),
    url(r'^tarbz2$', views.tarbz2,
        name='download-tarbz2'),
)

Drop patterns import for Django 1.0 compatibility.
Drop patterns import for Django 1.0 compatibility.

  
- from django.conf.urls import patterns, url
+ from django.conf.urls import url
  
  from . import views
  
  
- urlpatterns = patterns('django_agpl.views',
+ urlpatterns = (
      url(r'^tar$', views.tar,
          name='download-tar'),
      url(r'^zip$', views.zip,
          name='download-zip'),
      url(r'^targz$', views.targz,
          name='download-targz'),
      url(r'^tarbz2$', views.tarbz2,
          name='download-tarbz2'),
  )
  
Drop patterns import for Django 1.0 compatibility.
## Code Before:

from django.conf.urls import patterns, url

from . import views


urlpatterns = patterns('django_agpl.views',
    url(r'^tar$', views.tar,
        name='download-tar'),
    url(r'^zip$', views.zip,
        name='download-zip'),
    url(r'^targz$', views.targz,
        name='download-targz'),
    url(r'^tarbz2$', views.tarbz2,
        name='download-tarbz2'),
)

## Instruction:
Drop patterns import for Django 1.0 compatibility.
## Code After:

from django.conf.urls import url

from . import views


urlpatterns = (
    url(r'^tar$', views.tar,
        name='download-tar'),
    url(r'^zip$', views.zip,
        name='download-zip'),
    url(r'^targz$', views.targz,
        name='download-targz'),
    url(r'^tarbz2$', views.tarbz2,
        name='download-tarbz2'),
)
