mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-12 22:10:16 +02:00
Removed requests caching in preparation of custom evewho caching manager.
Addresses #235
This commit is contained in:
parent
e8180ebc84
commit
fd2988dc46
@ -5,7 +5,7 @@ evelink
|
||||
dnspython
|
||||
passlib
|
||||
requests>=2.9.1
|
||||
requests_cache
|
||||
#requests_cache
|
||||
|
||||
# Django Stuff #
|
||||
django==1.6.5
|
||||
|
@ -2,10 +2,10 @@ from django.conf import settings
|
||||
|
||||
import logging
|
||||
import requests
|
||||
import requests_cache
|
||||
#import requests_cache
|
||||
import json
|
||||
|
||||
requests_cache.install_cache("{}/evewho".format(settings.EVEWHO_CACHE_DIR), backend="sqlite", expire_after=3600)
|
||||
#requests_cache.install_cache("{}/evewho".format(settings.EVEWHO_CACHE_DIR), backend="sqlite", expire_after=3600)
|
||||
|
||||
class EveWhoManager():
|
||||
def __init__(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user