How to Solve NameError: name 'Cling' is not defined -- dj_static

Solution: Import the 'Cling' module

To Solve the error, add the following line to the top of your code.

from dj_static import Cling

 

For more information:
Python dj_static Cling