Hi guys am experimenting how i can use django restful framework in a standalone python project , i am trying to import from rest_framework import status
from rest_framework.generics import GenericAPIView, from rest_framework.response import Response but this error is propping always how can i handle it considering its not a djangle project how can i hack it
File "/home/peter/.local/lib/python3.6/site-packages/django/conf/__init__.py", line 42, in _setup
% (desc, ENVIRONMENT_VARIABLE))
django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.