Re: Password Reset

2020-01-10 Thread Suraj Thapa FC
https://github.com/SurajFc/Django-DRF-Boilerplate-with-otp-verification On Fri, 10 Jan 2020, 12:35 pm Soumen Khatua, wrote: > Hi Guys, > In Django we have some inbuilt class for password rest and confirmation. > But In Django rest framework ,How can I do that? > > Please share any code snippet o

Re: Please check

2020-01-10 Thread RONAK JAIN
Please help me out what can I write code in views? On Fri, Jan 10, 2020 at 4:58 PM RONAK JAIN wrote: > > I am doing save data in form but models inside foreign key how can I save > data in my form? > > > > Sharing screen shorts please check. > > > > -- You received this message because you are

Re: Make a Django query filter at runtime

2020-01-10 Thread Ezequias Rocha
Hi Alex I could do almost all query but not the "not equals" could you give me some tip to add this operator to my object? I am doing the following way: if (operador == 'equals'): d[realname] = value elif (operador == greather than'): d[realname + '__gt'] = value

select field(s) from myytable;

2020-01-10 Thread Mohsen Pahlevanzadeh
Hello everybody, I can write a query with django if I have : "select * from mytable;" But if I have a field , I can write, such as "select f1,f2 from mytable;" Please help me. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe fr

How to write view in django to display friend_request which are sent by logged in user?

2020-01-10 Thread Akshat Zala
my view to display friendlist: def friend_list(request): context = { 'results_from_user': Friend.objects.filter(from_user=request.user), 'results_to_user': Friend.to_user } return render(request, 'friend/friend_list.html', context) my templat

Re: Business Opportunity

2020-01-10 Thread Anuoluwapo Oyebanjo
Goodday, I am interested.this is my cover letter. I am a tech enthusiast.I am a Python Developer with coding experience in teaching pupils and training of students,with hands-on on HTML and CSS. I have worked as Tech Support Officer while back then I garnered the experience and knowle

Re: Business Opportunity

2020-01-10 Thread Ggar Mehta
Hi, im TEACHING python ~2 years mostly in django. Iam interested Please send more info. On Fri, Jan 10, 2020 at 10:22 AM Anh Nguyen wrote: > Hi, im working with python ~5 years mostly in django. > Iam interesting. > Please send more info. > > On Wed, Jan 8, 2020 at 22:17 Philani Mthembu > wrote

Re: How to write view in django to display friend_request which are sent by logged in user?

2020-01-10 Thread sagar ninave
I did not get it please provide models.py On Fri, Jan 10, 2020 at 6:07 PM Akshat Zala wrote: > my view to display friendlist: > > def friend_list(request): > context = { > 'results_from_user': > Friend.objects.filter(from_user=request.user), > 'results

Re: Business Opportunity

2020-01-10 Thread Chibuike Onyejesi
Hello, I am interested. On Fri, Jan 10, 2020, 1:37 PM Ggar Mehta wrote: > Hi, im TEACHING python ~2 years mostly in django. > Iam interested > Please send more info. > > On Fri, Jan 10, 2020 at 10:22 AM Anh Nguyen wrote: > >> Hi, im working with python ~5 years mostly in django. >> Iam interes

Re: select field(s) from myytable;

2020-01-10 Thread Klaus Laube
I'm not sure if I got your question right, but I guess `values()` is what you are looking for: https://docs.djangoproject.com/en/3.0/ref/models/querysets/#values >From the documentation: > The values() method takes optional positional arguments, *fields, which > specify field names to which the S

Making an OR condition in a Queryset using .filter(**mydict)

2020-01-10 Thread Ezequias Rocha
Hi everyone I am using a dynamic filter and I am building my own arguments at runtime. The problem I am focusing is when I want my filter operates as an OR conditional. I am using the following way to do the AND filter data = { 'name': 'John', 'age': 42, } model.filter(**data) It works bu

Re: select field(s) from myytable;

2020-01-10 Thread Muhammed Rafi A
Mytable.objects.values('f1', 'f2') On Fri, Jan 10, 2020, 7:22 PM Klaus Laube wrote: > I'm not sure if I got your question right, but I guess `values()` is what > you are looking for: > https://docs.djangoproject.com/en/3.0/ref/models/querysets/#values > > From the documentation: > >> The values(

Re: Password Reset

2020-01-10 Thread Soumen Khatua
Suraj- You are generating the password by yourself. But in my case I want to give the freedom to users to choose the password by sending some mail like typical django inbuilt approach. Thank for your response. On Fri, Jan 10, 2020 at 2:13 PM Suraj Thapa FC wrote: > https://github.com/SurajFc/Dj

data type

2020-01-10 Thread Soumen Khatua
Hi Folks, I'm sending the json data from postman. But Inside my python code when I'm doing: Suppose my json data: *{ "name" : "soumen" }* *data = request.data* *print(type(data)) # * *How it is possible without using serializer, how data converted automatically?* Thank You Regards, Soumen -

Re: Business Opportunity

2020-01-10 Thread Mushfiqul lslam Chowdhury
Hello, I am interested. Please send more info. -- 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 view this discussion

BPMN Library for Django

2020-01-10 Thread santiago contreras
Hi People, I'm new to Django And I'm looking for a library that can be used with Django To do workflows, I found Viewflows and Spiffworkflow, but I don't know really which one is better. Have you ever used them before? Regards, Santiago. -- Santiago Contreras Castillo Python Developer -- You

Re: Regarding Internship

2020-01-10 Thread Ravi Shankar
Hi Deepak, I work for Qwikcilver a Fintech company and also we have NGO Career Vizion, we training students to become industry-ready. Call me on 9900777110 or send me message on shankar...@yahoo.com. Regards, H C Ravishankar On Sun, 22 Dec 2019 at 17:53, Deepak Singh wrote: > Hi there all, >