commit
de23056b51
2 changed files with 3 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
from html5lib import html5parser, sanitizer
|
|
||||||
|
|
||||||
import markdown
|
import markdown
|
||||||
|
|
||||||
|
|
|
@ -25,9 +25,9 @@ class Speaker(models.Model):
|
||||||
help_text=_("As you would like it to appear in the"
|
help_text=_("As you would like it to appear in the"
|
||||||
" conference program."))
|
" conference program."))
|
||||||
biography = models.TextField(blank=True, help_text=_("A little bit about you. Edit using "
|
biography = models.TextField(blank=True, help_text=_("A little bit about you. Edit using "
|
||||||
"<a href='http://warpedvisions.org/projects/"
|
"<a href='http://warpedvisions.org/projects/"
|
||||||
"markdown-cheat-sheet/target='_blank'>"
|
"markdown-cheat-sheet/target='_blank'>"
|
||||||
"Markdown</a>."), verbose_name=_("Biography"))
|
"Markdown</a>."), verbose_name=_("Biography"))
|
||||||
biography_html = models.TextField(blank=True)
|
biography_html = models.TextField(blank=True)
|
||||||
photo = models.ImageField(upload_to="speaker_photos", blank=True, verbose_name=_("Photo"))
|
photo = models.ImageField(upload_to="speaker_photos", blank=True, verbose_name=_("Photo"))
|
||||||
annotation = models.TextField(verbose_name=_("Annotation")) # staff only
|
annotation = models.TextField(verbose_name=_("Annotation")) # staff only
|
||||||
|
|
Loading…
Reference in a new issue