Beka
Thank you so much ☺️😊
You're very welcome and enjoy programming.😎
Sodaney
Hello guy. I have a token and how to test it in Postman?
Anonymous
Akhil
Hello guys, Can anyone suggest good book dor intermediate level django?
Tushar
I would suggest you to go ahead and read the documentation and create some difficult projects
Akhil
Okay, thank you😇
Tushar
Sure no worries
Anonymous
Can anyone teach me Django ?
Doragonsureiyā
Can anyone teach me Django ?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
D
Does anyone know how to Create custom user model and also using DRF token authentication ?
Anonymous
any paid django job? DRF or custom
Doragonsureiyā
Prateek
Does anyone know how to Create custom user model and also using DRF token authentication ?
First create the class using foreign key they see the rest api documentation for the authentication
Beka
Then what's the best way
start from simple create to do app with basic CRUD actions.
Anonymous
Does anyone know how to Create custom user model and also using DRF token authentication ?
https://simpleisbetterthancomplex.com/tutorial/2016/07/22/how-to-extend-django-user-model.html
Anonymous
These are all the way four way you can extend user model in django.
pankaj
Hi everyone, can anyone tell how to create a relation between multiple table to retrieve the data from multiple table please suggest I m struggling to do.
Beka
Hi everyone, can anyone tell how to create a relation between multiple table to retrieve the data from multiple table please suggest I m struggling to do.
1. It's up to database structure. You need to really identify the behavrior of your database structure. 2. Regarding getting data from multiple tabels read about "chain". Here is link for it: https://stackoverflow.com/questions/431628/how-to-combine-two-or-more-querysets-in-a-django-view
pankaj
Hi thanks but need more clearance actually I tried with Foreignkey but error I m getting like not allowed to add the child row.
Tushar
I think it might help
pankaj
I m watching
Tushar
Sure if you have the doubt post here I have some other resources as well
pankaj
Hi Tushar thanks send if u have other resources meanwhile I m going with this.
Tushar
Yes sure I'll do that let me know if that helps you
pankaj
K
Tushar
https://youtu.be/2KqhBkMv7aM https://youtu.be/mQhyQGKh38s
Tushar
Go through these two videos along with the first one I sent . All the three should help
Tushar
Let me know if you still have some doubt
kritikos
why i am feeling django too difficult to learn
You can learn by doing Real projects
Michael the wolf 🐺
In django, how do I use models.ForeignKey to another schema in same database?
∆$¶u
You can learn by doing Real projects
Me too... Please, If anyone is interested to do projects together through team viewer then please DM me guys
V
I trying to implement signup functionality for a new user for a project am working on.. but i also want to verify users mobile number through otp.. i know i can generate otp using random module.. but how can i send that otp to users phone no? i searched all tutorial videos and its all using twilio or 2factor.. is their any other way to send otp?
Sopan
I trying to implement signup functionality for a new user for a project am working on.. but i also want to verify users mobile number through otp.. i know i can generate otp using random module.. but how can i send that otp to users phone no? i searched all tutorial videos and its all using twilio or 2factor.. is their any other way to send otp?
You need to sign-up with SMS gateway guys.. it's generally paid service! And these days DLT has screwed up most of the things... Are you sure you want to use mobile numbers for authentication etc? I would strongly suggest to go for email based authentication. It's much easy to handle...
<♡❤......♥♡> {°~_~°}
Salom
<♡❤......♥♡> {°~_~°}
Kim bor
<♡❤......♥♡> {°~_~°}
Qanday gurpa bu
<♡❤......♥♡> {°~_~°}
Heloo
Doragonsureiyā
Hi! This group is English-only. Please, translate your message into English and delete the non-english message. Or move to a group speaking your language (type &quot;!ol&quot; to see the list). Thank you.
0x31c4ae1
Qanday gurpa bu
siz ucuhn emas, bemalol chiqib ketavering.
Sopan
If am going for email based authentication, forgive me if am wrong, if am using smtp, we can only specify one id right?
Oops... I guess there is something wrong here: - Are you trying to use your or some mobile number to your Application and send OTP using that mobile? Are you trying to create SMS gateway using some existing number? If yes, then my advice is invalid. - If you are trying to send SMS from Application without having any HEADER, then SMS gateway is required. - About my advice of using Email: you need to integrate with SMTP gateway (may be using some authentication) so that the email can be sent to individual users. If things are not clear then just ingore above message and move on 😂😂😂
Sopan
For that you need to send SMS. SMS is sent using some mobile number or sent using some sms gateway.
Sopan
SMS gateway is better option but it&#39;s always paid service
Tushar
Did you try twilio?
V
Did you try twilio?
No i didn&#39;t.. because when i googled, i found that its only available from 9 to 9
JeeSuuSiiTooH! <3
Hi everyone, anyone can help me? I&#39;m having troubles using Django API Rest
Sopan
No i didn&#39;t.. because when i googled, i found that its only available from 9 to 9
That&#39;s because of govs restriction... There are different types messages: OTP, Promotional...and some more .. OTP should be all day... Promotional are 9AM to 9PM.
V
Is twilio paid?
ARBAAB
i have passed some data to database as list now anyone can tell me how to fetch single data from that list or fetch one by one
ARBAAB
when i fetch i get ids like this [&#39;1&#39;, &#39;2&#39;]
ARBAAB
i want to split this list
ARBAAB
can anyone help me😊
ARBAAB
In view .py?
in view or in template
Prateek
in view or in template
Where u want to split
Prateek
Its better to split it views .py by using simple python code
ARBAAB
Where u want to split
let me explain, i have task i have to assign it to 3 or 4 members when i select that for members then i can do that 4 user can get the task and can be stored in database but as list but when i want to fetch there names one by one then its not working
ARBAAB
even if i loop twice still can not get there names😐 or even there ids split what i will fetch is list like this [&#39;1&#39;,&#39;2&#39;,&#39;3&#39;,&#39;4&#39;]
ARBAAB
Try list() pass in this
how can you explain a little bit
ARBAAB
and its joined with 3 tables also i am using raw query
ARBAAB
i am passing ids
ARBAAB
my problem is just to fetch those ids back from list one by one not in one list other things are easy
丂ㄚ丂ㄒ乇爪.乇乂乇
Hello, i have a problem about debug mode. I published my web site with nginx and gunicorn. When debug mode is true then web site working but when i change debug mode false then web site not works. I also add my domain name and ip address to allowed hosts. Do you have any idea? Maybe nginx also have allowed hosts, i don’t know
Shanks
How to inputs from bootstrap modal form and save to database
Anonymous
Anyone Online?
SHAKEEL
How to inputs from bootstrap modal form and save to database
It&#39;s simple....Makes changes only in Template file
Shanks
The modal form is in base.html which I&#39;m using everywhere now tell me how to do it