Add Document model method to check if a document exists in the storage backend
This commit is contained in:
@@ -126,7 +126,8 @@ def document_view(request, document_id):
|
||||
{'label':_(u'File mimetype'), 'field':'file_mimetype'},
|
||||
{'label':_(u'Date added'), 'field':'date_added'},
|
||||
{'label':_(u'Checksum'), 'field':'checksum'},
|
||||
{'label':_(u'UUID'), 'field':'uuid'}
|
||||
{'label':_(u'UUID'), 'field':'uuid'},
|
||||
{'label':_(u'Exists in storage'), 'field':'exists'}
|
||||
])
|
||||
|
||||
return render_to_response('generic_detail.html', {
|
||||
|
||||
Reference in New Issue
Block a user