summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastermain/management
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastermain/management')
-rw-r--r--bitbake/lib/toaster/toastermain/management/commands/get-dburl.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastermain/management/commands/get-dburl.py b/bitbake/lib/toaster/toastermain/management/commands/get-dburl.py
new file mode 100644
index 0000000000..22b3eb79ed
--- /dev/null
+++ b/bitbake/lib/toaster/toastermain/management/commands/get-dburl.py
@@ -0,0 +1,9 @@
1from toastermain.settings import getDATABASE_URL
2from django.core.management.base import NoArgsCommand
3
4class Command(NoArgsCommand):
5 args = ""
6 help = "get database url"
7
8 def handle_noargs(self,**options):
9 print getDATABASE_URL()