diff --git a/.travis.yml b/.travis.yml index 7fe70dfa..598c5586 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,6 @@ python: - 3.6 install: - pip install -r requirements.txt -script: ./manage.py collectstatic --no-input && ./manage.py test +script: ./manage.py migrate && ./manage.py collectstatic --no-input && ./manage.py test env: - TRAVIS=true diff --git a/pybay/proposals/migrations/0009_auto_20180228_2205.py b/pybay/proposals/migrations/0009_auto_20180228_2205.py new file mode 100644 index 00000000..e11193eb --- /dev/null +++ b/pybay/proposals/migrations/0009_auto_20180228_2205.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.2 on 2018-03-01 06:05 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('proposals', '0008_location_override'), + ] + + operations = [ + migrations.AddField( + model_name='talkproposal', + name='phone', + field=models.CharField(max_length=15, null=True), + ), + migrations.AddField( + model_name='tutorialproposal', + name='phone', + field=models.CharField(max_length=15, null=True), + ), + ] diff --git a/pybay/proposals/models.py b/pybay/proposals/models.py index ccee5142..ba248a0b 100644 --- a/pybay/proposals/models.py +++ b/pybay/proposals/models.py @@ -53,6 +53,7 @@ class Proposal(ProposalBase): speaker_and_talk_history = models.TextField() speaker_website = models.TextField(null=True, blank=True) location_override = models.CharField(max_length=200, blank=True) + phone = models.CharField(blank=False,max_length=15, null=True) class Meta: abstract = True