mirror of
https://github.com/peeringdb/peeringdb.git
synced 2024-05-11 05:55:09 +00:00
* 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 * fix codeql warning: DOM text reinterpreted as HTML * fix global stats tests --------- Co-authored-by: 20C <code@20c.com>
24 lines
397 B
Markdown
24 lines
397 B
Markdown
Generated from stats.py on 2023-04-12 10:09:44.702367
|
|
|
|
# peeringdb_server.stats
|
|
|
|
Load and maintain global stats (displayed in peeringdb footer).
|
|
|
|
# Functions
|
|
---
|
|
|
|
## gen_stats
|
|
`def gen_stats()`
|
|
|
|
Regenerates global statics to stats.__STATS['data']
|
|
|
|
---
|
|
## stats
|
|
`def stats()`
|
|
|
|
Returns dict of global statistics
|
|
|
|
Will return cached statistics according to `GLOBAL_STATS_CACHE_DURATION` setting
|
|
|
|
---
|