Add a getHostname to system
It is better to abstract how we retrieve the hostname than to access
it directly (see also getAppVersion).
from django.core.management.base import AppCommand, CommandError
class Command(AppCommand):
help = "RENAMED: see 'sqlcustom'"
def handle(self, *apps, **options):
raise CommandError("This command has been renamed. Use the 'sqlcustom' command instead.")