On 23/03/2022 12.55, Prashanth Patelc wrote:
> /I am getting this error /
> /please solve any one thanks in advance./
> /
> /
>
> 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.
>
Instead of just copy-pasting an error message, try to learn how to ask a
question someone has a chance to answer.
Reading something like this will help solve your problem:
https://www.propublica.org/nerds/how-to-ask-programming-questions
Kind regards,
Kasper Laudrup