Correct work of project using API methods need the variable API_URL is been defined in your settings.py. In local projects this variable must defined in local_settings.py. Example: API_URL = "http://127.0.0.1:8080/"
Correct work of project using API methods need the variable API_URL is been defined in your settings.py. In local projects this variable must defined in local_settings.py. Example: API_URL = "http://127.0.0.1:8080/"