Python - import 'static' -- django

Import static

To import static, Add the following line to the top of your code.

from django.conf.urls.static import static

 

For more information about static:
Django static