<s> from django . core . management . base import CommandError <EOL> from django . core . management . templates import TemplateCommand <EOL> from django . utils . crypto import get_random_string <EOL> from django . utils . importlib import import_module <EOL> class Command ( TemplateCommand ) : <EOL> help = ( "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" ) <EOL> def handle ( self , project_name = None , target = None , * args , ** options ) : <EOL> self . validate_name ( project_name , "<STR_LIT>" ) <EOL> try : <EOL> import_module ( project_name ) <EOL> except ImportError : <EOL> pass <EOL> else : <EOL> raise CommandError ( "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" % <EOL> project_name ) <EOL> chars = '<STR_LIT>' <EOL> options [ '<STR_LIT>' ] = get_random_string ( <NUM_LIT:50> , chars ) <EOL> super ( Command , self ) . handle ( '<STR_LIT>' , project_name , target , ** options ) </s>
