Problem in running in Module 3

On running without any change, it gives me the following error:

django.core.exceptions.ImproperlyConfigured: Requested setting REST_FRAMEWORK, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.

Can someone tell me what to do?

i don’t think you have to run the file
you need to start the server and try posting via the app by selecting an image, writing a message and selecting the pinterest icon.
let me know if it works.

1 Like

you have to make some changes in according to TODO’s in and make sure your django server is on in another terminal.

1 Like