Skip to content

Commit

Permalink
Fixed creation of html docs on python 3.
Browse files Browse the repository at this point in the history
Thanks to Alan Lu for the report and the patch.
  • Loading branch information
apollo13 committed Feb 24, 2013
1 parent c35f2e6 commit a5733fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_ext/djangodocs.py
Expand Up @@ -204,7 +204,7 @@ def finish(self):
if t == "templatefilter" and l == "ref/templates/builtins"],
}
outfilename = os.path.join(self.outdir, "templatebuiltins.js")
with open(outfilename, 'wb') as fp:
with open(outfilename, 'w') as fp:
fp.write('var django_template_builtins = ')
json.dump(templatebuiltins, fp)
fp.write(';\n')

0 comments on commit a5733fc

Please sign in to comment.