mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-30 03:42:15 +00:00
Corrected default layout value
This commit is contained in:
19
rigForms/migrations/0002_auto_20150808_1459.py
Normal file
19
rigForms/migrations/0002_auto_20150808_1459.py
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import models, migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('rigForms', '0001_initial'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='schema',
|
||||||
|
name='layout',
|
||||||
|
field=models.TextField(default=b'[]'),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -28,7 +28,7 @@ class Schema(models.Model, RevisionMixin):
|
|||||||
start_at = models.DateTimeField()
|
start_at = models.DateTimeField()
|
||||||
|
|
||||||
schema = models.TextField(blank=False, null=False, default="{}")
|
schema = models.TextField(blank=False, null=False, default="{}")
|
||||||
layout = models.TextField(blank=False, null=False, default="{}")
|
layout = models.TextField(blank=False, null=False, default="[]")
|
||||||
|
|
||||||
comment = models.CharField(max_length=255)
|
comment = models.CharField(max_length=255)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user