I am new to the framework, and I wanted to go throu the tutorials and get an idea of things work.
Unfortunatly I couldnt get passed the polls example.
Any help would be appriciated.
Please be more specific here. Provide the details of what you have done and any errors you are receiving. Please also identify what operating system, version of Python, version of Django you are using and how you have them installed.
I am running version 4.0.6 on window
Here I dont know which directory I meant to go.
Should I creat a new file called
urls.py in the outter
mysite folder, or should I go to the inner
mysite folder and modify its content.
Because I did modify the inner
mysite.urls and got a syntaxt error:
And it indicates that the error comes from
from django.conf.urls import urls from django.contrib import admin from django.urls import include, path urlpatterns = [ path('polls/', include('polls/urls')), url(r'^admin/', admin.site.urls), ]
Now it is raising this error:
ImportError: cannot import name include
Hi I fixed it with terminal and virtual environment.
Vscode somehow does not allow me to activate the virtual env.