Re: Getting NoReverseMatch at /logout/

2016-03-28 Thread Deepanshu Sagar
; > name is for reverse lookups from inside the django app not for the urls. > > 2016-03-28 10:49 GMT+01:00 Deepanshu Sagar >: > >> Hello, >> >> I am getting below error while clicking on logout button on webpage: >> >> >> boardgames/url.py co

Getting NoReverseMatch at /logout/

2016-03-28 Thread Deepanshu Sagar
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

Re: unhashable type: 'dict'

2016-03-19 Thread Deepanshu Sagar
#x27;next_page': 'boardgames_home'}, > name='boardgames_logout'), > > -- > Bruno Barbosa > Web Developer > *brunobarbosa.com.br <http://brunobarbosa.com.br>* > > On Tue, Mar 15, 2016 at 10:32 AM, Deepanshu Sagar > wrote: > >> yes, thank you

Re: unhashable type: 'dict'

2016-03-19 Thread Deepanshu Sagar
mes, 'finished_games': finished_games} return render(request, "user/home.html", context) So, Game is not getting imported with: from tictactoe.models import Game below is my directory tree: any help is appreciated. thanks Deepanshu On Wednesday,

Re: unhashable type: 'dict'

2016-03-15 Thread Deepanshu Sagar
jango.contrib.auth.logout > > > El martes, 15 de marzo de 2016, Deepanshu Sagar > escribió: > > Hello, > > i am getting below error while accessing http://localhost:8000/login/. > > > > > > > Below are the chaining codes. > > boardgames\ur

unhashable type: 'dict'

2016-03-15 Thread Deepanshu Sagar
Hello, i am getting below error while accessing http://localhost:8000/login/. Below are the chaining codes. boardgames\urls.py boardgames\templates\login.html NOTE: before adding " url(r'^logout/', {'next_page': 'boardgames_home'}, name='boardgames_logout') to boardgames\urls.py. the a