Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vercel/examples
/ current_time
Function
current_time
python/django-rest-framework/api/views.py:8–9 ·
view source on GitHub ↗
(request)
Source
from the content-addressed store, hash-verified
6
7
@api_view([
"GET"
])
8
def
current_time(request):
9
return
Response({
"time"
: datetime.now(timezone.utc).isoformat()})
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected