old_contents: try:
      from django.conf.urls import patterns, include
  except ImportError:
      from django.conf.urls.defaults import patterns, include
  
  
  urlpatterns = patterns(
      "",
      (r"^", include("pinax.invitations.urls", namespace="pinax_invitations")),
  )
  
new_contents: from django.conf.urls import url, include
  
  
  urlpatterns = [
      url(r"^", include("pinax.invitations.urls", namespace="pinax_invitations")),
  ]
  
subject: Remove old style urls