from django.conf.urls import patterns, include, url
from . import methods

urlpatterns = patterns('',
    url(r'^crashreport\/submit\.php$', methods.post_crashreport, name='post_crashreport'),
    url(r'^issues\.xml$', methods.post_issue, name='post_issue'),
)

from django.conf.urls import include, url
from . import methods

urlpatterns = (
    url(r'^crashreport\/submit\.php$', methods.post_crashreport, name='post_crashreport'),
    url(r'^issues\.xml$', methods.post_issue, name='post_issue'),
)

Update to Django 1.11.19 including updates to various dependencies
Update to Django 1.11.19 including updates to various dependencies

- from django.conf.urls import patterns, include, url
+ from django.conf.urls import include, url
  from . import methods
  
- urlpatterns = patterns('',
+ urlpatterns = (
      url(r'^crashreport\/submit\.php$', methods.post_crashreport, name='post_crashreport'),
      url(r'^issues\.xml$', methods.post_issue, name='post_issue'),
  )
  
Update to Django 1.11.19 including updates to various dependencies
## Code Before:
from django.conf.urls import patterns, include, url
from . import methods

urlpatterns = patterns('',
    url(r'^crashreport\/submit\.php$', methods.post_crashreport, name='post_crashreport'),
    url(r'^issues\.xml$', methods.post_issue, name='post_issue'),
)

## Instruction:
Update to Django 1.11.19 including updates to various dependencies
## Code After:
from django.conf.urls import include, url
from . import methods

urlpatterns = (
    url(r'^crashreport\/submit\.php$', methods.post_crashreport, name='post_crashreport'),
    url(r'^issues\.xml$', methods.post_issue, name='post_issue'),
)
