19 lines
364 B
Python
19 lines
364 B
Python
from django import forms
|
|
|
|
from markitup.widgets import MarkItUpWidget
|
|
|
|
from symposion.speakers.models import Speaker
|
|
|
|
|
|
class SpeakerForm(forms.ModelForm):
|
|
|
|
class Meta:
|
|
model = Speaker
|
|
fields = [
|
|
"name",
|
|
"biography",
|
|
"photo",
|
|
]
|
|
widgets = {
|
|
"biography": MarkItUpWidget(),
|
|
}
|