#NEWLINE# def setup( init_run = False ) : #NEWLINE# #INDENT# from atomicpress import models #NEWLINE# from atomicpress import views #NEWLINE# from atomicpress import filters #NEWLINE# from atomicpress import commands #NEWLINE# from atomicpress import context_processors #NEWLINE# manager . add_command ( 'db' , MigrateCommand ) #NEWLINE# activate_extensions ( ) #NEWLINE# theme = importlib . import_module ( app . config [ 'THEME' ] ) #NEWLINE# activate_theme ( theme . theme ) #NEWLINE# if theme : #NEWLINE# #INDENT# run ( )