[1.1.X] Fixed #12655 - diffsettings command now returns the diff instead of printing. Thanks, jobscry.
Backport of r12463. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
4261efdc67
commit
713bac952f
|
@ -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