implement contacts update

This commit is contained in:
2021-06-27 13:07:54 +02:00
parent 54a6686474
commit 68b84f50ca
4 changed files with 77 additions and 5 deletions

View File

@ -55,6 +55,14 @@ def seed(dev: bool):
content="@peter:wtf-eg.de")
db.session.add(matrix_contact)
email_type = ContactType(name="E-Mail")
db.session.add(email_type)
email_contact = Contact(profile=peters_profile,
contacttype=email_type,
content="peter@wtf-eg.de")
db.session.add(email_contact)
peters_address = Address(name="Peter Nichtlustig",
street="Waldweg",
house_number="23i",