first urls and simple views

This commit is contained in:
gw3000 2023-06-07 18:36:54 +02:00
parent 1945ab39c5
commit 0c8ec0f8d1
3 changed files with 24 additions and 4 deletions

9
fbf/urls.py Normal file
View file

@ -0,0 +1,9 @@
from django.urls import path
from .views import bird_create, bird_all, bird_single
urlpatterns = [
path("create/", bird_create, name="fallen_bird_create"),
path("all/", bird_all, name="fallen_bird_all"),
path("<id>/", bird_single, name="fallen_bird_single"),
]