Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions pyconbalkan/speaker/migrations/0009_speaker_excerpt.py
Original file line number Diff line number Diff line change
@@ -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),
),
]
2 changes: 2 additions & 0 deletions pyconbalkan/speaker/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down