Cool. I understand putting a temporary solution in place to get the
job done sometimes.
Glad I could help.
Shawn
--
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
Thanks for the warning. But dont worry,i had no intention of leaving
it like that. As i said i dont know much about decorators,so i thought
it would be better to learn more about decorators before using them.
So i was reading the docs.
Yes,that is what i was looking for. I modified the login view
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 using the decorators at contrib.auth.decorators
> but it didnt work.
Doing something the wrong way you're comfortable with instead of
making yourself better
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
> >
o 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 ?
>
>
--
You received this message because you ar
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
--
Yo
6 matches
Mail list logo