Rename the DeletedDocument proxy model to a TrashedDocument. Rename the deleted_document views to trashed_document. Rename the document and deleted_document URL parameters to trashed_document. Update URL parameters to the '_id' form. Add keyword arguments. Update use of .filter_by_access(). Enclose trashed document restore method in a transaction. Sort arguments. Update app for compliance with MERCs 5 and 6. Add document page view tests. Add favorite document view tests. Movernize tests. Replace use of urlencode with furl. Update views to use ExternalObjectMixin. Refactor the document and version download views. Rename the DocumentDocumentTypeEditView to DocumentChangeTypeView. Move the trashed document views to their own module. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
7 lines
250 B
Python
7 lines
250 B
Python
from .document_page_views import * # NOQA
|
|
from .document_type_views import * # NOQA
|
|
from .document_version_views import * # NOQA
|
|
from .document_views import * # NOQA
|
|
from .misc_views import * # NOQA
|
|
from .trashed_document_views import * # NOQA
|