old_contents: from __future__ import unicode_literals
  
  try:
      # Django 1.4+
      from django.conf.urls import patterns, url
  except ImportError: # pragma: no cover
      # Django 1.3
      from django.conf.urls.defaults import patterns, url
  
  
  urlpatterns = patterns('scribbler.views',
      url('^preview/$', 'preview_scribble', name='preview-scribble'),
      url('^create/$', 'create_edit_scribble', name='create-scribble'),
      url('^edit/(?P<scribble_id>(\d+))/$', 'create_edit_scribble', name='edit-scribble'),
      url('^delete/(?P<scribble_id>(\d+))/$', 'delete_scribble', name='delete-scribble'),
      url('^edit-field/(?P<ct_pk>(\d+))/(?P<instance_pk>(\d+))/(?P<field_name>(\w+))/$',
         'edit_scribble_field', name='edit-scribble-field'),
  )
  
new_contents: from __future__ import unicode_literals
  
  try:
      # Django 1.4+
      from django.conf.urls import patterns, url
  except ImportError: # pragma: no cover
      # Django 1.3
      from django.conf.urls.defaults import patterns, url
  
  from scribbler import views
  
  
  urlpatterns = patterns('',
      url('^preview/$', views.preview_scribble, name='preview-scribble'),
      url('^create/$', views.create_edit_scribble, name='create-scribble'),
      url('^edit/(?P<scribble_id>(\d+))/$', views.create_edit_scribble, name='edit-scribble'),
      url('^delete/(?P<scribble_id>(\d+))/$', views.delete_scribble, name='delete-scribble'),
      url('^edit-field/(?P<ct_pk>(\d+))/(?P<instance_pk>(\d+))/(?P<field_name>(\w+))/$',
         views.edit_scribble_field, name='edit-scribble-field'),
  )
  
subject: remove deprecated string arguments to url()