mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 14:30:17 +02:00
Added simple caching.
This commit is contained in:
parent
1e86df3992
commit
185805ecc1
@ -5,6 +5,7 @@ evelink
|
||||
dnspython
|
||||
passlib
|
||||
requests>=2.9.1
|
||||
requests_cache
|
||||
json
|
||||
|
||||
# Django Stuff #
|
||||
|
@ -1,10 +1,11 @@
|
||||
|
||||
from django.conf import settings
|
||||
|
||||
import logging
|
||||
import requests
|
||||
import requests_cache
|
||||
import json
|
||||
|
||||
requests_cache.install_cache("evewhocache", backend="sqlite", expire_after=3600)
|
||||
|
||||
class EveWhoManager():
|
||||
def __init__(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user