[EMAIL PROTECTED] wrote: > Hi, > > I'd like to use django for authentication in apache, and it would be > nice to have group based access. > Therefore i did a little patch to django/contrib/auth/handlers/ > mod_python.py > > group = options.get('DjangoRequireGroup', None) > ... > if group: > kwargs['groups__name'] = group > > So i'm able to put something like > PythonOption DjangoRequireGroup somegroup > into my apache configuration > > I'd like to hear some opinions if thats a good idea.
Sounds like a decent idea to me, but you should really file a ticket for this so it won't be forgotten. Attaching your patch to the ticket would be a good idea too. Gary --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---