Re: Some questions on Django's authentication system

2007-07-21 Thread eXt
Hey, thats really cool - simple and effective solution. I'm really impressed. Thanks a lot. Regards -- Jakub Wisniowski --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: Some questions on Django's authentication system

2007-07-20 Thread Nathan Ostgard
Regarding the first question, you can do this by creating a middleware class which checks for authenticated users by default. You could also created a decorator to tag view functions as public. For example... in file yourproject/yourapp/middleware.py: from django.conf import settings from dj

Some questions on Django's authentication system

2007-07-20 Thread eXt
Hi all! I build an application which will use Django's authentication system. This is my first Django application that uses auth system, so sorry if the questions below are trivial. 1. Do I have to decorate all views with login_required if I want to keep them secured? Isn't there any inver