You are not using Django 2.0 and thus the path function is not existing in
Django 1.11.
Django 2.0 can only be installed with python3, while you are trying to use
python 2.7 for that job.
apt install python3 python3-pip
pip3 install virtualenv virtualenvwrapper
mkvirtualenv django-tutorial
Restart the tutorial from here.
Am Mittwoch, 21. Februar 2018 13:17:48 UTC+1 schrieb Sebastian Saade:
>
>
> <https://lh3.googleusercontent.com/-gRALjS6dNAA/Wozoxoms1_I/AAAAAAAAO9s/nD-tAnDXDk4tgfcbca5d1PoHhc5doeYkACLcBGAs/s1600/Captura%2Bde%2Bpantalla%2Bde%2B2018-02-21%2B00-13-04.png>
>
> Hello, I'm writing for help.
> I'm starting to get into Django's world.
> Testing the tutorial of the Django documentation "Writing your first
> application in Django" I found an error which I can not get out of when I
> modify polls / urls.py
> The url of the small tutorial is
> https://docs.djangoproject.com/en/2.0/intro/tutorial03/
> I share a screenshot of the error that throws me when I want to run the
> application.
> the help is appreciated
>
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/d0c3e1b5-cae6-4da9-88f5-de4ee7eecf94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.