# Path: cms_content/settings.py
# ROOT_URL = getattr(settings, 'CMS_CONTENT_ROOT_URL', '/cms/')
# 
# Path: cms_content/settings.py
# UPLOAD_TO = getattr(settings, 'CMS_CONTENT_UPLOAD_TO', 'upload')
# 
# Path: cms_content/settings.py
# UPLOAD_TO = getattr(settings, 'CMS_CONTENT_UPLOAD_TO', 'upload')


from datetime import datetime
from django.db import models
from django.conf import settings
from django.core.urlresolvers import reverse
from django.contrib.auth.models import User
from django.contrib.sites.models import Site
from django.contrib.comments.signals import comment_was_posted
from django.utils.translation import ugettext_lazy as _
from taggit.managers import TaggableManager
from cms_content.settings import ROOT_URL
from cms_content.settings import UPLOAD_TO
from cms_content.manager import CMSArticlePubManager
from django.db import models
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from cms_content.settings import UPLOAD_TO
        from akismet import Akismet


__all__ = [
    'CMSMenuID',
    'CMSSection',
    'CMSCategory',
    'CMSArticle',
]



class BaseContentModel(models.Model):
    """
    Base Content Class For All Levels Model.
    """
    title = models.CharField(
        max_length = 255,
        blank      = False,
    )
    sub_title = models.CharField(
        max_length = 255,
        blank      = True,
    )
    slug = modles.SlugField(
        max_length = 255,
        blank      = False,
        unique     = True,
    )
    intro_img = models.ImageField(
        blank      = True,

# Path: cms_content/settings.py
# ROOT_URL = getattr(settings, 'CMS_CONTENT_ROOT_URL', '/cms/')
# 
# Path: cms_content/settings.py
# UPLOAD_TO = getattr(settings, 'CMS_CONTENT_UPLOAD_TO', 'upload')
# 
# Path: cms_content/settings.py
# UPLOAD_TO = getattr(settings, 'CMS_CONTENT_UPLOAD_TO', 'upload')


# Path: cms_content_patch/models.py
from datetime import datetime
from django.db import models
from django.conf import settings
from django.core.urlresolvers import reverse
from django.contrib.auth.models import User
from django.contrib.sites.models import Site
from django.contrib.comments.signals import comment_was_posted
from django.utils.translation import ugettext_lazy as _
from taggit.managers import TaggableManager
from cms_content.settings import ROOT_URL
from cms_content.settings import UPLOAD_TO
from cms_content.manager import CMSArticlePubManager
from django.db import models
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from cms_content.settings import UPLOAD_TO
        from akismet import Akismet



__all__ = [
    'CMSMenuID',
    'CMSSection',
    'CMSCategory',
    'CMSArticle',
]



class BaseContentModel(models.Model):
    """
    Base Content Class For All Levels Model.
    """
    title = models.CharField(
        max_length = 255,
        blank      = False,
    )
    sub_title = models.CharField(
        max_length = 255,
        blank      = True,
    )
    slug = modles.SlugField(
        max_length = 255,
        blank      = False,
        unique     = True,
    )
    intro_img = models.ImageField(
        blank      = True,

        upload_to  = UPLOAD_TO,