Your problem might be mixing include and name in the urls.py file.
reverse("home") should give you better result.2016-03-28 13:31 GMT+02:00 Deepanshu Sagar <[email protected]>: > Oh okay, > > So, If I want to navigate to home page, which is at '/', how do it give > the parameter for this along with next_page key-value pair? > > url(r'^logout/$', auth_views.logout, {'next_page': 'boardgames_home'}, > name='boardgames_logout'), > > > Thank you for the reply though. > > Regards > Deepanshu > > > On Monday, March 28, 2016 at 4:39:34 PM UTC+5:30, monoBOT monoBOT wrote: > >> That url doesnt exist on your urls.py >> >> looks like you are trying to navigate to "boardgames_home" >> when trying to access the "/" url >> >> name is for reverse lookups from inside the django app not for the urls. >> >> 2016-03-28 10:49 GMT+01:00 Deepanshu Sagar <[email protected]>: >> >>> Hello, >>> >>> I am getting below error while clicking on logout button on webpage: >>> >>> >>> boardgames/url.py contains: >>> >>> >>> main/urls.py and views.py are below. >>> >>> >>> >>> >>> please guys, any help is appreciated. >>> >>> Regards >>> Deepanshu >>> >>> -- >>> 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 [email protected]. >>> To post to this group, send email to [email protected]. >>> 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/8fbe6e38-84c9-4ccb-b0e1-b91eade1b036%40googlegroups.com >>> <https://groups.google.com/d/msgid/django-users/8fbe6e38-84c9-4ccb-b0e1-b91eade1b036%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> *monoBOT* >> Visite mi sitio(Visit my site): monobotsoft.es/blog/ >> > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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/ccf6f3ee-34a0-476d-b44f-8d5d4c9ea55d%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/ccf6f3ee-34a0-476d-b44f-8d5d4c9ea55d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Cordialement, Coues Ludovic +336 148 743 42 -- 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 [email protected]. To post to this group, send email to [email protected]. 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/CAEuG%2BTb0HJoYg%3Dvokvkte-0RjkHqT17fQcrBXN70z9K%3DvaQC0w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

