diff --git a/aviary/migrations/0002_alter_aviary_condition.py b/aviary/migrations/0002_alter_aviary_condition.py new file mode 100644 index 0000000..e39f482 --- /dev/null +++ b/aviary/migrations/0002_alter_aviary_condition.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.2 on 2023-07-08 20:30 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("aviary", "0001_initial"), + ] + + operations = [ + migrations.AlterField( + model_name="aviary", + name="condition", + field=models.CharField( + choices=[ + ("Offen", "Offen"), + ("Geschlossen", "Geschlossen"), + ("Gesperrt", "Geshlossem"), + ], + max_length=256, + verbose_name="Zustand", + ), + ), + ] diff --git a/bird/migrations/0001_initial.py b/bird/migrations/0001_initial.py index d6f7eaa..c485622 100644 --- a/bird/migrations/0001_initial.py +++ b/bird/migrations/0001_initial.py @@ -1,4 +1,4 @@ -# Generated by Django 4.2.2 on 2023-07-07 10:41 +# Generated by Django 4.2.2 on 2023-07-08 20:30 from django.conf import settings from django.db import migrations, models @@ -11,9 +11,9 @@ class Migration(migrations.Migration): initial = True dependencies = [ - ("aviary", "0001_initial"), - migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("rescuer", "0001_initial"), + ("aviary", "0002_alter_aviary_condition"), + migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ @@ -32,7 +32,7 @@ class Migration(migrations.Migration): ("name", models.CharField(max_length=256, unique=True)), ( "description", - models.CharField(max_length=512, verbose_name="Hilfetext"), + models.CharField(max_length=4096, verbose_name="Hilfetext"), ), ], options={ diff --git a/fixtures/data.json b/fixtures/data.json deleted file mode 100644 index 3b67ee1..0000000 --- a/fixtures/data.json +++ /dev/null @@ -1 +0,0 @@ -[{"model": "admin.logentry", "pk": 1, "fields": {"action_time": "2023-07-04T16:20:39.728Z", "user": 1, "content_type": 14, "object_id": "1", "object_repr": "In Behandlung", "action_flag": 1, "change_message": "[{\"added\": {}}]"}}, {"model": "admin.logentry", "pk": 2, "fields": {"action_time": "2023-07-04T16:20:46.854Z", "user": 1, "content_type": 14, "object_id": "2", "object_repr": "In Auswilderung", "action_flag": 1, "change_message": "[{\"added\": {}}]"}}, {"model": "admin.logentry", "pk": 3, "fields": {"action_time": "2023-07-04T16:20:52.106Z", "user": 1, "content_type": 14, "object_id": "3", "object_repr": "Ausgewildert", "action_flag": 1, "change_message": "[{\"added\": {}}]"}}, {"model": "admin.logentry", "pk": 4, "fields": {"action_time": "2023-07-04T16:20:56.773Z", "user": 1, "content_type": 14, "object_id": "4", "object_repr": "Verstorben", "action_flag": 1, "change_message": "[{\"added\": {}}]"}}, {"model": "admin.logentry", "pk": 5, "fields": {"action_time": "2023-07-04T16:21:18.431Z", "user": 1, "content_type": 12, "object_id": "64203b19-091b-4f47-81e5-fcbc5c67e1b5", "object_repr": "Voliere 1", "action_flag": 1, "change_message": "[{\"added\": {}}]"}}, {"model": "admin.logentry", "pk": 6, "fields": {"action_time": "2023-07-04T16:21:26.166Z", "user": 1, "content_type": 12, "object_id": "cc12fbd5-59a0-4012-857a-230b6cd8ea83", "object_repr": "Voliere 2", "action_flag": 1, "change_message": "[{\"added\": {}}]"}}, {"model": "admin.logentry", "pk": 7, "fields": {"action_time": "2023-07-04T16:21:42.045Z", "user": 1, "content_type": 13, "object_id": "bd5ae0b8-89ee-4b44-954d-bb1e3a17aa0a", "object_repr": "Amsel", "action_flag": 1, "change_message": "[{\"added\": {}}]"}}, {"model": "admin.logentry", "pk": 8, "fields": {"action_time": "2023-07-04T16:21:45.989Z", "user": 1, "content_type": 13, "object_id": "745172ca-f0b0-4a33-aa58-459dae23e180", "object_repr": "Spatz", "action_flag": 1, "change_message": "[{\"added\": {}}]"}}, {"model": "admin.logentry", "pk": 9, "fields": {"action_time": "2023-07-04T16:22:23.675Z", "user": 1, "content_type": 7, "object_id": "1", "object_repr": "admin@email.de", "action_flag": 2, "change_message": "[{\"changed\": {\"fields\": [\"Verified\", \"Primary\"]}}]"}}, {"model": "auth.permission", "pk": 1, "fields": {"name": "Can add log entry", "content_type": 1, "codename": "add_logentry"}}, {"model": "auth.permission", "pk": 2, "fields": {"name": "Can change log entry", "content_type": 1, "codename": "change_logentry"}}, {"model": "auth.permission", "pk": 3, "fields": {"name": "Can delete log entry", "content_type": 1, "codename": "delete_logentry"}}, {"model": "auth.permission", "pk": 4, "fields": {"name": "Can view log entry", "content_type": 1, "codename": "view_logentry"}}, {"model": "auth.permission", "pk": 5, "fields": {"name": "Can add permission", "content_type": 2, "codename": "add_permission"}}, {"model": "auth.permission", "pk": 6, "fields": {"name": "Can change permission", "content_type": 2, "codename": "change_permission"}}, {"model": "auth.permission", "pk": 7, "fields": {"name": "Can delete permission", "content_type": 2, "codename": "delete_permission"}}, {"model": "auth.permission", "pk": 8, "fields": {"name": "Can view permission", "content_type": 2, "codename": "view_permission"}}, {"model": "auth.permission", "pk": 9, "fields": {"name": "Can add group", "content_type": 3, "codename": "add_group"}}, {"model": "auth.permission", "pk": 10, "fields": {"name": "Can change group", "content_type": 3, "codename": "change_group"}}, {"model": "auth.permission", "pk": 11, "fields": {"name": "Can delete group", "content_type": 3, "codename": "delete_group"}}, {"model": "auth.permission", "pk": 12, "fields": {"name": "Can view group", "content_type": 3, "codename": "view_group"}}, {"model": "auth.permission", "pk": 13, "fields": {"name": "Can add user", "content_type": 4, "codename": "add_user"}}, {"model": "auth.permission", "pk": 14, "fields": {"name": "Can change user", "content_type": 4, "codename": "change_user"}}, {"model": "auth.permission", "pk": 15, "fields": {"name": "Can delete user", "content_type": 4, "codename": "delete_user"}}, {"model": "auth.permission", "pk": 16, "fields": {"name": "Can view user", "content_type": 4, "codename": "view_user"}}, {"model": "auth.permission", "pk": 17, "fields": {"name": "Can add content type", "content_type": 5, "codename": "add_contenttype"}}, {"model": "auth.permission", "pk": 18, "fields": {"name": "Can change content type", "content_type": 5, "codename": "change_contenttype"}}, {"model": "auth.permission", "pk": 19, "fields": {"name": "Can delete content type", "content_type": 5, "codename": "delete_contenttype"}}, {"model": "auth.permission", "pk": 20, "fields": {"name": "Can view content type", "content_type": 5, "codename": "view_contenttype"}}, {"model": "auth.permission", "pk": 21, "fields": {"name": "Can add session", "content_type": 6, "codename": "add_session"}}, {"model": "auth.permission", "pk": 22, "fields": {"name": "Can change session", "content_type": 6, "codename": "change_session"}}, {"model": "auth.permission", "pk": 23, "fields": {"name": "Can delete session", "content_type": 6, "codename": "delete_session"}}, {"model": "auth.permission", "pk": 24, "fields": {"name": "Can view session", "content_type": 6, "codename": "view_session"}}, {"model": "auth.permission", "pk": 25, "fields": {"name": "Can add email address", "content_type": 7, "codename": "add_emailaddress"}}, {"model": "auth.permission", "pk": 26, "fields": {"name": "Can change email address", "content_type": 7, "codename": "change_emailaddress"}}, {"model": "auth.permission", "pk": 27, "fields": {"name": "Can delete email address", "content_type": 7, "codename": "delete_emailaddress"}}, {"model": "auth.permission", "pk": 28, "fields": {"name": "Can view email address", "content_type": 7, "codename": "view_emailaddress"}}, {"model": "auth.permission", "pk": 29, "fields": {"name": "Can add email confirmation", "content_type": 8, "codename": "add_emailconfirmation"}}, {"model": "auth.permission", "pk": 30, "fields": {"name": "Can change email confirmation", "content_type": 8, "codename": "change_emailconfirmation"}}, {"model": "auth.permission", "pk": 31, "fields": {"name": "Can delete email confirmation", "content_type": 8, "codename": "delete_emailconfirmation"}}, {"model": "auth.permission", "pk": 32, "fields": {"name": "Can view email confirmation", "content_type": 8, "codename": "view_emailconfirmation"}}, {"model": "auth.permission", "pk": 33, "fields": {"name": "Can add social account", "content_type": 9, "codename": "add_socialaccount"}}, {"model": "auth.permission", "pk": 34, "fields": {"name": "Can change social account", "content_type": 9, "codename": "change_socialaccount"}}, {"model": "auth.permission", "pk": 35, "fields": {"name": "Can delete social account", "content_type": 9, "codename": "delete_socialaccount"}}, {"model": "auth.permission", "pk": 36, "fields": {"name": "Can view social account", "content_type": 9, "codename": "view_socialaccount"}}, {"model": "auth.permission", "pk": 37, "fields": {"name": "Can add social application", "content_type": 10, "codename": "add_socialapp"}}, {"model": "auth.permission", "pk": 38, "fields": {"name": "Can change social application", "content_type": 10, "codename": "change_socialapp"}}, {"model": "auth.permission", "pk": 39, "fields": {"name": "Can delete social application", "content_type": 10, "codename": "delete_socialapp"}}, {"model": "auth.permission", "pk": 40, "fields": {"name": "Can view social application", "content_type": 10, "codename": "view_socialapp"}}, {"model": "auth.permission", "pk": 41, "fields": {"name": "Can add social application token", "content_type": 11, "codename": "add_socialtoken"}}, {"model": "auth.permission", "pk": 42, "fields": {"name": "Can change social application token", "content_type": 11, "codename": "change_socialtoken"}}, {"model": "auth.permission", "pk": 43, "fields": {"name": "Can delete social application token", "content_type": 11, "codename": "delete_socialtoken"}}, {"model": "auth.permission", "pk": 44, "fields": {"name": "Can view social application token", "content_type": 11, "codename": "view_socialtoken"}}, {"model": "auth.permission", "pk": 45, "fields": {"name": "Can add Voliere", "content_type": 12, "codename": "add_aviary"}}, {"model": "auth.permission", "pk": 46, "fields": {"name": "Can change Voliere", "content_type": 12, "codename": "change_aviary"}}, {"model": "auth.permission", "pk": 47, "fields": {"name": "Can delete Voliere", "content_type": 12, "codename": "delete_aviary"}}, {"model": "auth.permission", "pk": 48, "fields": {"name": "Can view Voliere", "content_type": 12, "codename": "view_aviary"}}, {"model": "auth.permission", "pk": 49, "fields": {"name": "Can add Vogel", "content_type": 13, "codename": "add_bird"}}, {"model": "auth.permission", "pk": 50, "fields": {"name": "Can change Vogel", "content_type": 13, "codename": "change_bird"}}, {"model": "auth.permission", "pk": 51, "fields": {"name": "Can delete Vogel", "content_type": 13, "codename": "delete_bird"}}, {"model": "auth.permission", "pk": 52, "fields": {"name": "Can view Vogel", "content_type": 13, "codename": "view_bird"}}, {"model": "auth.permission", "pk": 53, "fields": {"name": "Can add Patientenstatus", "content_type": 14, "codename": "add_birdstatus"}}, {"model": "auth.permission", "pk": 54, "fields": {"name": "Can change Patientenstatus", "content_type": 14, "codename": "change_birdstatus"}}, {"model": "auth.permission", "pk": 55, "fields": {"name": "Can delete Patientenstatus", "content_type": 14, "codename": "delete_birdstatus"}}, {"model": "auth.permission", "pk": 56, "fields": {"name": "Can view Patientenstatus", "content_type": 14, "codename": "view_birdstatus"}}, {"model": "auth.permission", "pk": 57, "fields": {"name": "Can add Patient", "content_type": 15, "codename": "add_fallenbird"}}, {"model": "auth.permission", "pk": 58, "fields": {"name": "Can change Patient", "content_type": 15, "codename": "change_fallenbird"}}, {"model": "auth.permission", "pk": 59, "fields": {"name": "Can delete Patient", "content_type": 15, "codename": "delete_fallenbird"}}, {"model": "auth.permission", "pk": 60, "fields": {"name": "Can view Patient", "content_type": 15, "codename": "view_fallenbird"}}, {"model": "auth.permission", "pk": 61, "fields": {"name": "Can add rescuer", "content_type": 16, "codename": "add_rescuer"}}, {"model": "auth.permission", "pk": 62, "fields": {"name": "Can change rescuer", "content_type": 16, "codename": "change_rescuer"}}, {"model": "auth.permission", "pk": 63, "fields": {"name": "Can delete rescuer", "content_type": 16, "codename": "delete_rescuer"}}, {"model": "auth.permission", "pk": 64, "fields": {"name": "Can view rescuer", "content_type": 16, "codename": "view_rescuer"}}, {"model": "auth.user", "pk": 1, "fields": {"password": "pbkdf2_sha256$600000$v2GYstlyvm2BdZXU8kgUNC$P0crKL/YHJGKQgeRi6/qiZLVP9H7c+f7oLWI8L7PDIM=", "last_login": "2023-07-05T19:03:17.630Z", "is_superuser": true, "username": "admin", "first_name": "", "last_name": "", "email": "admin@email.de", "is_staff": true, "is_active": true, "date_joined": "2023-07-04T16:20:18.987Z", "groups": [], "user_permissions": []}}, {"model": "contenttypes.contenttype", "pk": 1, "fields": {"app_label": "admin", "model": "logentry"}}, {"model": "contenttypes.contenttype", "pk": 2, "fields": {"app_label": "auth", "model": "permission"}}, {"model": "contenttypes.contenttype", "pk": 3, "fields": {"app_label": "auth", "model": "group"}}, {"model": "contenttypes.contenttype", "pk": 4, "fields": {"app_label": "auth", "model": "user"}}, {"model": "contenttypes.contenttype", "pk": 5, "fields": {"app_label": "contenttypes", "model": "contenttype"}}, {"model": "contenttypes.contenttype", "pk": 6, "fields": {"app_label": "sessions", "model": "session"}}, {"model": "contenttypes.contenttype", "pk": 7, "fields": {"app_label": "account", "model": "emailaddress"}}, {"model": "contenttypes.contenttype", "pk": 8, "fields": {"app_label": "account", "model": "emailconfirmation"}}, {"model": "contenttypes.contenttype", "pk": 9, "fields": {"app_label": "socialaccount", "model": "socialaccount"}}, {"model": "contenttypes.contenttype", "pk": 10, "fields": {"app_label": "socialaccount", "model": "socialapp"}}, {"model": "contenttypes.contenttype", "pk": 11, "fields": {"app_label": "socialaccount", "model": "socialtoken"}}, {"model": "contenttypes.contenttype", "pk": 12, "fields": {"app_label": "aviary", "model": "aviary"}}, {"model": "contenttypes.contenttype", "pk": 13, "fields": {"app_label": "bird", "model": "bird"}}, {"model": "contenttypes.contenttype", "pk": 14, "fields": {"app_label": "bird", "model": "birdstatus"}}, {"model": "contenttypes.contenttype", "pk": 15, "fields": {"app_label": "bird", "model": "fallenbird"}}, {"model": "contenttypes.contenttype", "pk": 16, "fields": {"app_label": "rescuer", "model": "rescuer"}}, {"model": "sessions.session", "pk": "yn3hw7pz8b8msujra56r6sc8ptyj5c78", "fields": {"session_data": ".eJxVjMsOwiAQRf-FtSG8SqlL934DmRnAogZMaRON8d9tky50e8659808LPPolxYnnwM7MskOvwyBbrFsIlyhXCqnWuYpI98SvtvGzzXE-2lv_w5GaOO6ts4kpcA5kTAgBDLSUCIkq9Bp3Q3aQo-uD0KakPqERDR0TlNcuRRqO22xtVyLj89Hnl7sKJUYrBCfLzbvQP4:1qH7mX:seZA4TI952ObAkKu0iy2ql8ixcmw5MrCwyx0DSTx_co", "expire_date": "2023-07-19T19:03:17.646Z"}}, {"model": "account.emailaddress", "pk": 1, "fields": {"user": 1, "email": "admin@email.de", "verified": true, "primary": true}}, {"model": "aviary.aviary", "pk": "64203b19-091b-4f47-81e5-fcbc5c67e1b5", "fields": {"description": "Voliere 1", "condition": "gut", "last_ward_round": "2023-07-04"}}, {"model": "aviary.aviary", "pk": "cc12fbd5-59a0-4012-857a-230b6cd8ea83", "fields": {"description": "Voliere 2", "condition": "super", "last_ward_round": "2023-07-04"}}, {"model": "bird.fallenbird", "pk": "006aca70-489e-430b-ba95-2b66b7cf8c07", "fields": {"bird_identifier": "Thomas Morris", "bird": "bd5ae0b8-89ee-4b44-954d-bb1e3a17aa0a", "date_found": "2023-07-04", "place": "Am Planetarium 2, 07743 Jena", "created": "2023-07-04T16:34:15.654Z", "updated": "2023-07-05T18:59:57.103Z", "diagnostic_finding": "", "cost_sum": "0.36", "rescuer": "ee2f97e5-085c-4892-98a1-0b1ff15a3933", "user": 1, "status": 2, "aviary": "64203b19-091b-4f47-81e5-fcbc5c67e1b5"}}, {"model": "bird.fallenbird", "pk": "300d03e1-c30c-4c86-8c04-32f6eb9b30f7", "fields": {"bird_identifier": "Donald Whitney", "bird": "bd5ae0b8-89ee-4b44-954d-bb1e3a17aa0a", "date_found": "2023-07-05", "place": "Am Planetarium 2, 07743 Jena", "created": "2023-07-05T16:27:21.890Z", "updated": "2023-07-05T19:01:30.226Z", "diagnostic_finding": "", "cost_sum": "12.95", "rescuer": "ceee034e-3fe7-4e57-813b-e315ed27a19f", "user": 1, "status": 3, "aviary": null}}, {"model": "bird.fallenbird", "pk": "ca28b380-c988-4227-b64d-701fb69c3c65", "fields": {"bird_identifier": "Andrew Heck", "bird": "bd5ae0b8-89ee-4b44-954d-bb1e3a17aa0a", "date_found": "2023-07-04", "place": "Am Planetarium 2, 07743 Jena", "created": "2023-07-04T16:33:53.108Z", "updated": "2023-07-05T19:01:47.105Z", "diagnostic_finding": "", "cost_sum": "0.00", "rescuer": "ceee034e-3fe7-4e57-813b-e315ed27a19f", "user": 1, "status": 2, "aviary": "cc12fbd5-59a0-4012-857a-230b6cd8ea83"}}, {"model": "bird.fallenbird", "pk": "dd353ba4-c61f-417b-b14d-d23ef9712efc", "fields": {"bird_identifier": "Clara Johnson", "bird": "bd5ae0b8-89ee-4b44-954d-bb1e3a17aa0a", "date_found": "2023-07-05", "place": "Am Planetarium 2, 07743 Jena", "created": "2023-07-05T16:04:57.057Z", "updated": "2023-07-05T19:00:23.752Z", "diagnostic_finding": "", "cost_sum": "13.40", "rescuer": "ee2f97e5-085c-4892-98a1-0b1ff15a3933", "user": 1, "status": 1, "aviary": null}}, {"model": "bird.bird", "pk": "745172ca-f0b0-4a33-aa58-459dae23e180", "fields": {"name": "Spatz"}}, {"model": "bird.bird", "pk": "bd5ae0b8-89ee-4b44-954d-bb1e3a17aa0a", "fields": {"name": "Amsel"}}, {"model": "bird.birdstatus", "pk": 1, "fields": {"description": "In Behandlung"}}, {"model": "bird.birdstatus", "pk": 2, "fields": {"description": "In Auswilderung"}}, {"model": "bird.birdstatus", "pk": 3, "fields": {"description": "Ausgewildert"}}, {"model": "bird.birdstatus", "pk": 4, "fields": {"description": "Verstorben"}}, {"model": "rescuer.rescuer", "pk": "ceee034e-3fe7-4e57-813b-e315ed27a19f", "fields": {"first_name": "Elmo", "last_name": "Monster", "street": "Sesamstra�e", "street_number": "22", "city": "Dreamworld", "zip_code": "08873", "email": "elmo@email.de", "phone": "+4987162312", "user": 1}}, {"model": "rescuer.rescuer", "pk": "ee2f97e5-085c-4892-98a1-0b1ff15a3933", "fields": {"first_name": "Angela", "last_name": "Davis", "street": "Friedenstra�e", "street_number": "22", "city": "Dreamworld", "zip_code": "08873", "email": "ad@email.de", "phone": "+49871623662", "user": 1}}] diff --git a/rescuer/admin.py b/rescuer/admin.py index 77b0c3c..f02470f 100644 --- a/rescuer/admin.py +++ b/rescuer/admin.py @@ -12,7 +12,6 @@ class CustomerAdmin(admin.ModelAdmin): "street", "street_number", "city", - "email", "phone", "user", ] diff --git a/rescuer/forms.py b/rescuer/forms.py index 4e500df..cb9fef0 100644 --- a/rescuer/forms.py +++ b/rescuer/forms.py @@ -18,7 +18,6 @@ class RescuerForm(forms.ModelForm): "street_number", "zip_code", "city", - "email", "phone", ] labels = { @@ -28,6 +27,5 @@ class RescuerForm(forms.ModelForm): "street_number": _("Hausnummer"), "zip_code": _("Postleitzahl"), "city": _("Stadt"), - "email": _("Email"), "phone": _("Telefon"), } diff --git a/rescuer/migrations/0001_initial.py b/rescuer/migrations/0001_initial.py index 71af873..73bcf3d 100644 --- a/rescuer/migrations/0001_initial.py +++ b/rescuer/migrations/0001_initial.py @@ -1,4 +1,4 @@ -# Generated by Django 4.2.2 on 2023-07-04 16:19 +# Generated by Django 4.2.2 on 2023-07-08 20:30 from django.conf import settings from django.db import migrations, models @@ -33,7 +33,6 @@ class Migration(migrations.Migration): ("street_number", models.CharField(max_length=20)), ("city", models.CharField(max_length=200)), ("zip_code", models.CharField(max_length=200)), - ("email", models.EmailField(max_length=200)), ("phone", models.CharField(max_length=200)), ( "user", diff --git a/rescuer/models.py b/rescuer/models.py index a19b504..08c3bcd 100644 --- a/rescuer/models.py +++ b/rescuer/models.py @@ -13,7 +13,6 @@ class Rescuer(models.Model): street_number = models.CharField(max_length=20) city = models.CharField(max_length=200) zip_code = models.CharField(max_length=200) - email = models.EmailField(max_length=200) phone = models.CharField(max_length=200) user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) diff --git a/rescuer/templates/rescuer/rescuer_all.html b/rescuer/templates/rescuer/rescuer_all.html index 2468909..f8c877e 100644 --- a/rescuer/templates/rescuer/rescuer_all.html +++ b/rescuer/templates/rescuer/rescuer_all.html @@ -48,7 +48,6 @@ Straße PLZ Ort - Email Phone @@ -62,7 +61,6 @@ {{ rescuer.street }} {{ rescuer.street_number }} {{ rescuer.zip_code }} {{ rescuer.city }} - {{ rescuer.email }} {{ rescuer.phone }} {% endfor %} diff --git a/rescuer/templates/rescuer/rescuer_create.html b/rescuer/templates/rescuer/rescuer_create.html index 52d2e90..718ea4d 100644 --- a/rescuer/templates/rescuer/rescuer_create.html +++ b/rescuer/templates/rescuer/rescuer_create.html @@ -13,7 +13,6 @@
{{ form.street_number|as_crispy_field }}
{{ form.city|as_crispy_field }}
{{ form.zip_code|as_crispy_field }}
-
{{ form.email|as_crispy_field }}
{{ form.phone|as_crispy_field }}
Abbruch diff --git a/rescuer/templates/rescuer/rescuer_edit.html b/rescuer/templates/rescuer/rescuer_edit.html index 060ed76..0ef498c 100644 --- a/rescuer/templates/rescuer/rescuer_edit.html +++ b/rescuer/templates/rescuer/rescuer_edit.html @@ -10,7 +10,6 @@
{{ form.first_name|as_crispy_field }}
{{ form.last_name|as_crispy_field }}
-
{{ form.email|as_crispy_field }}
{{ form.phone|as_crispy_field }}
{{ form.street|as_crispy_field }}
{{ form.street_number|as_crispy_field }}
diff --git a/rescuer/templates/rescuer/rescuer_single.html b/rescuer/templates/rescuer/rescuer_single.html index 40c6190..326957c 100644 --- a/rescuer/templates/rescuer/rescuer_single.html +++ b/rescuer/templates/rescuer/rescuer_single.html @@ -12,7 +12,6 @@

{{rescuer.city}} {{rescuer.street}}
{{rescuer.zip_code}}
- {{rescuer.email}}
{{rescuer.phone}}