Add NewDocumentVersionNotAllowed exception to documents app
This commit is contained in:
6
apps/documents/exceptions.py
Normal file
6
apps/documents/exceptions.py
Normal file
@@ -0,0 +1,6 @@
|
||||
class NewDocumentVersionNotAllowed(Exception):
|
||||
"""
|
||||
Uploading new versions for this document is not allowed
|
||||
Current reasons: Document is in checked out state
|
||||
"""
|
||||
pass
|
||||
Reference in New Issue
Block a user