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
|
dnspython
|
||||||
passlib
|
passlib
|
||||||
requests>=2.9.1
|
requests>=2.9.1
|
||||||
requests_cache
|
#requests_cache
|
||||||
|
|
||||||
# Django Stuff #
|
# Django Stuff #
|
||||||
django==1.6.5
|
django==1.6.5
|
||||||
|
@ -2,10 +2,10 @@ from django.conf import settings
|
|||||||
|
|
||||||
import logging
|
import logging
|
||||||
import requests
|
import requests
|
||||||
import requests_cache
|
#import requests_cache
|
||||||
import json
|
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():
|
class EveWhoManager():
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
pip install -r requirements.txt
|
pip install --upgrade -r requirements.txt
|
||||||
yes yes | python manage.py syncdb
|
yes yes | python manage.py syncdb
|
||||||
yes yes | python manage.py evolve --hint --execute
|
yes yes | python manage.py evolve --hint --execute
|
||||||
yes yes | python manage.py collectstatic
|
yes yes | python manage.py collectstatic
|
||||||
|
Loading…
x
Reference in New Issue
Block a user