It should be profiles.view not pages.view, bcos your app name is profile inside pages.
And secondly, add string like home in url home_view regular expression pattern so that you don't cause confusion for Django having two different default homepage. And then in your browser it should be localhost:8000/home
Or / anything you put inthe regular expression pattern
On Tue, Nov 15, 2022, 18:09 Adekola Aderonmu <gabkola94@gmail.com> wrote:
Hi, kindly help me with this error, i seem not to know what is the cause and how to fix it. Thank you. --
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/c1f5ebec-1672-4041-9f20-8e735d4fbdb3n%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/CAGoV8nnFKditze6dVc-p0KgrK%2B8py5uAjvb5PdSi59_R%3DpOLSw%40mail.gmail.com.
No comments:
Post a Comment