feat: add phone number
This commit is contained in:
parent
bf54bc5d51
commit
96ce5963fe
@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 5.1.1 on 2024-11-13 15:33
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('fellchensammlung', '0015_rescueorganization_comment'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='rescueorganization',
|
||||||
|
name='phone_number',
|
||||||
|
field=models.CharField(blank=True, max_length=15, null=True, verbose_name='Telefonnummer'),
|
||||||
|
),
|
||||||
|
]
|
@ -186,6 +186,7 @@ class RescueOrganization(models.Model):
|
|||||||
facebook = models.URLField(null=True, blank=True, verbose_name=_('Facebook Profil'))
|
facebook = models.URLField(null=True, blank=True, verbose_name=_('Facebook Profil'))
|
||||||
fediverse_profile = models.URLField(null=True, blank=True, verbose_name=_('Fediverse Profil'))
|
fediverse_profile = models.URLField(null=True, blank=True, verbose_name=_('Fediverse Profil'))
|
||||||
email = models.EmailField(null=True, blank=True, verbose_name=_('E-Mail'))
|
email = models.EmailField(null=True, blank=True, verbose_name=_('E-Mail'))
|
||||||
|
phone_number = models.CharField(max_length=15, null=True, blank=True, verbose_name=_('Telefonnummer'))
|
||||||
website = models.URLField(null=True, blank=True, verbose_name=_('Website'))
|
website = models.URLField(null=True, blank=True, verbose_name=_('Website'))
|
||||||
updated_at = models.DateTimeField(auto_now=True)
|
updated_at = models.DateTimeField(auto_now=True)
|
||||||
created_at = models.DateTimeField(auto_now_add=True)
|
created_at = models.DateTimeField(auto_now_add=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user