diff --git a/config/docker-compose.py b/config/docker-compose.py index e1386005..896854be 100644 --- a/config/docker-compose.py +++ b/config/docker-compose.py @@ -24,6 +24,5 @@ CACHES = { } DEBUG = False -TASTYPIE_FULL_DEBUG = False ALLOWED_HOSTS = ["*"] diff --git a/config/docker.py b/config/docker.py index 707510de..66397492 100755 --- a/config/docker.py +++ b/config/docker.py @@ -24,4 +24,3 @@ CACHES = { } DEBUG = True -TASTYPIE_FULL_DEBUG = True diff --git a/config/local.py b/config/local.py index 4f1f3c22..42f070e3 100755 --- a/config/local.py +++ b/config/local.py @@ -14,4 +14,3 @@ CACHES = { } DEBUG = True -TASTYPIE_FULL_DEBUG = True diff --git a/config/settings.py b/config/settings.py index caa795a1..5a1e7f2b 100755 --- a/config/settings.py +++ b/config/settings.py @@ -86,10 +86,7 @@ SECRET_KEY = os.environ.get( "SECRET_KEY", "ubx+22!jbo(^x2_scm-o$*py3e@-awu-n^hipkm%2l$sw$&2l#" ) -CUSTOM_APPS = ( - "tastypie", - "pokemon_v2", -) +CUSTOM_APPS = ("pokemon_v2",) INSTALLED_APPS = ( "django.contrib.auth", @@ -107,8 +104,6 @@ INSTALLED_APPS = ( API_LIMIT_PER_PAGE = 1 -TASTYPIE_DEFAULT_FORMATS = ["json"] - CORS_ORIGIN_ALLOW_ALL = True CORS_ALLOW_METHODS = "GET" diff --git a/requirements.txt b/requirements.txt index 202d954d..ad52ef4d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,18 +1,13 @@ Django==3.1.14 Unipath==1.1 coverage==4.5.1 -django-appconf==1.0.4 django-cors-headers==3.11.0 django-discover-runner==1.0 django-redis==4.12.1 django-cachalot==2.3.5 -django-tastypie==0.14.3 djangorestframework==3.14.0 -drf-ujson==1.2.0 gunicorn==20.1.0 mimeparse==0.1.3 psycopg2-binary==2.9.5 python-dateutil==2.8.1 python-mimeparse==1.6.0 -simplejson==3.17.2 -six==1.15.0