Thursday, August 1, 2019

Re: Writing your first Django app, part 1 - Can't Follow it

Just out of curiosity, Python is case sensitive. The function names, 'path' and variable 'urlpatterns'.  I have gone through the tutorials with no problem.

On Thu, Aug 1, 2019, 11:04 Franck Tchouanga <ftchouanga@gmail.com> wrote:
Firstly in your mysite/mysite/URLs.py in the url patterns portion instead type this

Urlpatterns=[

      Path('',include ('polls.URLs')),
      Path('admin/',admin.site.URLs),
]

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/31740f34-af4a-42a1-bdbd-898d67db162a%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALfkE84TgFUE2Cp6nGico_GTKrKwMv34EwavMuOSuupLtTbeHg%40mail.gmail.com.

No comments:

Post a Comment