diff --git a/aleksis/core/migrations/0023_person_place_of_birth.py b/aleksis/core/migrations/0023_person_place_of_birth.py new file mode 100644 index 0000000000000000000000000000000000000000..3f5f285e774b4c976968be35d276c30ef15c517f --- /dev/null +++ b/aleksis/core/migrations/0023_person_place_of_birth.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.8 on 2021-11-02 20:32 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0022_public_favicon'), + ] + + operations = [ + migrations.AddField( + model_name='person', + name='place_of_birth', + field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Place of birth'), + ), + ] diff --git a/aleksis/core/models.py b/aleksis/core/models.py index 1264b645ef56da31c215f3b42b0e59162935b6a0..8d9b99c2a2cac6bb7724883a2997752c66b56f83 100644 --- a/aleksis/core/models.py +++ b/aleksis/core/models.py @@ -186,6 +186,7 @@ class Person(ExtensibleModel): email = models.EmailField(verbose_name=_("E-mail address"), blank=True) 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) sex = models.CharField(verbose_name=_("Sex"), max_length=1, choices=SEX_CHOICES, blank=True) photo = models.ImageField(verbose_name=_("Photo"), blank=True, null=True)