Files
2023-04-12 06:41:30 -05:00

321 B

Generated from context.py on 2023-04-12 10:09:44.563425

peeringdb_server.context

Define custom context managers.

Functions


current_request

def current_request(request=None)

Will yield the current request, if there is one.

To se the current request for the context pass it to the request parameter.