fix pip8 warnings

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
Hiroshi Miura 2015-10-17 10:57:18 +09:00
parent 031ee3807e
commit d68e310089
2 changed files with 3 additions and 4 deletions

View file

@ -1,5 +1,4 @@
from __future__ import unicode_literals
from html5lib import html5parser, sanitizer
import markdown

View file

@ -25,9 +25,9 @@ class Speaker(models.Model):
help_text=_("As you would like it to appear in the"
" conference program."))
biography = models.TextField(blank=True, help_text=_("A little bit about you. Edit using "
"<a href='http://warpedvisions.org/projects/"
"markdown-cheat-sheet/target='_blank'>"
"Markdown</a>."), verbose_name=_("Biography"))
"<a href='http://warpedvisions.org/projects/"
"markdown-cheat-sheet/target='_blank'>"
"Markdown</a>."), verbose_name=_("Biography"))
biography_html = models.TextField(blank=True)
photo = models.ImageField(upload_to="speaker_photos", blank=True, verbose_name=_("Photo"))
annotation = models.TextField(verbose_name=_("Annotation")) # staff only