Add API: URLs, token auth, what-can-i-cook endpoint, log-cook with pantry deduction, browsable API

This commit is contained in:
Caine
2026-04-02 16:33:31 +01:00
parent 487bf46979
commit fe00286f75
4 changed files with 43 additions and 3 deletions
+3 -1
View File
@@ -15,8 +15,10 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from django.urls import path, include
urlpatterns = [
path('admin/', admin.site.urls),
path('api/', include('kitchen.urls')),
path('api-auth/', include('rest_framework.urls')), # browsable API login
]