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

2022-01-30 Thread narendra thapa
here are my models serializers and views and i need a data in tree structure. the function in view file is get_course_tree_view and rest are the models and serializers I need to join all these tables together to fetch data i was able to do only three joins On Sun, Jan 30, 2022 at 8:37 PM Sam Chaff

collaborate to do a project for beginners

2020-08-10 Thread narendra thapa
hello everyone,I'm a beginner in django. I want to learn django by implementing . If their is someone who wants to collaborate to do a project and learn django please let me know. Regards, Narendra Thapa Cheers ;) -- You received this message because you are subscribed to the G

Re: Python Django Training

2020-12-07 Thread narendra thapa
hello please add me also in training group? On Fri, Feb 21, 2020 at 7:27 PM Bharati Nilam wrote: > Hi, > I also from Hyderabad and I'm also interested in the training. please tell > me how to join? > > Regards, > Bharati > > On Thu, 20 Feb, 2020, 6:19 PM Thiagu Palaniappan, < > thiagarajan@

Re: Python Django Training

2020-12-08 Thread narendra thapa
i‬‏ <‪dt23...@gmail.com‬‏>:‬ >> >>> Consider me also I'm interested >>> >>> On Mon, Dec 7, 2020, 1:40 PM narendra thapa >>> wrote: >>> >>>> hello please add me also in training group? >>>> >>>> >>>&g

Re: DJOSER And Simple Jwt Authentication

2020-12-10 Thread narendra thapa
Thank YOu bro but it didn't help me out I want specific with djoser and simple jwt On Thu, Dec 10, 2020 at 5:52 PM Ayser shuhaib wrote: > Please check this video it might help: > > https://youtu.be/mHz6UuDXPE8 > > > On Thu, 10 Dec 2020 at 14:01, narendra...@gmail.com < > narendrathapa...@gmail.c

Re: WSGIAUTHORIZATION

2020-12-11 Thread narendra thapa
I am using JWT . I can get the access and refresh token and while i resent the access token Authorization : JWT it send 403 forbidden. I am using DJOSER and simple JWT for authentication and authorization. On Fri, Dec 11, 2020 at 1:45 PM Nitin Kalmaste wrote: > Check weather sending token in a

Re: WSGIAUTHORIZATION

2020-12-11 Thread narendra thapa
here is the project On Fri, Dec 11, 2020 at 5:02 PM Nitin Kalmaste wrote: > Can you share some of your code so we can figure it out? As early as > possible > > On Fri, 11 Dec 2020, 3:18 pm narendra thapa, > wrote: > >> I am using JWT . I can get the access and refr

Re: WSGIAUTHORIZATION

2020-12-11 Thread narendra thapa
g_started.html> -- Use > this as a reference and start your project > > > On Fri, Dec 11, 2020 at 8:09 PM Nitin Kalmaste > wrote: > >> Have you followed the official documentation? i dont't see that you have >> used any settings >> >> On Fri, Dec 11

Re: WSGIAUTHORIZATION

2020-12-11 Thread narendra thapa
fig1).then( response => response ) console.log(res1); }catch(err){ console.log(err) } On Fri, Dec 11, 2020 at 8:47 PM Nitin Kalmaste wrote: > Can You send me json request details, how you are sending data to server > using react > > On Fri, Dec 11, 2020 at 8:21 PM narendra thapa &

Re: WSGIAUTHORIZATION

2020-12-11 Thread narendra thapa
i have used postman also to check the endpoint but same problem. I think problem is in django backend not in react. On Fri, Dec 11, 2020 at 9:14 PM narendra thapa wrote: > const config1 = { > headers:{ > 'Content-Type':'application/json', > 'Authorization&

Re: WSGIAUTHORIZATION

2020-12-11 Thread narendra thapa
shall i remove the space between it or what. According we need to give onespace between jwt right On Fri, Dec 11, 2020 at 11:17 PM Nitin Kalmaste wrote: > There is space between jwt and token i.e. Authorization: jwt > > On Fri, 11 Dec 2020, 9:03 pm narendra thapa, > wrote: >

Re: WSGIAUTHORIZATION

2020-12-11 Thread narendra thapa
jwt and token i.e. Authorization: jwt > > On Fri, 11 Dec 2020, 9:03 pm narendra thapa, > wrote: > >> i have used postman also to check the endpoint but same problem. I think >> problem is in django backend not in react. >> >> On Fri, Dec 11, 2020 at 9:14 PM narendr

Re: WSGIAUTHORIZATION

2020-12-11 Thread narendra thapa
yeah i figured out the problem bro thank you very @Nitin Kalmaste much giving your previous time. On Sat, Dec 12, 2020 at 8:00 AM narendra thapa wrote: > Nothing works for me tried everything, always throws a forbidden. Djoser > documentation says support upto Djnago-restframework V11

Re: WSGIAUTHORIZATION

2020-12-11 Thread narendra thapa
TYPO ERROR in Rest_Framework :{ 'Default_Atuhentication_classes, I wrote authentication On Sat, Dec 12, 2020 at 9:28 AM Nitin Kalmaste wrote: > What was the bug? > > On Sat, 12 Dec 2020, 8:52 am narendra thapa, > wrote: > >> yeah i figured out the problem bro than

Re: Django/python free Training

2020-12-23 Thread narendra thapa
interested to connect with you On Wed, Dec 23, 2020 at 3:07 AM kerolos emad <55522ash...@gmail.com> wrote: > very nice to hear that > interested > > On Fri, Dec 18, 2020, 4:26 PM Python Class > wrote: > >> Hi guys, >> >> I am manucho from Kenya and am good developer with django and python and >

Re: DRF simplejwt refresh access_token stored in httponlycookies

2021-05-08 Thread narendra thapa
Thank You @Michal Thomas, i was able to refresh a token now, But i got another confusion from your answer :D. Which is the best place to store a refresh token to make it secure? On Sat, May 8, 2021 at 12:20 PM Michael Thomas < michael.thomas.s...@gmail.com> wrote: > Generally speaking, storing a

Re: File in nested serializer

2021-06-15 Thread narendra thapa
Actual problem is nested serializer is not accepting a QueryDIct data it accepts only the parent data and delete the child automatically. when i parse the QueryDIct data to JSON json.dumps() it will accept the child one but problem here is json.dumps() cannot convert InMEmoryField data type. So wha

Re: File in nested serializer

2021-06-15 Thread narendra thapa
Actual problem is nested serializer is not accepting a QueryDIct data it accepts only the parent data and delete the child automatically. when i parse the QueryDIct data to JSON json.dumps() it will accept the child one but problem here is json.dumps() cannot convert InMEmoryField data type. So wha

Re: File in nested serializer

2021-06-20 Thread narendra thapa
act,company) # contact['company'] = company company_contact_details.objects.create(company=company,** contact) return validated_data On Wed, Jun 16, 2021 at 8:26 AM Nikeet NA wrote: > Can you show me your nested serializer code. > > On Wed, 16

compsite key

2019-10-04 Thread narendra thapa
as i was trying to make a composite key on students model . i wanna make composite key of field enrolled year and roll no but django is not accepting a two primary key in same model -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscrib