Initial changes to support the new Django 1.6 project structure
This commit is contained in:
18
mayan/apps/bootstrap/exceptions.py
Normal file
18
mayan/apps/bootstrap/exceptions.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
class ExistingData(Exception):
|
||||
"""
|
||||
Raised when an attempt to execute a bootstrap setup is made and there is
|
||||
existing data that would be corrupted or damaged by the loading the
|
||||
bootstrap's fixture.
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
class NotABootstrapSetup(Exception):
|
||||
"""
|
||||
Raised when an attempting to import a bootstrap setup without a proper
|
||||
magic number metadata
|
||||
"""
|
||||
pass
|
||||
Reference in New Issue
Block a user