# Path: carrot/exceptions.py
# class CarrotConfigException(Exception):
#     pass


from django.db import models
from django.core.validators import MinValueValidator
    from django.core.urlresolvers import reverse
    from django.urls import reverse
from carrot.exceptions import CarrotConfigException
from typing import Optional, Iterable
        from carrot.utilities import get_host_from_name
        from carrot.utilities import publish_message
        from carrot.utilities import publish_message
import json
import os
import sys
        import ast

# support for both django 1.x/2.x
try:
except ImportError:




BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

# Path: carrot/exceptions.py
# class CarrotConfigException(Exception):
#     pass


# Path: carrot/models.py
from django.db import models
from django.core.validators import MinValueValidator
    from django.core.urlresolvers import reverse
    from django.urls import reverse
from carrot.exceptions import CarrotConfigException
from typing import Optional, Iterable
        from carrot.utilities import get_host_from_name
        from carrot.utilities import publish_message
        from carrot.utilities import publish_message
import json
import os
import sys
        import ast


# support for both django 1.x/2.x
try:
except ImportError:




BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

sys.path.append(BASE_DIR + '/carrot')