old_contents: from django.conf.urls import patterns, url
  from hs_core import views
  
  urlpatterns = patterns('',
  
      # resource API
      url(r'^resourceList/$', views.resource_rest_api.ResourceList.as_view(),
          name='list_create_resource'),
  
      url(r'^resource/(?P<pk>[A-z0-9]+)/$', views.resource_rest_api.ResourceCreateReadUpdateDelete.as_view(),
          name='get_update_delete_resource'),
  
      url(r'^scimeta/(?P<pk>[A-z0-9]+)/$', views.resource_rest_api.ScienceMetadataRetrieveUpdate.as_view(),
          name='get_update_science_metadata'),
  
      url(r'^resource/(?P<pk>[A-z0-9]+)/files/$', views.resource_rest_api.ResourceFileCRUD.as_view(),
          name='add_resource_file'),
  
      url(r'^resource/(?P<pk>[A-z0-9]+)/files/(?P<filename>[^/]+)/$',
          views.resource_rest_api.ResourceFileCRUD.as_view(), name='get_update_delete_resource_file'),
  
      # internal API
  
      url(r'^_internal/(?P<shortkey>[A-z0-9]+)/add-file-to-resource/$', views.add_file_to_resource),
      url(r'^_internal/(?P<shortkey>[A-z0-9]+)/(?P<element_name>[A-z]+)/add-metadata/$', views.add_metadata_element),
      url(r'^_internal/(?P<shortkey>[A-z0-9]+)/(?P<element_name>[A-z]+)/(?P<element_id>[A-z0-9]+)/update-metadata/$', views.update_metadata_element),
      url(r'^_internal/(?P<shortkey>[A-z0-9]+)/(?P<element_name>[A-z]+)/(?P<element_id>[A-z0-9]+)/delete-metadata/$', views.delete_metadata_element),
      url(r'^_internal/(?P<shortkey>[A-z0-9]+)/delete-resource-file/(?P<f>[0-9]+)/$', views.delete_file),
      url(r'^_internal/(?P<shortkey>[A-z0-9]+)/delete-resource/$', views.delete_resource),
      url(r'^_internal/(?P<shortkey>[A-z0-9]+)/change-permissions/$', views.change_permissions),
      url(r'^_internal/verify_captcha/$', views.verify_captcha),
      url(r'^_internal/publish/$', views.publish),
      url(r'^_internal/create-resource/$', views.create_resource_select_resource_type),
      url(r'^_internal/create-resource/do/$', views.create_resource),
      url(r'^_internal/verify-account/$', views.verify_account),
      url(r'^_internal/resend_verification_email/$', views.resend_verification_email),
      url(r'^_internal/(?P<resource_type>[A-z]+)/supported-file-types/$', views.get_supported_file_types_for_resource_type),
      url(r'^_internal/(?P<resource_type>[A-z]+)/allow-multiple-file/$', views.is_multiple_file_allowed_for_resource_type),
  )
  
  
new_contents: from django.conf.urls import patterns, url
  from hs_core import views
  
  urlpatterns = patterns('',
  
      # resource API
      url(r'^resourceList/$', views.resource_rest_api.ResourceList.as_view(),
          name='list_resource'),
  
      url(r'^resource/(?P<pk>[A-z0-9]+)/$', views.resource_rest_api.ResourceCreateReadUpdateDelete.as_view(),
          name='get_update_delete_resource'),
  
      url(r'^scimeta/(?P<pk>[A-z0-9]+)/$', views.resource_rest_api.ScienceMetadataRetrieveUpdate.as_view(),
          name='get_update_science_metadata'),
  
      url(r'^resource/(?P<pk>[A-z0-9]+)/files/$', views.resource_rest_api.ResourceFileCRUD.as_view(),
          name='add_resource_file'),
  
      url(r'^resource/(?P<pk>[A-z0-9]+)/files/(?P<filename>[^/]+)/$',
          views.resource_rest_api.ResourceFileCRUD.as_view(), name='get_update_delete_resource_file'),
  
      # internal API
  
      url(r'^_internal/(?P<shortkey>[A-z0-9]+)/add-file-to-resource/$', views.add_file_to_resource),
      url(r'^_internal/(?P<shortkey>[A-z0-9]+)/(?P<element_name>[A-z]+)/add-metadata/$', views.add_metadata_element),
      url(r'^_internal/(?P<shortkey>[A-z0-9]+)/(?P<element_name>[A-z]+)/(?P<element_id>[A-z0-9]+)/update-metadata/$', views.update_metadata_element),
      url(r'^_internal/(?P<shortkey>[A-z0-9]+)/(?P<element_name>[A-z]+)/(?P<element_id>[A-z0-9]+)/delete-metadata/$', views.delete_metadata_element),
      url(r'^_internal/(?P<shortkey>[A-z0-9]+)/delete-resource-file/(?P<f>[0-9]+)/$', views.delete_file),
      url(r'^_internal/(?P<shortkey>[A-z0-9]+)/delete-resource/$', views.delete_resource),
      url(r'^_internal/(?P<shortkey>[A-z0-9]+)/change-permissions/$', views.change_permissions),
      url(r'^_internal/verify_captcha/$', views.verify_captcha),
      url(r'^_internal/publish/$', views.publish),
      url(r'^_internal/create-resource/$', views.create_resource_select_resource_type),
      url(r'^_internal/create-resource/do/$', views.create_resource),
      url(r'^_internal/verify-account/$', views.verify_account),
      url(r'^_internal/resend_verification_email/$', views.resend_verification_email),
      url(r'^_internal/(?P<resource_type>[A-z]+)/supported-file-types/$', views.get_supported_file_types_for_resource_type),
      url(r'^_internal/(?P<resource_type>[A-z]+)/allow-multiple-file/$', views.is_multiple_file_allowed_for_resource_type),
  )
  
  
subject: Update name of resourceList URL