Re: already logged in users

2011-04-19 Thread Luterien
as you said and its working the way i want now. Thanks a lot! On Apr 19, 9:18 pm, Shawn Milochik wrote: > On Tue, Apr 19, 2011 at 2:01 PM, Luterien wrote: > > I'm using the template method for now since i dont know much about > > decorators. I tried usi

Re: already logged in users

2011-04-19 Thread Luterien
se %} >   Show login/registration form here > {% endif %} > > Also I think doing it in templates is not right. It's job for decorators. > > On Tue, Apr 19, 2011 at 7:46 PM, Luterien wrote: > > Hello. I'm working on a django project and now i'm writing > >

already logged in users

2011-04-19 Thread Luterien
Hello. I'm working on a django project and now i'm writing register,login and logout pages. I dont want already logged in users to access register or login pages. Is it possible to do that on the template side or do i need to modify my login view ? Any help appreciated! Thanks -- You received th

Re: need some help with my first project

2011-04-11 Thread Luterien
Thanks for the replies! I guess i should start reading the docs on templates now. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to

need some help with my first project

2011-04-11 Thread Luterien
Hello. I'm a newbie web developer and i'm trying to learn Django. I'm working on a blog project,i've almost completed the index page which shows 10 latest posts. Now i want to add Categories to the sidebar,but i dont know how to do that. Do i need to create a get_categories view or use another met