2007-08-16 22:34:01 +08:00
|
|
|
from django.core.management.base import NoArgsCommand
|
2007-08-16 14:06:55 +08:00
|
|
|
|
2007-08-16 22:34:01 +08:00
|
|
|
class Command(NoArgsCommand):
|
2007-08-16 14:06:55 +08:00
|
|
|
help = "Runs the command-line client for the current DATABASE_ENGINE."
|
|
|
|
|
|
|
|
requires_model_validation = False
|
|
|
|
|
2007-08-16 22:34:01 +08:00
|
|
|
def handle_noargs(self, **options):
|
2007-08-16 14:06:55 +08:00
|
|
|
from django.db import runshell
|
|
|
|
runshell()
|