diff --git a/pyconbalkan/speaker/migrations/0009_speaker_excerpt.py b/pyconbalkan/speaker/migrations/0009_speaker_excerpt.py new file mode 100644 index 00000000..c1ad18e7 --- /dev/null +++ b/pyconbalkan/speaker/migrations/0009_speaker_excerpt.py @@ -0,0 +1,19 @@ +# Generated by Django 2.0.5 on 2018-06-20 19:04 + +from django.db import migrations +import markdownx.models + + +class Migration(migrations.Migration): + + dependencies = [ + ('speaker', '0008_person_email'), + ] + + operations = [ + migrations.AddField( + model_name='speaker', + name='talk_excerpt', + field=markdownx.models.MarkdownxField(blank=True, null=True), + ), + ] diff --git a/pyconbalkan/speaker/models.py b/pyconbalkan/speaker/models.py index 4be73819..d0ceca6c 100644 --- a/pyconbalkan/speaker/models.py +++ b/pyconbalkan/speaker/models.py @@ -2,10 +2,12 @@ from django.db.models import CASCADE from pyconbalkan.core.models import Person, ActiveModel +from markdownx.models import MarkdownxField class Speaker(ActiveModel, Person): keynote = models.BooleanField(default=False) + talk_excerpt = MarkdownxField(null=True, blank=True) class SpeakerPhoto(models.Model):