Skip to content
Snippets Groups Projects
Verified Commit 842e1d86 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Fix default value of place_of_birth

parent 72fd701c
No related branches found
No related tags found
No related merge requests found
Pipeline #45412 failed
# Generated by Django 3.2.10 on 2021-12-15 20:00
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0027_person_place_of_birth'),
]
operations = [
migrations.AlterField(
model_name='person',
name='place_of_birth',
field=models.CharField(blank=True, default='', max_length=255, verbose_name='Place of birth'),
preserve_default=False,
),
]
......@@ -195,7 +195,7 @@ class Person(ExtensibleModel):
date_of_birth = models.DateField(verbose_name=_("Date of birth"), blank=True, null=True)
place_of_birth = models.CharField(
verbose_name=_("Place of birth"), max_length=255, blank=True, null=True
verbose_name=_("Place of birth"), max_length=255, blank=True
)
sex = models.CharField(verbose_name=_("Sex"), max_length=1, choices=SEX_CHOICES, 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