little corrections
This commit is contained in:
parent
166de02bdc
commit
129c1cfb49
3 changed files with 4 additions and 4 deletions
|
@ -18,11 +18,11 @@ class BirdForm(forms.ModelForm):
|
|||
"bird",
|
||||
"date_found",
|
||||
"place",
|
||||
"rescuer",
|
||||
# "rescuer",
|
||||
]
|
||||
labels = {
|
||||
"bird": _("Vogel"),
|
||||
"date_found": _("Datum des Fundes"),
|
||||
"place": _("Fundort"),
|
||||
"rescuer": _("Finder"),
|
||||
# "rescuer": _("Finder"),
|
||||
}
|
||||
|
|
|
@ -4,6 +4,6 @@ from .views import rescuer_all, rescuer_create, rescuer_single
|
|||
|
||||
urlpatterns = [
|
||||
path("all", rescuer_all, name="rescuer_all"),
|
||||
path("<id>", rescuer_single, name="rescuer_single"),
|
||||
path("create", rescuer_create, name="rescuer_create"),
|
||||
path("<id>", rescuer_single, name="rescuer_single"),
|
||||
]
|
||||
|
|
|
@ -16,4 +16,4 @@ def rescuer_single(request, id):
|
|||
|
||||
|
||||
def rescuer_create(request):
|
||||
return render(request, "rescuer/rescuuer_create.html")
|
||||
return render(request, "rescuer/rescuer_create.html")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue