Add NewDocumentVersionNotAllowed exception to documents app

This commit is contained in:
Roberto Rosario
2012-06-15 19:28:22 -04:00
parent 30842d5d9b
commit 8fdd361071
2 changed files with 10 additions and 0 deletions

View 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