try testing
This commit is contained in:
@@ -14,11 +14,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
|
||||
from django.http import JsonResponse
|
||||
|
||||
urlpatterns = [
|
||||
path('', lambda request: JsonResponse({"one": 1, "two": 2, "three": 3})),
|
||||
path('test/', lambda request: JsonResponse({'hello':'world'})),
|
||||
path('', include('api.urls')),
|
||||
path('admin/', admin.site.urls),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user