mirror of
https://github.com/peeringdb/peeringdb.git
synced 2024-05-11 05:55:09 +00:00
Docs 202109 (#1067)
* module docstrings * db schema graph * dev docs first pass * dev docs pass 2 * add generated notification to top of generated docs files * linting * regen docs Co-authored-by: Stefan Pratter <stefan@20c.com> Co-authored-by: Sunshine Buchholz <sunshine@20c.com>
This commit is contained in:
@@ -1,17 +1,21 @@
|
||||
"""
|
||||
Django HTTPRequest utilities.
|
||||
"""
|
||||
|
||||
from peeringdb_server.context import current_request
|
||||
|
||||
|
||||
def bypass_validation(request=None):
|
||||
|
||||
"""
|
||||
Returns whether the specified request is to bypass
|
||||
certain data quality validations (#741)
|
||||
Return whether the specified request is to bypass
|
||||
certain data quality validations. (#741)
|
||||
|
||||
If not rquest is passed we will attempt to get
|
||||
If not request is passed, attempt to get
|
||||
the current request from the current request
|
||||
context.
|
||||
|
||||
If no request can be obtained this will return False
|
||||
If no request can be obtained this will return False.
|
||||
"""
|
||||
|
||||
if not request:
|
||||
|
Reference in New Issue
Block a user