From 40c42af2d618943e284f6f13fd1b8045b9465a7f Mon Sep 17 00:00:00 2001 From: Christopher Neugebauer Date: Wed, 15 Nov 2017 16:38:21 -0800 Subject: [PATCH] Add reviewer field --- .../0006_conferencespeaker_reviewer.py | 20 +++++++++++++++++++ pinaxcon/proposals/models.py | 9 +++++++++ 2 files changed, 29 insertions(+) create mode 100644 pinaxcon/proposals/migrations/0006_conferencespeaker_reviewer.py diff --git a/pinaxcon/proposals/migrations/0006_conferencespeaker_reviewer.py b/pinaxcon/proposals/migrations/0006_conferencespeaker_reviewer.py new file mode 100644 index 0000000..9677fbd --- /dev/null +++ b/pinaxcon/proposals/migrations/0006_conferencespeaker_reviewer.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.5 on 2017-11-16 00:37 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('proposals', '0005_auto_20170917_2031'), + ] + + operations = [ + migrations.AddField( + model_name='conferencespeaker', + name='reviewer', + field=models.EmailField(blank=True, help_text='Include the e-mail address of someone who can watch a video of your talk, shortly after the video is produced, to ensure quality.', max_length=254, null=True, verbose_name='E-mail of video reviewer'), + ), + ] diff --git a/pinaxcon/proposals/models.py b/pinaxcon/proposals/models.py index 004360f..6229c73 100644 --- a/pinaxcon/proposals/models.py +++ b/pinaxcon/proposals/models.py @@ -74,6 +74,15 @@ class ConferenceSpeaker(SpeakerBase): "these here. Your response is optional."), ) + reviewer = models.EmailField( + blank=True, + null=True, + verbose_name=_("E-mail of video reviewer"), + help_text=_("Include the e-mail address of someone who can watch a " + "video of your talk, shortly after the video is produced, " + "to ensure quality."), + ) + code_of_conduct = models.BooleanField( default=False, help_text=_("I have read and, in the event that my proposal is "