diff --git a/core/urls.py b/core/urls.py
index 49b9f67..d70d753 100644
--- a/core/urls.py
+++ b/core/urls.py
@@ -19,5 +19,6 @@ from django.urls import path, include
urlpatterns = [
path("bird/", include("fbf.urls")),
+ path("rescuer/", include("rescuer.urls")),
path("admin/", admin.site.urls),
]
diff --git a/fbf/templates/fbf/birds_all.html b/fbf/templates/fbf/birds_all.html
index 794ccb3..81e8752 100644
--- a/fbf/templates/fbf/birds_all.html
+++ b/fbf/templates/fbf/birds_all.html
@@ -1,27 +1,29 @@
{% extends "base.html" %}
{% load static %}
{% block content %}
-
Übersicht aller Vögel in Behandlung
-
-
-
- Vogel |
- Fundort |
- angelegt am |
- gefunden von |
-
-
-
- {% for bird in birds %}
-
-
- {{ bird.bird }}
- |
- {{ bird.place }} |
- {{ bird.created }} |
- {{ bird.rescuer }} |
-
- {% endfor %}
-
-
-{% endblock content %}
+Übersicht aller Vögel in Behandlung
+
+
+
+ Vogel |
+ Finder |
+ Fundort |
+ angelegt am |
+
+
+
+ {% for bird in birds %}
+
+
+ {{ bird.bird }}
+ |
+
+ {{ bird.rescuer }}
+ |
+ {{ bird.place }} |
+ {{ bird.created }} |
+
+ {% endfor %}
+
+
+{% endblock content %}
\ No newline at end of file
diff --git a/rescuer/templates/rescuer/rescuer_single.html b/rescuer/templates/rescuer/rescuer_single.html
new file mode 100644
index 0000000..5080b78
--- /dev/null
+++ b/rescuer/templates/rescuer/rescuer_single.html
@@ -0,0 +1 @@
+Single rescuer
\ No newline at end of file
diff --git a/rescuer/urls.py b/rescuer/urls.py
new file mode 100644
index 0000000..78386c3
--- /dev/null
+++ b/rescuer/urls.py
@@ -0,0 +1,5 @@
+from django.urls import path
+
+from .views import rescuer_single
+
+urlpatterns = [path("", rescuer_single, name="rescuer_single")]
diff --git a/rescuer/views.py b/rescuer/views.py
index 91ea44a..b05d6ac 100644
--- a/rescuer/views.py
+++ b/rescuer/views.py
@@ -1,3 +1,8 @@
from django.shortcuts import render
+from .models import Rescuer
-# Create your views here.
+
+def rescuer_single(request, id):
+ rescuer = Rescuer.objects.get(id=id)
+ context = {"rescuer": rescuer}
+ return render(request, "rescuer/rescuer_single.html", context)