• 
      

    Default to no indentation for the json templatetag.

    Review Request #4605 — Created Sept. 20, 2013 and submitted — Latest diff uploaded

    Information

    Djblets
    master

    Reviewers

    Default to no indentation for the json templatetag.

    The json_dumps templatetag has an "indent" parameter, which defaulted to '0'.
    This caused the generated output to include newlines, but indent things zero
    spaces. If we default this to None, it will skip all extraneous whitespace.

    Used this in a future change, and saw that it now dumped my big data blob onto
    a single line in the output rather than formatting it super ugly.