<s> from __future__ import unicode_literals , division , absolute_import , print_function <EOL> import os <EOL> import sys <EOL> def setup_django ( settings = None , project_path = None ) : <EOL> sys . path = [ project_path or os . getcwd ( ) ] + sys . path <EOL> os . environ . setdefault ( '<STR_LIT>' , settings ) <EOL> import django <EOL> django . setup ( ) </s>
