Perform a join in 5 tables or more than that USIN ORM

2022-01-30 Thread narendra...@gmail.com
hello folks, any django ex[ert here, I want to know if anybody can do multiple join more than 5 tables at once using ORM Prefetch,prefetch_related,select_related using any of these or in a different way please ping, or just write over here how can we solve that. i didn't get any clue help

FILE UPLOAD IN Nested Serializer

2021-08-25 Thread narendra...@gmail.com
I have a plain text field in Parent Table and should upload a file in child table and has a foreign key relation in both table. I cannot upload a file in nested serializer. I didn't get a file data in serializer create function. it take a data of parent serializer and delete the data of Nested

File in nested serializer

2021-06-14 Thread narendra...@gmail.com
Hi Folks, I'm having a problem to insert a data in nested serializers with FileField. If anybody know the idea of doing that would you guys please just help me out. I googled it for the solution but found the problem asked but not a solution. And somewhere in git i found that it is hard to

DRF simplejwt refresh access_token stored in httponlycookies

2021-05-07 Thread narendra...@gmail.com
i'm using django as my backend and react as frontend. i'm using simplejwt for authentication. i can get access and refresh token and has stored in httponly cookies. now i'm not able to refresh a token. can somebody help me out? -- You received this message because you are subscribed to the

Django rext framework join multiple table without nested data

2021-02-01 Thread narendra...@gmail.com
i have a two table and want to fetch data based on their relationship using serializer. I'm able to get nested data like { 'ID':1, 'name':'abc', 'address':[ { } ] but i want it as in single not as nested { . } can any body help me with sample code or reference me a good example so i

WSGIAUTHORIZATION

2020-12-10 Thread narendra...@gmail.com
Do we need to do WSGIAUTHORIZATION ON in order to authorize a jwt token. I am getting "detail": "Authentication credentials were not provided." while sending a authorizationtoken and 403 forbidden. can somebodyhelp me out. -- You received this message because you are subscribed to the Google

DJOSER And Simple Jwt Authentication

2020-12-10 Thread narendra...@gmail.com
Hi dear friends, Anyone here familiar With DJoser and Simplejwt. I am using it for authentication and i got a problem. I can get refresh and access token and when i resends a access token to authenticate users i got a 403 forbidden like this GET http://localhost:8000/auth/users/me/ 403

DJANGO AUTHENTICATION

2020-12-07 Thread narendra...@gmail.com
Which authentication package is best between DJOSER and DJANGO-ALLAUTH? Can anyone suggest. I'm doing a project using React as frontend and Django as backend -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and