EVOLUTION-MANAGER
Edit File: list-siteconfig.py
from __future__ import unicode_literals import json from django.core.management.base import NoArgsCommand from djblets.siteconfig.models import SiteConfiguration class Command(NoArgsCommand): """Lists the site configuration.""" def handle_noargs(self, **options): siteconfig = SiteConfiguration.objects.get_current() self.stdout.write(json.dumps(siteconfig.settings, indent=2))