How is your login view working ?
Or this is your login view ?
Please share the whole app views and urls.
(I suggest using DRF class based views as it's alot useful and helpful when
it comes to authentication and permissions)
Regards,
--
Ammar Mohammed
On 21 Jul 2022 08:24, "Salima Begum" wrote
Thanks Ammar Mohammed for the quick response, After login to the
website through Chrome browser, I got the response.
But when I run from Postman to test API by mentioning Basic AUTH
credentials of which I created user models login credentials it's giving
home page html response but which I want
Hey Salima
I guess you can use access token authentication in DRF.
But Do you recive the response without logging in?
Please explain more please
--
Ammar Mohammed
+249 113075979
On 21 Jul 2022 07:08, "Salima Begum" wrote:
> Hi all,
>
> I am trying to convert my current project(It is developed i
3 matches
Mail list logo