blob: 911296f714ccdf050f73973e83f858fcb26a2f5f (
plain)
1
2
3
4
5
6
7
8
9
|
from toastermain.settings import getDATABASE_URL
from django.core.management.base import NoArgsCommand
class Command(NoArgsCommand):
args = ""
help = "get database url"
def handle_noargs(self,**options):
print(getDATABASE_URL())
|