Best,
Brian
--
Brian Bouterse
ITng Services
-- On Wed, Jan 26, 2011 at 2:11 AM, tobik <tobiaspotocek@gmail.com> wrote:
My first question is whether it is possible to restrict access to the
whole application from one place. I could write @login_required over
every function but is there a better way?
My second question is whether it is possible to use user groups for
restricting applications. I want for example that only users in group
'teachers' could access the 'teaching' application. I know that groups
are meant for something else but it would spare me a lot of time.
I've just started with Django so be patient with me :)
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
--
Brian Bouterse
ITng Services
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment