74160/error-unable-to-import-path-from-django-urls
I"m trying 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'
Any help?
Hello @kartik,
You need Django version 2
pip install --upgrade django pip3 install --upgrade django python -m django --version # 2.0.2 python3 -m django --version # >3
Hope it works!!
Thank You!!
Hello,
No, it depend on python version you are using
Hi, If you successfully installed opencv in your ...READ MORE
If i understand your question correct then ...READ MORE
num = input("enter number") print(num) READ MORE
class NegativeWeightFinder: def __init__(self, graph: nx.Graph): ...READ MORE
Hi, there is only that way and ...READ MORE
Hi all, with regard to the above ...READ MORE
Hello @kartik, To turn off foreign key constraint ...READ MORE
Hello @kartik, Let's say you have this important ...READ MORE
Hello @kartik, Upgrading the packages will resolve the ...READ MORE
Hello @kartik, You can try this: from django.views.generic import ...READ MORE
OR
Already have an account? Sign in.