Files
20C fa10b9df85 Don't allow the first and last addresses being assigned #1241
Show all e-mail addresses associated with a username #1291

Add permission 'manage peering sessions' #1290

Put an Icon next to user name on https://www.peeringdb.com/org/nnnn#users if the user is using U2F #1238

Tie TOTP devices and Webauthn Security Keys to the user account #1339

v2 Search (#1204)

pin django peeringdb 3.0.1 and poetry relock

linting
2023-05-15 16:51:24 +00:00

322 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.