some more urls
This commit is contained in:
parent
9628826781
commit
50727688af
2 changed files with 23 additions and 1 deletions
12
fbf/urls.py
12
fbf/urls.py
|
@ -1,9 +1,19 @@
|
|||
from django.urls import path
|
||||
|
||||
from .views import bird_create, bird_all, bird_single
|
||||
from .views import (
|
||||
bird_create,
|
||||
bird_all,
|
||||
bird_single,
|
||||
bird_delete,
|
||||
bird_recover,
|
||||
bird_recover_all,
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
path("create/", bird_create, name="bird_create"),
|
||||
path("delete/<id>", bird_delete, name="bird_delete"),
|
||||
path("recover/all", bird_recover_all, name="bird_recover_all"),
|
||||
path("recover/<id>", bird_recover, name="bird_recover"),
|
||||
path("all/", bird_all, name="bird_all"),
|
||||
path("<id>/", bird_single, name="bird_single"),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue