if ur video is in any specific language please mention in title, people are unnecessarly wasting their time, to filter out the content i needed
@danielakpan54202 жыл бұрын
Apparently, it's a strategy to get views.
@knightrider15232 жыл бұрын
@@danielakpan5420 no
@mrlol50073 жыл бұрын
Can u add these videos on a single playlist
@programmer5182 жыл бұрын
hey there thanks for this video just wondering how to add a timer for example after 2 min the user can have another code?
@shubhamkale735 Жыл бұрын
can you tell me solution to this "django.db.utils.IntegrityError: UNIQUE constraint failed: accounts_user.username"
@desphixs Жыл бұрын
@@shubhamkale735it means that there is another user with the same username that already exists in the database, you can delete your dbsqlitr files and run migrate command again
@EasyCoding012 жыл бұрын
User instance is not creating. Facing Unique constraint failed error. users_user.username
@robinrai97942 жыл бұрын
Same problem I am facing
@roshanshendre15712 жыл бұрын
same
@aravindkrishna40842 жыл бұрын
username = models.CharField(max_length=40, unique=False, default='') Add this line above your phone_number in User model and re run migrations
@rahulcse0522 Жыл бұрын
bhaiya Twillio India me kam karta hai sms send krne k liye?????? API toh intergrate ho gayi working bhi hai lekin jab buy a number karte hai toh .not available in this country bta rha hai . koi solution bta do bhaiya
@bhavyajha15132 жыл бұрын
source code please?
@randheerkumargautam64332 жыл бұрын
how to this same thing without any password, just phone number and otp verification
@dakshpatel2333 Жыл бұрын
I have same question.
@KuriakoseKuruvilaAnathanam8 ай бұрын
Password field is of no use in OTP authentication. So is it okay to discard the password field.
@jagadisswain4485 ай бұрын
Yes
@TMKOC2512 Жыл бұрын
how we can do forgot password using mysql database.
@meet54758 ай бұрын
Its not working . i think something left for the video
@shreyaagnihotri995 Жыл бұрын
I had implemented the entire code successfully, but how do I connect this with my login page which is login.html
@abhijeet5643 Жыл бұрын
use forms
@shubhamkale735 Жыл бұрын
can you tell me solution to this "django.db.utils.IntegrityError: UNIQUE constraint failed: accounts_user.username"
@maamounhajnajeeb209 Жыл бұрын
@@shubhamkale735 the django model didn't get the current user correctly
@anuragk27 Жыл бұрын
Can you tell me please where and how to apply the api key??
@maamounhajnajeeb209 Жыл бұрын
I don't know, it didn't work with me@@anuragk27
@SpeedXArt Жыл бұрын
Not working for me.. please provide the source code..
@omkarsutar578 Жыл бұрын
"django.db.utils.IntegrityError: UNIQUE constraint failed: accounts_user.username" This error is getting while sending OTP from post request in POSTMAN. (There is no existing phone_number saved which can give unique constraint failure)
@ridamnagar8918 Жыл бұрын
I am also getting the same error
@shantanumahapatra14703 жыл бұрын
what is n point HIT
@deepaksharma-wo1ts2 жыл бұрын
what to do if user already exist Plzzz reply
@shahzadzahoor44932 жыл бұрын
from django.core.mail import send_mail import random from django.conf import settings from account.models import User def send_otp_email(email): subject = "Your Account verification email" otp = random.randint(100000, 999999) message = f'Your OTP is {otp}' email_from = settings.EMAIL_HOST_USER send_mail(subject, message, email_from, [email]) user_obj= User.objects.get(email= email) user_obj.otp = otp user_obj.save() Note: This code is used for send otp on email...If user already exists. Then apply this code.
@aniket_kalta Жыл бұрын
Done bro works fine from my side ... But 2factor team is sending OTP via calling ...
@anuragk27 Жыл бұрын
Bro can you tell where I have to put the Api key or how??
@anuragk27 Жыл бұрын
Resend otp wale ka video bna do bhai plz...🙏
@shakthi33313 жыл бұрын
English bro
@bibinkunjumon2 жыл бұрын
good bro
@codingforallnewtonschool2 жыл бұрын
Thanks alot please share if it helped
@subinkv6849 Жыл бұрын
How to do without api
@deepaksharma-wo1ts2 жыл бұрын
how to resend otp plz make the video
@asadbekmuxtorov1283 Жыл бұрын
Thank you teacher
@lakshyaverma8245 Жыл бұрын
plz send the code
@anooshqalandar81359 ай бұрын
thumbs down for not mentioning the tutorial language. (
@anuragk27 Жыл бұрын
Bhai... Source code provide kare plz🙏
@Coden693 жыл бұрын
Thanks
@robinrai97942 жыл бұрын
API key?
@anilbarad18562 жыл бұрын
appko api key seeting.py me kese lagaye vo dikahana cahiye , dena he to pura gyan do adhura kis kaam ka ???
@mohammadghazi44862 жыл бұрын
haa bhai muje bhi wo pata nahi chala
@siddharthpawarshortschanne9662 жыл бұрын
Right adha adhura...tym waste
@subhajitpaul83772 жыл бұрын
API_KEY = "Your api key" write it on settings. py
@anilbarad18562 жыл бұрын
@@subhajitpaul8377 bhai aab to vo project live bhi hogaya
@anujgajendar12852 жыл бұрын
django.db.utils.IntegrityError: NOT NULL constraint failed: accounts_user.otp
@anujgajendar12852 жыл бұрын
plz... anyone tell me how to solve this error????
@tushar79692 жыл бұрын
@@anujgajendar1285 I guess you did'nt defined AUTH_USER_MODEL in your settings file, so first delete all migrations folder from your apps and pycache and then delete db and then first defiend AUTH_USER_MODEL = app_name.your_custom_user_model_name in settings file and then run migrations and migrate
@shreyaagnihotri995 Жыл бұрын
@@tushar7969 Done same but doesn't work.
@tushar7969 Жыл бұрын
@@shubhamkale735 i guess you your oyo is setting to null , you can debug by checking that your otp firld is setting to null or not , you can ridd of this error by setting null true and blank but your otp field in your model its not a ideal solution
@shubhamkale735 Жыл бұрын
@@tushar7969 i solved that issue just now because my api_key was blank but giving another error "django.db.utils.IntegrityError: UNIQUE constraint failed: accounts_user.username"