Thursday, August 1, 2019

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

Yes, so respect the syntaxes exactly it is written by default in django, its a better practice to avoid unwanted errors.

Just need to  give modification depending on the project you created

On Thu, Aug 1, 2019 at 12:07 PM Nde Nguti <nguti.donatus@gmail.com> wrote:
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.

--
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/CANRJ%3D3%3DgohC9m%2BZuaLGkyuheu4oLpGoH5pZKUmXJVke-Vhdq4g%40mail.gmail.com.

No comments:

Post a Comment