Creating Login, Signup Page in Django Using Mysql Database | Django Python Tutorial
HTML-код
- Опубликовано: 16 сен 2024
- ❌Creating Login, Signup Page in Django Using Mysql Database | Django Python Tutorial ❌
In this video I'm giving tutorial that how to make login page and signup page in Django using mysql database in which all the data of user will store in the mysql database when users register themselves. And when users login to website then check that user information is present or not in mysql database.
=====================================
Download Mysql Database: -
drive.google.c...
=====================================
Download Django Folder and Codes: -
drive.google.c...
=====================================
Cmd Commands to install Django and mysql-connector : -
pip install django
pip install mysql-connector-python
=====================================
LIKE SHARE COMMENT
and don't forgot to SUBSCRIBE " Progress with Python"
Note: - In this video , I didn't covered a proper way to use mysql as a backend database , I have make a latest video on this topic where I covered a proper way to use mysql as a backend database in Django Python. ( ruclips.net/video/HvEIG8Bs9NE/видео.html )
thanks bhai 😊 itne video dekhe login ke liye 1k bhi kam nahi aayi , but apki ye video bohat bohat kam aayi finally user login register page hogya TYSM
Bro you don't know, how much help you me man god bless uh ❤️
Thanks bhai 😇
SuperSimple and super understandable bro.. Thank you so much......this videos shows very simple integration of python with sql, with a super simple and proper backend, .....anyone beginner can learn from here..😊😊😊
Thanks For 500 Views😇🤗
EDIT: Thanks For 1K Views😇
Thank you man couldn't understand but still understood. Thank you ❤
Super bro well explanation..
and one more doubt
how to take photo from user pic?
Very Neat Explanation,Keep posting more videos brother
Thank you, I will
Good Job Vivek All the best...
very nice sir,thank u somuch
Most welcome
beatreen video bhai really liked it brother
thanks bro
Will you make any videos in english? This is great stuff, but I only know english, and so hearing your explanations and knowing them would be super helpful!
i will try
Amazing videos.... keep it up 👍 hero...
thanks bro😇
Thanks for the tutorial,it's help me a lot.
ur welcome😇
Super bro very well explained
very well explained
bhai kisi bhi website me hume django admin panel ko add kaise kare? mtlab koi bhi user loggin karta hain toh wo request frontend me jana chahiye?
Bro I will just subscribed your RUclips channel well explain very nicely
You forget to tell gow to add images to static folder i am try its not done
thank you so much bro and how to add images : - 37:42
thank u for this tutorial , and I wanna ask u how we gonna handle errors and flash messages
I only covered the basic concepts in this video , django provides many facilities like you can see this documentaion for messages docs.djangoproject.com/en/4.0/ref/contrib/messages/
thank you so much, your video is very helpful for me.
Ur welcome
Thanks for your video! It was helpful! But I have a question. My post method worked succesfully in registration but there is no data in database?
Bro sign up page not working I mean the data not inserted in the database it is showing the error like template not exists when I try to execute the signup page
hi! could u insert your data?Cuz I have same error.
Very knowledgeable vedio 👏👏👏
Too good Bhai well done
Thank you for this video .. Can i use SQL server instead of MySQL...? Please guide me
you can use any database, you can use django default database also
@@ProgresswithPython thank you dear
I am getting the error
ModuleNotFoundError: No Module named 'signuplogin'
when I am trying to run the server
Please help me with this😌
you doing some mistakes, recheck your code
Nice..I want to capture photo in sign up form.i used raspberry pi with pi camera used.how to change in code
github.com/kumarvivek9088/accesswebcam_in_HTML -here you can see to how to access webcam in webpages
thanks bro helped alot
Thanks bro
Bro can u make a vedio where django inbuilt database is used sql lite for sign up and login 😊
check this out : - ruclips.net/video/_i_4quByN-4/видео.html
Thanks dude really helpful
hello bro thanks for this beautiful login page.
i am using this login page in my college project.
as frontend developer i develop website and i am using this login page in my website but i don’t know how to connect this login page with my website.
-> So when the userid and password are correct and then i click the login button rather than going to welcome page i want to its redirect it in my website
->so what can i do plz help me?
so i just copy my whole html,css and js code in that welcome page? css use via and js via
plz reply me bro
and 2 qus
how to delete the data in sql for example i register in 4,5 times but don’t know how to delete that data in sql
Delete from table_name where condition; for example: delete from table_name where name="xyz";
I was doing everything as you said and everything was working fine but at 27:58 I got this error "2055: Lost connection to MySQL server at 'localhost:3306', system error: 1 [SSL: NO_CIPHERS_AVAILABLE] no ciphers available (_ssl.c:997)"
I found no solution on the internet. Could you please help? I'm using MySQL 8.0.30, Python3, Pip3
on MYSQL server run ,,,,,,, set global max_allowed_packet=67108864;
Sir superb, can pls explain navigation menu with sub items from sql, and when click sub item open app url likewise 1 or 3 app url
watch my this video, I think it will help you ruclips.net/video/HvEIG8Bs9NE/видео.html
amazing video thank u!!
This video is very helpful me. But one not understand when I click submit button how to go url page
Give url in action in form tag
Hello ... Your tutorial is great. But i need your help ... You have used MySQL for database connectivity. I have to connect to a MSSQL server. How do i do that?
Great work bro
Thanks bro
Great project brother 👍
Thanks bro
thanks bhaiii
why you are teaching wrong same all code getting value error
love you bro
Thanks bro😇😊
Bro please upload images in django use mysql and also delete and view uploaded images these all function related videos chayeaaa bro
Please create videos about above these topic bro prepare it bro please
Ok
Tysmmm bro ♥️🫂
sukriya bhai 😁🙏
ur welcome😇
@@ProgresswithPython bhai i have one doubt. Actually i want to compare image in voter id /any other id with video capturing of user. If that matches then user can vote otherwise he cannot vote. Can i do this?
@@twilighthoneybee1805 yes you can use opencv for face recognition
@@ProgresswithPython thanks ☺️
How to solve the error in python manage.py runserver.....the error saying no such file or directory
in cmd or terminal , you have to change your current directory to your project directory
Getting error....using the url config defined in website.urls, django tried these URL patterns andbthe empty path didn't match
@@janbhisharma557 can you send me ss of your error to my email
Email??
Unable to get your email address
Nice bro
Thanks bro 🙏
awesome video.. Bro how we can store image in mysql and retrieve in django please help me ...Iam using BLOB but it is not working!!!!
yes we can upload images also. check out my this video : - ruclips.net/video/HvEIG8Bs9NE/видео.html
Helpful
Hey, I'm getting an error 404.
Page not found
Using the URLconf defined in website.urls, Django tried these URL pattern, in this order:
1. admin/
2. Signup/
3. login/
The empty path didn't match any of these.
Please tell me how I can resolve this error?😔
you have to define url for empty path also, i recommend you to watch my latest video on django+mysql topic.
Please make video on CURD data
🙏
No lo pude hacer, soy un fiasco todavia, todavia.....
Nice explanation bro but i have an issue in storing the data.....I entered in the form but it does not save in the database...Please help me..
Did you write commit statement in code?
@@ProgresswithPython yes, but still same problem
how to access the code i am not able to get the code
🔥🔥
Bro is project ko mai django mai kiya waha pe error dikhara hai
This is very cool, but how would reset password work if the user forgot their password?
you can create a reset form and you can send otp to user email to reset password
@@ProgresswithPython Thanks! it worked! Also this is my last question, would migrating this stuff to an existing database create any issues?
@@michaelfields7296 I think it does not create any issue
hi progress with python
while logging i m getting ProgrammingError at /login/
1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) . can you pls help me to resolve my issue.
If you want, you can watch my latest video on django , in that video I didn't use mysql
@@ProgresswithPython face same problem
Everything was working like a charm, but at this point I'm also facing the same issue. I'm stuck for last 4/5 hours. Still didn't find any solution. I went through satckoverflow, there was only one question about this error and only one answer which didn't work. I'm getting hopeless at this moment.
solution was simple guys....
just change value of passwd and database to what you have entered in m=connect.mysql
uninstall mysql then go to program files and delete the mysql folder delete the same from program data then reinstall mysql
if programdata option is not available change view settings to show hidden files.
Name error name 'template' is not defined
Unfortunately not in English. No CC as well.
sorry for the inconvenience
bro plz, mysql table data print karneka ek video bana do plz.
mere se nhi ho raha hai.
Ok
@@ProgresswithPython thanks bhai❤️
if we are use xamp mysql then can we run
i think it will run
When i run the signup page in localhost 26:35 404 error is occuring please make a vdo on this or rply
Plzz rply iam in the middle of this project. And i tried a alot but not working
Very great tutorial thanks for the contribution, could you please share source code
Thanks bro,code in the description
@@ProgresswithPython Thanks for the reply, tried accessing the google drive seems no access and unable to view the code
@@abdulhameeda8418 I will fix it
AttributeError at signup
Unsupported argument Passwd , bata raha hai please help bhaiya 🙏🙏🙏
I think you doing spelling mistake , write password in place of Passwd
Bro How I Can Use Mysql Cnctr and use this methodlogy in Real server...Here we need to change something...
we can migrate mysql database to django project, we have to change some line of code in django project setting.py
bhai login or signup ke liye alg alg app bnane ki kya jarurt thi... 1 me hi to krte to jyada easy pdta.... faltu me lmba kr diye...
ek mai bhi kar sakte the, par samjane ke liye alag alag bna diya.
👍👍👍😘
Thanks bhai😇
Bro ek help chahye bhut important h ek assignment mila h smjh nhi aa rha plzz bro help kr do..
Ok, dm me on Instagram
If I am right, you have studied in Vivekananda vidyalaya, am i right ?
😂no bro
you are entering URLs incorrectly and you have not taken full advantage of pythoni3.
I have explained only basic working
mysql.connector as sql nhi ho rha view.py me
First you have to install mysql connector
Bhai after running python manage.py runserver, it shows page not found
Check your url is correct or not
Same
you are using mysql 5.5 and i am using mysql 8.0 will it create any problem ?
no, it does not create any problem
Bro show error page not found
Check error page is present in template or not and name of file must be Same in Python code and in template
but is link me to login aur sign up ka code nahi hai😟😟
Bro pura folder hai link Mai jisme mai sab code hai
@@ProgresswithPython mene dekha but vo codes nahi mil rahe baki ke codes hai shors vale
@@ProgresswithPython ho login aur signup me full code hai na vo nahi mil raha
@@powerhouse660 full code mtlb?
@@ProgresswithPython mtlb jo login aur signup me likha hai na starting me vo vala
Do you want to work on a Web development project .. connect with me ...
Ok, you can message me on Instagram or on LinkedIn
@@ProgresswithPython provide your contact details.. Will call directly..
@Vijay Rathi Here I can't share my personal contact details as this is public comment , any one can see this.
bhai, muze forbidden error aaraha,, jab sign up ke liye submit kerta hu,, isko kaise solve kerne ka
you have to write this: {% csrf_token %} below the form tag line in your html code
@@ProgresswithPython yes it is working
only error is occuring
what error you getting
no useful time waste
how to access your code?
Check description
drive.google.com/drive/folders/1JG5LzTqxdT01yzoDnlmWy3wOEu0Hnsh4?usp=sharing
django.db.utils.OperationsError:(1115, "Unknown character set: 'utf8mb3'') , error showing, please 🙏 help me in this
on what process is coming error
Error aa rha kya kre