Skip to content
Snippets Groups Projects
Commit cc5f9e9e authored by Alexander Pace's avatar Alexander Pace
Browse files

adding migration file for phone number model field

parent 89cadcca
No related branches found
No related tags found
1 merge request!1Add voice/SMS contacts with Twilio
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
import userprofile.models
class Migration(migrations.Migration):
dependencies = [
('userprofile', '0003_trigger_label_query'),
]
operations = [
migrations.AddField(
model_name='contact',
name='phone',
field=userprofile.models.PhoneNumberField(blank=True, max_length=255, validators=[userprofile.models.validate_phone, userprofile.models.validate_phone, userprofile.models.validate_phone]),
),
migrations.AlterField(
model_name='contact',
name='email',
field=models.EmailField(max_length=254, blank=True),
),
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment