- url(r'^attachment/(?P<contact_id>\d+)/(?P<tag>[^/]+)/$',
- views.attachment, name='contact_attachment'),
+ url(r'^attachment/(?P<contact_id>\d+)/(?P<tag>[^/]+)/$', views.attachment, name='contact_attachment'),
+ url(r'^attachment/(?P<contact_id>\d+)/(?P<tag>[^/]+)/(?P<key>[0-9a-zA-Z]+)/$', views.attachment_key,
+ name='contact_attachment_key'),
+ url(r'^results/(?P<contact_id>\d+)/(?P<digest>[0-9a-f]+)/', views.results, name='contact_results'),