old_contents: from django.conf.urls.defaults import patterns, url
  from .views import reference_case_attachment_view
  
  urlpatterns = patterns('',
      url(r'^casexml/attachment/(?P<domain>[\w\.:-]+)/(?P<case_id>[\w\-]+)/(?P<attachment_id>.*)/(?P<attachment_src>.*)$',
          reference_case_attachment_view, name="api_case_attachment")
  )
  
  
new_contents: from django.conf.urls.defaults import patterns, url
  from .views import reference_case_attachment_view
  
  urlpatterns = patterns('',
      url(r'^casexml/attachment/(?P<domain>[\w\.:-]+)/(?P<case_id>[\w\-]+)/(?P<attachment_id>.*)$',
          reference_case_attachment_view, name="api_case_attachment")
  )
  
  
subject: fix url that was only needed in tests