little corrections

This commit is contained in:
gw3000 2023-06-19 21:59:45 +02:00
parent 166de02bdc
commit 129c1cfb49
3 changed files with 4 additions and 4 deletions

View file

@ -18,11 +18,11 @@ class BirdForm(forms.ModelForm):
"bird", "bird",
"date_found", "date_found",
"place", "place",
"rescuer", # "rescuer",
] ]
labels = { labels = {
"bird": _("Vogel"), "bird": _("Vogel"),
"date_found": _("Datum des Fundes"), "date_found": _("Datum des Fundes"),
"place": _("Fundort"), "place": _("Fundort"),
"rescuer": _("Finder"), # "rescuer": _("Finder"),
} }

View file

@ -4,6 +4,6 @@ from .views import rescuer_all, rescuer_create, rescuer_single
urlpatterns = [ urlpatterns = [
path("all", rescuer_all, name="rescuer_all"), path("all", rescuer_all, name="rescuer_all"),
path("<id>", rescuer_single, name="rescuer_single"),
path("create", rescuer_create, name="rescuer_create"), path("create", rescuer_create, name="rescuer_create"),
path("<id>", rescuer_single, name="rescuer_single"),
] ]

View file

@ -16,4 +16,4 @@ def rescuer_single(request, id):
def rescuer_create(request): def rescuer_create(request):
return render(request, "rescuer/rescuuer_create.html") return render(request, "rescuer/rescuer_create.html")