Unable to import path from django.urls

Submitted 3 years, 6 months ago
Ticket #200
Views 369
Language/Framework Django
Priority Low
Status Closed

Tried to run command:

from django.urls import path

Getting error:

Traceback (most recent call last): File "< stdin >", line 1, in ImportError: cannot import name 'path'

 using django version 1.11

Submitted on Oct 04, 20
add a comment

1 Answer

Verified

On that page in the bottom right hand corner you can change the documentation version to the version that you have installed. If you do this you will see that there is no entry for path on the 1.11 docs.

Submitted 3 years, 6 months ago


Latest Blogs