Skip to content
Snippets Groups Projects
Commit 1ddc4054 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

default value could be longer than 20 characters

parent 4fc607ce
No related branches found
No related tags found
1 merge request!304Resolve "two visits with the same dates"
......@@ -2,6 +2,8 @@ smasch (1.0.0~beta.6-1) unstable; urgency=low
* bug fix: when two visits with the same start date are created compute visit
number on the visit creation order basis (#369)
* bug fix: default value should be able to store longer values - the same as
possible text value (#373)
-- Piotr Gawron <piotr.gawron@uni.lu> Wed, 24 Feb 2021 12:00:00 +0200
......
# Generated by Django 3.1.4 on 2021-02-24 17:03
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('web', '0191_auto_20201201_1033'),
]
operations = [
migrations.AlterField(
model_name='customstudysubjectfield',
name='default_value',
field=models.CharField(blank=True, max_length=256, null=True),
),
]
......@@ -11,7 +11,7 @@ class CustomStudySubjectField(models.Model):
possible_values = models.CharField(max_length=1024, null=True, blank=True, default='')
default_value = models.CharField(max_length=20, null=True, blank=True)
default_value = models.CharField(max_length=256, null=True, blank=True)
readonly = models.BooleanField(default=False)
required = models.BooleanField(default=False)
......
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