30 lines
824 B
Python
30 lines
824 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.6 on 2018-03-31 06:04
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations
|
|
from django.db import models
|
|
|
|
import apps.map.validators
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [("map", "0045_auto_20180331_0517")]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name="casestudy",
|
|
name="video",
|
|
field=models.URLField(
|
|
blank=True,
|
|
default="",
|
|
help_text="Copy the URL to a YouTube or Vimeo video that relates to the case study.",
|
|
max_length=80,
|
|
validators=[apps.map.validators.YouTubeOrVimeoValidator()],
|
|
verbose_name="Video URL",
|
|
),
|
|
preserve_default=False,
|
|
)
|
|
]
|