Module ImportFrom alias alias alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad body ImportFrom alias identifier FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Call NameLoad Str Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Call NameLoad Str Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Dict Assign NameStore ListLoad If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Str attr BinOpAdd ListLoad AttributeLoad NameLoad attr NameLoad Str NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body TryExcept body Assign NameStore Call NameLoad Call AttributeLoad Str attr NameLoad Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad Str attr NameLoad handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad For NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str If BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If AttributeLoad NameLoad attr body For NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore TupleLoad Str Str Str Str Str Str Assign NameStore Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Num With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str If AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Str orelse Assign NameStore Str Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr NameLoad NameLoad AugAssignAdd NameStore Str AugAssignAdd NameStore Str AugAssignAdd NameStore Str AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str Str If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr AttributeLoad NameLoad attr For NameStore NameLoad body If CompareGtE AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareEq Call AttributeLoad NameLoad attr Str Num body AugAssignAdd NameStore Str AugAssignAdd NameStore Call NameLoad NameLoad AugAssignAdd NameStore BinOpAdd Str NameLoad With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore ListLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr Assign NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad BinOpAdd Str NameLoad attr ListComp Call AttributeLoad Str attr NameLoad comprehension NameStore AttributeLoad NameLoad attr keyword Call AttributeLoad BinOpAdd Str NameLoad attr ListComp Call AttributeLoad Str attr NameLoad comprehension NameStore NameLoad keyword Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Call AttributeLoad BinOpAdd Str NameLoad attr ListComp Call AttributeLoad Str attr NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Call AttributeLoad BinOpAdd Str NameLoad attr BinOpAdd ListComp Call AttributeLoad Str attr NameLoad comprehension NameStore NameLoad ListLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Str Call AttributeLoad BinOpAdd Str NameLoad attr ListComp Call AttributeLoad Str attr NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign NameStore Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Assign NameStore ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Str For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BinOpMult NameLoad Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BinOpMult NameLoad Num For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BinOpMult NameLoad Num NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BinOpMult NameLoad Num NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BinOpMult NameLoad Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BinOpMult NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Str orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Str Call AttributeLoad BinOpAdd Str NameLoad attr ListComp Call AttributeLoad Str attr NameLoad comprehension NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign NameStore ListComp Call AttributeLoad Str attr NameLoad Call NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr attr Call AttributeLoad BinOpAdd Str BinOpMult NameLoad Num attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Call AttributeLoad BinOpAdd Str NameLoad attr ListComp Call AttributeLoad Str attr NameLoad comprehension NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Call AttributeLoad BinOpAdd Str NameLoad attr ListComp Call AttributeLoad Str attr NameLoad comprehension NameStore AttributeLoad NameLoad attr Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Call NameLoad Str Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Call NameLoad Str Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str Str Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr Call AttributeLoad Str attr ListComp Call AttributeLoad Str attr NameLoad comprehension NameStore NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr ListLoad AttributeLoad NameLoad attr Str Str Str Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Call NameLoad Str Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Call NameLoad Str Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str keyword NameLoad For NameStore ListLoad Str Str Str body TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list
N/A __future__ absolute_import print_function unicode_literals N/A glob N/A os N/A re N/A shutil N/A subprocess N/A sys N/A tempfile N/A textwrap N/A zipfile copy copy deepcopy six BytesIO iteritems config data get_settings utils chdir format_val N/A N/A shlex quote shlex_quote N/A N/A N/A ImportError N/A pipes quote shlex_quote create_project N/A N/A config_data N/A N/A N/A 
    Call django-admin to create the project structure

    :param config_data: configuration data
     N/A env N/A deepcopy N/A dict N/A os environ N/A N/A env N/A N/A str DJANGO_SETTINGS_MODULE N/A str N/A N/A {0}.settings format N/A config_data project_name N/A N/A env N/A N/A str PYTHONPATH N/A str N/A N/A N/A os pathsep join N/A map shlex_quote N/A sys path N/A kwargs N/A N/A args N/A N/A N/A config_data template N/A N/A N/A kwargs N/A template N/A config_data template N/A N/A N/A args append N/A config_data project_name N/A N/A config_data project_directory N/A N/A N/A N/A args append N/A config_data project_directory N/A N/A N/A N/A N/A os path exists N/A config_data project_directory N/A N/A N/A N/A os makedirs N/A config_data project_directory N/A start_cmd N/A N/A N/A os path join N/A N/A N/A os path dirname N/A sys executable django-admin.py N/A cmd_args N/A N/A join N/A N/A N/A sys executable start_cmd startproject args N/A N/A config_data verbose N/A N/A N/A N/A N/A sys stdout write N/A N/A Project creation command: {0}
 format cmd_args N/A output N/A N/A subprocess check_output cmd_args shell True N/A N/A N/A N/A sys stdout write N/A N/A output decode utf-8 N/A _detect_migration_layout N/A N/A vars apps N/A N/A N/A 
    Detect migrations layout for plugins
    :param vars: installer settings
    :param apps: installed applications
     N/A DJANGO_MODULES N/A N/A module N/A vars MIGRATIONS_CHECK_MODULES N/A N/A N/A module apps N/A N/A N/A N/A mod N/A __import__ N/A N/A {0}.migrations_django format module N/A N/A DJANGO_MODULES N/A module N/A N/A {0}.migrations_django format module N/A N/A N/A Exception N/A N/A N/A DJANGO_MODULES N/A _install_aldryn N/A N/A config_data N/A N/A N/A 
    Install aldryn boilerplate

    :param config_data: configuration data
     N/A requests N/A media_project N/A N/A N/A os path join N/A config_data project_directory dist media N/A static_main False N/A static_project N/A N/A N/A os path join N/A config_data project_directory dist static N/A template_target N/A N/A N/A os path join N/A config_data project_directory templates N/A tmpdir N/A N/A tempfile mkdtemp N/A aldrynzip N/A N/A requests get N/A data ALDRYN_BOILERPLATE N/A zip_open N/A N/A zipfile ZipFile N/A BytesIO N/A aldrynzip content N/A N/A N/A zip_open extractall path tmpdir N/A component N/A N/A os listdir N/A N/A N/A os path join tmpdir aldryn-boilerplate-standard-master N/A N/A src N/A N/A N/A os path join tmpdir aldryn-boilerplate-standard-master component N/A dst N/A N/A N/A os path join N/A config_data project_directory component N/A N/A N/A N/A os path isfile src N/A N/A N/A N/A shutil copy src dst N/A N/A N/A N/A shutil copytree src dst N/A N/A N/A shutil rmtree tmpdir N/A N/A media_project static_main static_project template_target N/A copy_files N/A N/A config_data N/A N/A N/A 
    It's a little rude actually: it just overwrites the django-generated urls.py
    with a custom version and put other files in the project directory.

    :param config_data: configuration data
     N/A urlconf_path N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ ../config/urls.py N/A share_path N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ ../share N/A template_path N/A N/A N/A os path join share_path templates N/A N/A config_data aldryn N/A N/A N/A media_project static_main static_project template_target N/A _install_aldryn config_data N/A N/A media_project N/A N/A N/A os path join N/A config_data project_directory media N/A static_main N/A N/A N/A os path join N/A config_data project_path static N/A static_project N/A N/A N/A os path join N/A config_data project_directory static N/A template_target N/A N/A N/A os path join N/A config_data project_path templates N/A N/A N/A config_data templates N/A N/A N/A os path isdir N/A config_data templates N/A N/A template_path N/A config_data templates N/A N/A N/A config_data bootstrap N/A N/A template_path N/A N/A N/A os path join template_path bootstrap N/A N/A template_path N/A N/A N/A os path join template_path basic N/A N/A N/A shutil copy urlconf_path N/A config_data urlconf_path N/A media_project N/A N/A N/A N/A os makedirs media_project N/A static_main N/A N/A N/A N/A os makedirs static_main N/A N/A N/A N/A N/A os path exists static_project N/A N/A N/A N/A os makedirs static_project N/A N/A N/A N/A N/A os path exists template_target N/A N/A N/A N/A os makedirs template_target N/A filename N/A N/A glob glob N/A N/A N/A os path join template_path *.html N/A N/A N/A N/A N/A os path isfile filename N/A N/A N/A N/A shutil copy filename template_target N/A N/A config_data starting_page N/A N/A filename N/A N/A glob glob N/A N/A N/A os path join share_path starting_page.* N/A N/A N/A N/A N/A os path isfile filename N/A N/A N/A N/A shutil copy filename N/A N/A N/A os path join N/A config_data project_path .. N/A patch_settings N/A N/A config_data N/A N/A N/A 
    Modify the settings file created by Django injecting the django CMS
    configuration

    :param config_data: configuration data
     N/A overridden_settings N/A MIDDLEWARE_CLASSES INSTALLED_APPS TEMPLATE_LOADERS TEMPLATE_CONTEXT_PROCESSORS TEMPLATE_DIRS LANGUAGES N/A extra_settings N/A N/A N/A N/A N/A os path exists N/A config_data settings_path N/A N/A N/A N/A N/A sys stdout write N/A N/A Error while creating target project, please check the given configuration: {0} format N/A config_data settings_path N/A N/A N/A sys exit 5 N/A N/A open N/A config_data settings_path r fd_original N/A N/A original N/A N/A fd_original read N/A N/A N/A config_data extra_settings N/A N/A N/A os path exists N/A config_data extra_settings N/A N/A N/A open N/A config_data extra_settings r fd_extra N/A N/A extra_settings N/A N/A fd_extra read N/A original N/A N/A original replace # -*- coding: utf-8 -*-
 N/A N/A config_data aldryn N/A N/A DATA_DIR DATA_DIR = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'dist')
 N/A STATICFILES_DIR os.path.join(BASE_DIR, 'static'), N/A N/A DATA_DIR DATA_DIR = os.path.dirname(os.path.dirname(__file__))
 N/A STATICFILES_DIR N/A N/A os.path.join(BASE_DIR, '{0}', 'static'), format N/A config_data project_name N/A original N/A N/A N/A data DEFAULT_PROJECT_HEADER DATA_DIR original N/A original MEDIA_URL = '/media/'
 N/A original MEDIA_ROOT = os.path.join(DATA_DIR, 'media')
 N/A original STATIC_ROOT = os.path.join(DATA_DIR, 'static')
 N/A original N/A N/A 
STATICFILES_DIRS = (
    {0}
)
 format STATICFILES_DIR N/A original N/A N/A original replace # -*- coding: utf-8 -*-
 N/A N/A N/A config_data i18n no N/A N/A original N/A N/A original replace I18N = True I18N = False N/A original N/A N/A original replace L10N = True L10N = False N/A N/A N/A config_data use_timezone no N/A N/A original N/A N/A original replace USE_TZ = True USE_TZ = False N/A N/A config_data languages N/A N/A original N/A N/A original replace LANGUAGE_CODE = 'en-us' N/A N/A LANGUAGE_CODE = '{0}' format N/A N/A config_data languages N/A 0 N/A N/A config_data timezone N/A N/A original N/A N/A original replace TIME_ZONE = 'UTC' N/A N/A TIME_ZONE = '{0}' format N/A config_data timezone N/A item overridden_settings N/A N/A N/A N/A config_data django_version 1.9 N/A N/A item_re N/A N/A re compile N/A N/A {0} = [^\]]+\) format item N/A N/A re DOTALL N/A re MULTILINE N/A N/A item_re N/A N/A re compile N/A N/A {0} = [^\)]+\) format item N/A N/A re DOTALL N/A re MULTILINE N/A original N/A N/A item_re sub original N/A item_re N/A N/A re compile TEMPLATES = .+\]$ N/A N/A re DOTALL N/A re MULTILINE N/A original N/A N/A item_re sub original N/A item_re N/A N/A re compile DATABASES = [^\}]+\}[^\}]+\} N/A N/A re DOTALL N/A re MULTILINE N/A original N/A N/A item_re sub original N/A N/A N/A N/A original find SITE_ID -1 N/A N/A original SITE_ID = 1

 N/A original N/A _build_settings config_data N/A original N/A extra_settings N/A N/A open N/A config_data settings_path w fd_dest N/A N/A N/A N/A fd_dest write original N/A _build_settings N/A N/A config_data N/A N/A N/A 
    Build the django CMS settings dictionary

    :param config_data: configuration data
     N/A spacer N/A text N/A N/A vars N/A get_settings N/A N/A N/A N/A vars MIDDLEWARE_CLASSES insert 0 N/A vars APPHOOK_RELOAD_MIDDLEWARE_CLASS N/A processors N/A N/A vars TEMPLATE_CONTEXT_PROCESSORS N/A vars TEMPLATE_CONTEXT_PROCESSORS_3 N/A N/A N/A text append N/A N/A N/A data TEMPLATES_1_8 format loaders N/A N/A N/A ,
 spacer join N/A N/A N/A '{0}' format var N/A var N/A vars TEMPLATE_LOADERS processors N/A N/A N/A ,
 spacer join N/A N/A N/A '{0}' format var N/A var processors dirs N/A N/A os.path.join(BASE_DIR, '{0}', 'templates'), format N/A config_data project_name N/A N/A N/A text append N/A N/A MIDDLEWARE_CLASSES = (
{0}{1}
) format spacer N/A N/A N/A ,
 spacer join N/A N/A N/A '{0}' format var N/A var N/A vars MIDDLEWARE_CLASSES N/A apps N/A list N/A vars INSTALLED_APPS N/A apps N/A N/A list N/A vars CMS_3_HEAD apps N/A N/A N/A apps extend N/A vars TREEBEARD_APPS N/A N/A N/A apps extend N/A vars CMS_3_APPLICATIONS N/A N/A N/A config_data no_plugins N/A N/A N/A config_data filer N/A N/A N/A N/A apps extend N/A vars FILER_PLUGINS_3 N/A N/A N/A N/A apps extend N/A vars STANDARD_PLUGINS_3 N/A N/A config_data aldryn N/A N/A N/A N/A apps extend N/A vars ALDRYN_APPLICATIONS N/A N/A config_data reversion N/A N/A N/A N/A apps extend N/A vars REVERSION_APPLICATIONS N/A N/A N/A text append N/A N/A INSTALLED_APPS = (
{0}{1}
) format spacer N/A N/A N/A ,
 spacer join N/A N/A N/A N/A '{0}' format var N/A var apps N/A N/A N/A '{0}' format N/A config_data project_name N/A N/A N/A text append N/A N/A LANGUAGES = (
{0}{1}
{0}{2}
) format spacer ## Customize this N/A N/A N/A spacer join N/A N/A N/A ('{0}', gettext('{0}')), format item N/A item N/A config_data languages N/A cms_langs N/A deepcopy N/A vars CMS_LANGUAGES N/A lang N/A config_data languages N/A N/A lang_dict N/A code name lang lang N/A N/A N/A lang_dict update N/A copy N/A cms_langs N/A default N/A N/A N/A N/A cms_langs N/A 1 append lang_dict N/A cms_text N/A CMS_LANGUAGES = { N/A N/A N/A cms_text append N/A N/A {0}{1} format spacer ## Customize this N/A N/A key value N/A iteritems cms_langs N/A N/A N/A key default N/A N/A N/A N/A cms_text append N/A N/A {0}'{1}': {{ format spacer key N/A N/A config_name config_value N/A iteritems value N/A N/A N/A N/A cms_text append N/A N/A {0}'{1}': {2}, format N/A spacer 2 config_name config_value N/A N/A N/A cms_text append N/A N/A {0}}}, format spacer N/A N/A N/A N/A cms_text append N/A N/A {0}{1}: [ format spacer key N/A lang value N/A N/A N/A N/A cms_text append N/A N/A {0}{{ format N/A spacer 2 N/A N/A config_name config_value N/A iteritems lang N/A N/A N/A config_name code N/A N/A N/A N/A cms_text append N/A N/A {0}'{1}': '{2}', format N/A spacer 3 config_name config_value N/A N/A N/A config_name name N/A N/A N/A N/A cms_text append N/A N/A {0}'{1}': gettext('{2}'), format N/A spacer 3 config_name config_value N/A N/A N/A N/A cms_text append N/A N/A {0}'{1}': {2}, format N/A spacer 3 config_name config_value N/A N/A N/A cms_text append N/A N/A {0}}}, format N/A spacer 2 N/A N/A N/A cms_text append N/A N/A {0}], format spacer N/A N/A N/A cms_text append } N/A N/A N/A text append N/A N/A join cms_text N/A N/A config_data bootstrap N/A N/A cms_templates CMS_TEMPLATES_BOOTSTRAP N/A N/A cms_templates CMS_TEMPLATES N/A N/A N/A text append N/A N/A CMS_TEMPLATES = (
{0}{1}
{0}{2}
) format spacer ## Customize this N/A N/A N/A ,
 spacer join N/A N/A N/A ('{0}', '{1}') format item N/A item N/A getattr vars cms_templates N/A N/A N/A text append N/A N/A CMS_PERMISSION = {0} format N/A vars CMS_PERMISSION N/A N/A N/A text append N/A N/A CMS_PLACEHOLDER_CONF = {0} format N/A vars CMS_PLACEHOLDER_CONF N/A database N/A N/A N/A '{0}': {1} format key N/A format_val val N/A N/A key val N/A sorted N/A N/A N/A config_data db_parsed items key N/A N/A N/A x N/A N/A x N/A 0 N/A N/A N/A text append N/A N/A N/A N/A N/A N/A textwrap dedent 
        DATABASES = {{
            'default': {{
                {0}
            }}
        }} strip format N/A N/A N/A ,
 N/A spacer 2 join database N/A DJANGO_MIGRATION_MODULES N/A _detect_migration_layout vars apps N/A N/A N/A text append N/A N/A MIGRATION_MODULES = {{
{0}{1}
}} format spacer N/A N/A N/A ,
 spacer join N/A N/A N/A '{0}': '{1}' format item N/A item N/A N/A DJANGO_MIGRATION_MODULES items N/A N/A config_data filer N/A N/A N/A N/A text append N/A N/A THUMBNAIL_PROCESSORS = (
{0}{1}
) format spacer N/A N/A N/A ,
 spacer join N/A N/A N/A '{0}' format var N/A var N/A vars THUMBNAIL_PROCESSORS N/A N/A N/A join text N/A setup_database N/A N/A config_data N/A N/A N/A 
    Run the migrate command to create the database schema

    :param config_data: configuration data
     N/A N/A chdir N/A config_data project_directory N/A N/A env N/A deepcopy N/A dict N/A os environ N/A N/A env N/A N/A str DJANGO_SETTINGS_MODULE N/A str N/A N/A {0}.settings format N/A config_data project_name N/A N/A env N/A N/A str PYTHONPATH N/A str N/A N/A N/A os pathsep join N/A map shlex_quote N/A sys path N/A commands N/A N/A N/A N/A commands append N/A N/A sys executable -W ignore manage.py migrate N/A N/A config_data verbose N/A N/A N/A N/A N/A sys stdout write N/A N/A Database setup commands: {0}
 format N/A N/A ,  join N/A N/A N/A join cmd N/A cmd commands N/A command commands N/A N/A output N/A N/A subprocess check_output command env env N/A N/A N/A N/A sys stdout write N/A N/A output decode utf-8 N/A N/A N/A N/A config_data no_user N/A N/A config_data noinput N/A N/A N/A N/A N/A sys stdout write Creating admin user
 N/A N/A N/A subprocess check_call N/A N/A join N/A N/A sys executable -W ignore manage.py createsuperuser shell True N/A load_starting_page N/A N/A config_data N/A N/A N/A 
    Load starting page into the CMS

    :param config_data: configuration data
     N/A N/A chdir N/A config_data project_directory N/A N/A env N/A deepcopy N/A dict N/A os environ N/A N/A env N/A N/A str DJANGO_SETTINGS_MODULE N/A str N/A N/A {0}.settings format N/A config_data project_name N/A N/A env N/A N/A str PYTHONPATH N/A str N/A N/A N/A os pathsep join N/A map shlex_quote N/A sys path N/A N/A N/A subprocess check_call N/A N/A sys executable starting_page.py env env N/A ext N/A py pyc json N/A N/A N/A N/A N/A N/A os remove N/A N/A starting_page.{0} format ext N/A N/A N/A OSError N/A N/A N/A