Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed creation of html docs on python 3.

Thanks to Alan Lu for the report and the patch.
  • Loading branch information...
commit a5733fcd7be7adb8b236825beff4ccda19900f9e 1 parent c35f2e6
@apollo13 apollo13 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/_ext/djangodocs.py
View
2  docs/_ext/djangodocs.py
@@ -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')
Please sign in to comment.
Something went wrong with that request. Please try again.