From 2225a2b87ef8ea633cd8659b58d95f0855b326a5 Mon Sep 17 00:00:00 2001 From: Shwetabh Kumar Date: Thu, 16 Jan 2020 17:03:06 +0530 Subject: [PATCH] Removing cache - becase of risk --- fyle_rest_auth/authentication.py | 4 ---- setup.py | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/fyle_rest_auth/authentication.py b/fyle_rest_auth/authentication.py index c354f48..f87d620 100644 --- a/fyle_rest_auth/authentication.py +++ b/fyle_rest_auth/authentication.py @@ -1,8 +1,6 @@ import json import requests -import requests_cache - from django.contrib.auth import get_user_model from django.conf import settings @@ -11,8 +9,6 @@ from .models import AuthToken -requests_cache.install_cache('demo_cache', backend='sqlite', expire_after=1200) - User = get_user_model() diff --git a/setup.py b/setup.py index 92f719b..fba163f 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setuptools.setup( name='fyle-rest-auth', - version='0.1.0', + version='0.2.0', author='Shwetabh Kumar', author_email='shwetabh.kumar@fyle.in', description='Django application to implement OAuth 2.0 using Fyle in Django rest framework', @@ -18,7 +18,7 @@ keywords=['fyle', 'rest', 'django-rest-framework', 'api', 'python', 'oauth 2'], url='https://github.com/fylein/fyle-rest-auth', packages=setuptools.find_packages(), - install_requires=['requests', 'requests-cache', 'django==3.0.1', + install_requires=['requests', 'requests-cache', 'django>=3.0.2', 'django-rest-framework==0.1.0', 'requests-cache==0.5.2', 'fylesdk==0.11.0'], include_package_data=True,