[Answered ]-NameError: name 'playground' is not defined

1👍

You have to import playground.urls:

import playground.urls

0👍

Do :

include("playground.urls")

Instead of :

include(playground.urls)

0👍

Wrap the string in quotes:

path('playground/', include('playground.urls')

Leave a comment