1
Fork 0

actually restore validators

This commit is contained in:
Jake Howard 2016-11-28 21:46:34 +00:00
parent bb2e4f14b7
commit aa9015da9e

View file

@ -1,9 +1,10 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2016-11-28 20:04 # Generated by Django 1.10.3 on 2016-11-28 21:46
from __future__ import unicode_literals from __future__ import unicode_literals
from django.db import migrations, models from django.db import migrations, models
import django.db.models.deletion import django.db.models.deletion
import project.projects.models
import wagtail.wagtailcore.fields import wagtail.wagtailcore.fields
@ -12,9 +13,9 @@ class Migration(migrations.Migration):
initial = True initial = True
dependencies = [ dependencies = [
('wagtaildocs', '0007_merge'),
('wagtailcore', '0030_index_on_pagerevision_created_at'), ('wagtailcore', '0030_index_on_pagerevision_created_at'),
('wagtailimages', '0015_fill_filter_spec_field'), ('wagtailimages', '0015_fill_filter_spec_field'),
('wagtaildocs', '0007_merge'),
] ]
operations = [ operations = [
@ -24,8 +25,8 @@ class Migration(migrations.Migration):
('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.Page')), ('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.Page')),
('summary', models.CharField(max_length=500)), ('summary', models.CharField(max_length=500)),
('body', wagtail.wagtailcore.fields.RichTextField()), ('body', wagtail.wagtailcore.fields.RichTextField()),
('project_url', models.URLField(blank=True)), ('project_url', models.URLField(blank=True, validators=[project.projects.models.validate_url])),
('download_url', models.URLField(blank=True)), ('download_url', models.URLField(blank=True, validators=[project.projects.models.validate_url])),
('asset', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtaildocs.Document')), ('asset', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtaildocs.Document')),
('main_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image')), ('main_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image')),
], ],