Python - import 'serve' -- django

Import serve

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

from django.views.static import serve

 

For more information about serve:
Django serve