How to Solve NameError: name 'config' is not defined -- decouple
Solution: Import the 'config' module
# Add the following line to the top of your code
from decouple import config
For more information:
decouple config
# Add the following line to the top of your code
from decouple import config
For more information:
decouple config