projects
/
pgeu-website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
523daec
)
Semi-blind attempt to fix unicode problem with wiki pages
author
Magnus Hagander
<magnus@hagander.net>
Fri, 12 Oct 2018 18:32:16 +0000
(20:32 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Fri, 12 Oct 2018 18:32:53 +0000
(20:32 +0200)
Noted because of Devrim GΓΌndΓΌz, though not actually his fault...
postgresqleu/confwiki/views.py
patch
|
blob
|
blame
|
history
diff --git
a/postgresqleu/confwiki/views.py
b/postgresqleu/confwiki/views.py
index f373127fb04f498a9cdbe2c5635a93e53c4efcda..46ca9e02a7df73827da6bf16f787dc723175c600 100644
(file)
--- a/
postgresqleu/confwiki/views.py
+++ b/
postgresqleu/confwiki/views.py
@@
-229,7
+229,7
@@
def admin_edit_page(request, urlname, pageid):
form.save_m2m()
s = StringIO()
for k,v in f.diff.items():
- s.write("Changed {0} from {1} to {2}\n".format(k, v[0], v[1]))
+ s.write(
u
"Changed {0} from {1} to {2}\n".format(k, v[0], v[1]))
if s.tell() > 0:
# Something changed, so generate audit email
send_simple_mail(conference.contactaddr,