No, if that permission is applied to the whole application.

But you can aply the permission per view ... just delete that configuration
in the settings file and manually apply on the views you want to.

2015-07-01 11:03 GMT+01:00 Cherie Pun <cherie.cy....@gmail.com>:

> Yes it is, would it be possible to disable it for a particular page?
>
> Cheers,
> Cherie
>
> On Wednesday, July 1, 2015 at 10:15:57 AM UTC+1, monoBOT monoBOT wrote:
>
>>
>> 2015-07-01 8:51 GMT+01:00 Cherie Pun <cherie...@gmail.com>:
>>
>>>
>>> We are using 'deploy.middleware.basicauth.BasicAuthMiddleware' right
>>> now. If I remove that line, I will be able to access the api page. However
>>> if it's included, when I access the api page, even after I have typed in
>>> the username and password, the api page will show that I am not
>>> authenticated to view the page. I am using django_rest_framework by the
>>> way, maybe it's some sort of restriction on their side?
>>>
>>
>> ​Go check the settings.py to see if you have a permission setting for the
>> whole application.
>>
>>
>>
>> --
>> *monoBOT*
>> Visite mi sitio(Visit my site): monobotsoft.es/blog/
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/cef52288-e081-4243-b9ec-a385b9363ec8%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/cef52288-e081-4243-b9ec-a385b9363ec8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*monoBOT*
Visite mi sitio(Visit my site): monobotsoft.es/blog/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BxOsGAE1sZPpoN3spTZRZof4XHz4f1AWAzOyEtNwDU%3Dof3K8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to