# Path: dinette/libs/postmarkup.py
# def render_bbcode(bbcode,
#                   encoding="ascii",
#                   exclude_tags=None,
#                   auto_urls=True,
#                   paragraphs=False,
#                   clean=True,
#                   tag_data=None):
# 
#     """ Renders a bbcode string in to XHTML. This is a shortcut if you don't
#         need to customize any tags.
# 
#         post_markup -- String containing bbcode.
#         encoding -- Encoding of string, defaults to "ascii" if the string is not
#         already unicode.
#         exclude_tags -- A collection of tag names to ignore.
#         auto_urls -- If True, then urls will be wrapped with url bbcode tags.
#         paragraphs -- If True then line breaks will be replaces with paragraph
#         tags, rather than break tags.
#         clean -- If True, html will be run through a cleanup_html method.
#         tag_data -- An optional dictionary to store tag data in. The default of
#         None will create a dictionary internally.
# 
#     """
#     return _postmarkup(bbcode,
#                        encoding,
#                        exclude_tags=exclude_tags,
#                        auto_urls=auto_urls,
#                        paragraphs=paragraphs,
#                        clean=clean,
#                        tag_data=tag_data)


from dinette.extra_settings import *
from subprocess import call
from markupfield.markup import DEFAULT_MARKUP_TYPES
from dinette.libs.postmarkup import render_bbcode
from settings import STATIC_ROOT
import os
)

ROOT_URLCONF = 'urls'

TEMPLATE_DIRS = (
    # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
    # Always use forward slashes, even on Windows.
    # Don't forget to use absolute paths, not relative paths.
)
TEMPLATE_CONTEXT_PROCESSORS = (
    'django.contrib.auth.context_processors.auth',
    'django.core.context_processors.debug',
    'django.core.context_processors.i18n',
    'django.core.context_processors.media',
    'django.contrib.messages.context_processors.messages',
    'django.core.context_processors.request',
    'django.core.context_processors.static',
)



INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.messages',
    # Uncomment the next line to enable the admin:
    'django.contrib.admin',
    'django.contrib.staticfiles',

# Path: dinette/libs/postmarkup.py
# def render_bbcode(bbcode,
#                   encoding="ascii",
#                   exclude_tags=None,
#                   auto_urls=True,
#                   paragraphs=False,
#                   clean=True,
#                   tag_data=None):
# 
#     """ Renders a bbcode string in to XHTML. This is a shortcut if you don't
#         need to customize any tags.
# 
#         post_markup -- String containing bbcode.
#         encoding -- Encoding of string, defaults to "ascii" if the string is not
#         already unicode.
#         exclude_tags -- A collection of tag names to ignore.
#         auto_urls -- If True, then urls will be wrapped with url bbcode tags.
#         paragraphs -- If True then line breaks will be replaces with paragraph
#         tags, rather than break tags.
#         clean -- If True, html will be run through a cleanup_html method.
#         tag_data -- An optional dictionary to store tag data in. The default of
#         None will create a dictionary internally.
# 
#     """
#     return _postmarkup(bbcode,
#                        encoding,
#                        exclude_tags=exclude_tags,
#                        auto_urls=auto_urls,
#                        paragraphs=paragraphs,
#                        clean=clean,
#                        tag_data=tag_data)


# Path: forum/settings_travis.py
from dinette.extra_settings import *
from subprocess import call
from markupfield.markup import DEFAULT_MARKUP_TYPES
from dinette.libs.postmarkup import render_bbcode
from settings import STATIC_ROOT
import os

)

ROOT_URLCONF = 'urls'

TEMPLATE_DIRS = (
    # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
    # Always use forward slashes, even on Windows.
    # Don't forget to use absolute paths, not relative paths.
)
TEMPLATE_CONTEXT_PROCESSORS = (
    'django.contrib.auth.context_processors.auth',
    'django.core.context_processors.debug',
    'django.core.context_processors.i18n',
    'django.core.context_processors.media',
    'django.contrib.messages.context_processors.messages',
    'django.core.context_processors.request',
    'django.core.context_processors.static',
)



INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.messages',
    # Uncomment the next line to enable the admin:
    'django.contrib.admin',
    'django.contrib.staticfiles',

    'dinette',