Hi "python stories"
On 08/02/2020 10.43, python stories wrote:
File "C:\Users\user\PycharmProjects\pyshop\pyshop\urls.py", line 17
from django.urls import path path, include
^
SyntaxError: invalid syntax
Can anyone help me out. Many thanks!
The error clearly indicates what is wrong. You have a syntax error
because you don't use the correct syntax for importing modules. This was
the best help I could find:
https://www.tutorialspoint.com/How-to-use-multiple-modules-with-Python-import-Statement
This is extremely basic Python knowledge. I suggest you start out by
learning some basic python before diving into Django. Otherwise you'll
spent a lot of time dealing with very basic mistakes like this.
Kind regards,
Kasper Laudrup
--
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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/403285e2-8f41-b3a0-2fca-4e32b3cd9739%40stacktrace.dk.