Re: Need help regarding url patterns

2012-02-03 Thread akaariai
On Feb 3, 2:50 pm, ankitrocks wrote: > Hi. > Thanks for replying. > > The reason  I used login/logout multiple times in the urls.py because > i was unable to redirect from polls/03/logout to polls/login. When I > am using href="../logout" , it works but sometimes when I am in > level-2 in doesnt w

Re: Need help regarding url patterns

2012-02-03 Thread ankitrocks
Hi. Thanks for replying. The reason I used login/logout multiple times in the urls.py because i was unable to redirect from polls/03/logout to polls/login. When I am using href="../logout" , it works but sometimes when I am in level-2 in doesnt work. Please ignore the parameters of poll id in log

Re: Need help regarding url patterns

2012-02-02 Thread akaariai
On Feb 2, 4:57 pm, ankitrocks wrote: > Please take a look at the following files: > > http://pastebin.com/F86G9XJn > > http://pastebin.com/p6gArpuG > > http://pastebin.com/zxNHVHbV > > http://pastebin.com/Rf9Kg9jf > > Now my problem is that, I want all the logout links in the templates > point to