mirror of https://github.com/django/django.git
Fixed #12655 - diffsettings command now returns the diff instead of printing. Thanks, jobscry.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
579e8573c8
commit
d2d8b79319
|
@ -29,4 +29,4 @@ class Command(NoArgsCommand):
|
|||
output.append("%s = %s ###" % (key, user_settings[key]))
|
||||
elif user_settings[key] != default_settings[key]:
|
||||
output.append("%s = %s" % (key, user_settings[key]))
|
||||
print '\n'.join(output)
|
||||
return '\n'.join(output)
|
||||
|
|
Loading…
Reference in New Issue