And quoting Tim Graham:

You'll get answers to questions like this on the django-users email list, 
<[email protected]> - the web interface is 
<https://groups.google.com/forum/#!forum/django-users>.

The list you've posted to is django-developers, which is for the discussion of 
the development of Django itself.

You might also find the #django IRC channel on irc.freenode.net helpful.

François

> On Jun 23, 2015, at 8:24 AM, Nacharov Mikhail <[email protected]> 
> wrote:
> 
> Dear, folks!
> 
> I wonder is there some architecture rule that doesn't allow CommonMiddleware 
> raise PermissionDenied exeption when client agent matches one of the 
> settings.DISALLOWED_USER_AGENTS regexps?
> 
> Right now if python developer wants to use this setting than all disallowed 
> clients get page with single header "Forbidden". And there is no way to 
> change this behavior (except write your own middleware of cause).
> 
> Thanks!
> 
> --
> Mikhail Nacharov
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-developers.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-developers/7182be11-0c36-4f69-896d-331cf337e877%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/B651F8C6-949E-4A11-A932-43B4B9E4A12C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to