app/django/core/management/commands/dbshell.py
changeset 54 03e267d67478
child 323 ff1a9aa48cfd
equal deleted inserted replaced
53:57b4279d8c4e 54:03e267d67478
       
     1 from django.core.management.base import NoArgsCommand
       
     2 
       
     3 class Command(NoArgsCommand):
       
     4     help = "Runs the command-line client for the current DATABASE_ENGINE."
       
     5 
       
     6     requires_model_validation = False
       
     7 
       
     8     def handle_noargs(self, **options):
       
     9         from django.db import runshell
       
    10         runshell()