Re: Django and React Integration

2023-11-11 Thread Travis Pickle
check your URL in settings, if unsure check the jinja file for the email template to see what variables are beening used Travis Pickle On Sat, Nov 11, 2023, 10:19 AM Ansh Varshney wrote: > Hello Everyone i am facing a little issue while integrating django rest > framework along with r

Re: Get request, has PK, how do I access the PK data with in the model

2018-01-29 Thread Travis Pickle
query cars with the same year as the > user for example, you could do this: > > user = User.objects.get(pk=1) > cars = Car.objects.filter(year=user.birthday.year).all() > > > Regards, > > Andréas > > 2018-01-29 14:30 GMT+01:00 Travis Pickle <travis...@gmail.com

Re: Get request, has PK, how do I access the PK data with in the model

2018-01-29 Thread Travis Pickle
values from PK1. if I knew how to assign them, and then use it for a search it would have different questions. On Monday, January 29, 2018 at 4:30:03 AM UTC-5, Daniel Roseman wrote: > On Sunday, 28 January 2018 19:01:35 UTC, Travis Pickle wrote: >> >> I am using django 1.8. >>

Re: Get request, has PK, how do I access the PK data with in the model

2018-01-28 Thread Travis Pickle
Jan 27, 2018 at 8:19 AM, Travis Pickle <travis...@gmail.com > > wrote: > >> Andy, >> >> Do you have a link for this? Thanks >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" grou

Re: Get request, has PK, how do I access the PK data with in the model

2018-01-27 Thread Travis Pickle
Andy, Do you have a link for this? Thanks -- 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,

Get request, has PK, how do I access the PK data with in the model

2018-01-25 Thread Travis Pickle
Lets say I have a model called Users. I request(get) http://www.google.com/user/*id* * (pk)* The users has age but finds to find other users with in same range, as well as other items that might be different ages. Lets say I want to find similar interest for