Update urls.py

This commit is contained in:
Reese
2020-04-23 02:57:39 +00:00
parent 5f0b84d458
commit ec6a1058c3

View File

@@ -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'}))
]