old_contents: from django.conf.urls import url, patterns
  
  from .views import box_edit
  
  
  urlpatterns = patterns(
      "",
      url(r"^([-\w]+)/edit/$", box_edit, name="box_edit"),
  )
  
new_contents: from django.conf.urls import url
  
  from .views import box_edit
  
  
  urlpatterns = [
      url(r"^([-\w]+)/edit/$", box_edit, name="box_edit"),
  ]
  
subject: Drop url format deprecation