Commits

Simon Meers committed 7def371

Obey verbosity in set_set_name_and_domain

  • Participants
  • Parent commits 5c28e26

Comments (0)

Files changed (1)

File generic/management/commands/set_site_name_and_domain.py

             site.name = settings.SITE_NAME
             site.save()
 
-        self.stdout.write(
-            u'Site details set:\n   %s / %s\n' % (site.name, site.domain))
+        if options.get('verbosity', 1) >= 1:
+            self.stdout.write(
+                u'Site details set:\n   %s / %s\n' % (site.name, site.domain))