you have to call in urls.py
from django.urls import path
projectname.appname.views import home
url patterns=[
path('home/',home),
On Thu, Jan 10, 2019 at 10:11 PM abel otugeme <aotugeme@gmail.com> wrote:
Ones your view matches your use patterns it gets called and run anytime you try access the site
--
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 post to this group, send email to django-users@googlegroups.com.
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/CAMrS0S8J6VwHTqfDiWNN250JAU%2BCwqhJsNUdCdP5ni%3Dyj%3DYkEQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
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 post to this group, send email to django-users@googlegroups.com.
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/CAMriZeE9fywZX_%2BgG1JBedxnNKz2v_h9a1Q-LcQDtKFcSF9myA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment