Files

19 lines
322 B
Markdown
Raw Permalink Normal View History

2022-11-08 19:25:32 +02:00
Generated from context.py on 2022-11-08 14:31:50.933987
2021-10-15 03:25:38 -05:00
# 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.
2022-11-08 19:25:32 +02:00
---