Update urls.py
This commit is contained in:
@@ -15,7 +15,9 @@ Including another URLconf
|
||||
"""
|
||||
from django.contrib import admin
|
||||
from django.urls import path
|
||||
from django.http import JsonResponse
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('test/', lamda res: JsonResponse(res, {'hello':'world'}))
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user