title
Python Login System Part - 1 | How to create Simple Login Form in Python | Python Training | Edureka

description
🔥Edureka Python Master's Course: https://www.edureka.co/masters-program/python-developer-training This Edureka video on the "Python Login System Part - 1" (Part 2 - https://youtu.be/SUC1aTu092w ) will help you in understanding how we can make a login system using Flask in Python along with hands-on. Python Tutorial Playlist: https://goo.gl/WsBpKe Blog Series: http://bit.ly/2sqmP4s --------------------------------------------------------------------------------------------------- 🔴To subscribe to our channel and hit the bell icon to never miss an update from us in the future: https://goo.gl/6ohpTV Instagram: https://www.instagram.com/edureka_learning/ Facebook: https://www.facebook.com/edurekaIN/ Twitter: https://twitter.com/edurekain LinkedIn: https://www.linkedin.com/company/edureka Telegram: https://t.me/edurekaupdates SlideShare: https://www.slideshare.net/EdurekaIN Meetup: https://www.meetup.com/edureka/ #Edureka #PythonEdureka #pythonloginsystem #pythonlogin #pythonprojects #pythonprogramming #pythontutorial #PythonTraining --------------------------------------------------------------------------------------------------- Course Curriculum 🔵Python Programming Certification Course - https://www.edureka.co/python-programming-certification-training 🟣Machine Learning Certification Training Using Python - https://www.edureka.co/machine-learning-certification-training 🔵Natural Language Processing With Python Certification - https://www.edureka.co/python-natural-language-processing-course 🟣Python Spark Certification Training Using Pyspark - https://www.edureka.co/pyspark-certification-training 🔵Python Django And Certification Training - https://www.edureka.co/python-django --------------------------------------------------------------------------------------------------- About The Course Masters Program is a structured learning path recommended by leading industry experts and ensures to make you proficient in new-age technologies that give your career a much-needed boost. The Python Masters Program is formulated by analyzing the broad spectrum of its implementation in the market. This immersive program includes 5 courses: Python Programming for Beginners, Python for Data Science, Python for Text processing, Python for Big Data, and Python for Web-Development. This program is designed by experts to help launch your career as a Python Developer. --------------------------------------------------------------------------------------------------- Why Python Masters Program? Python Masters Program has been curated after thorough research and recommendations from industry experts. It will help you master crucial concepts of Python Programming, Machine learning, NLP, PySpark, Big Data, Django along with hands-on experience of tools and systems used by the businesses today. Edureka and a Personal Learning Manager will be by your side throughout the learning journey – We are Ridiculously Committed. --------------------------------------------------------------------------------------------------- Who should go for this program? While the Python Masters Program is designed for Programmers, Developers, Technical Leads and Data Scientists, the program is also designed to help fresh graduates who want a career in high profile domains like Web Development, Data Analysis, Artificial Intelligence, and Machine Learning. For more information, Please write back to us at sales@edureka.in or call us at IND: 9606058406 / US: 18338555775

detail
{'title': 'Python Login System Part - 1 | How to create Simple Login Form in Python | Python Training | Edureka', 'heatmap': [{'end': 367.79, 'start': 333.795, 'weight': 1}, {'end': 546.803, 'start': 510.428, 'weight': 0.727}], 'summary': 'Tutorial series on python login system covers creating a python login system, setting up a mysql database, creating login and registration pages, implementing login authentication, working with flask in pycharm, and creating different routes for login, register, and profile pages, emphasizing encouraging new subscribers and promoting certification.', 'chapters': [{'end': 252.151, 'segs': [{'end': 87.641, 'src': 'embed', 'start': 24.261, 'weight': 1, 'content': [{'end': 28.424, 'text': "And now that I'm getting a lot of confirmation, let us take a look at the agenda for this session.", 'start': 24.261, 'duration': 4.163}, {'end': 36.729, 'text': 'Firstly, I will start with what exactly is a login system and then I will tell you about a prerequisite that you need to make a login system.', 'start': 28.904, 'duration': 7.825}, {'end': 44.595, 'text': 'Moving further, we will discuss the project objective and finally, I will explain each aspect of the project in detail.', 'start': 37.31, 'duration': 7.285}, {'end': 46.696, 'text': 'I hope the agenda is clear to you guys.', 'start': 45.095, 'duration': 1.601}, {'end': 48.598, 'text': 'Also, if you are new here,', 'start': 47.417, 'duration': 1.181}, {'end': 56.14, 'text': "Don't forget to subscribe to Edureka for more exciting tutorials and press the bell icon to get the latest updates on Edureka.", 'start': 49.418, 'duration': 6.722}, {'end': 60.201, 'text': "And do check out Edureka's Python programming certification program.", 'start': 56.86, 'duration': 3.341}, {'end': 62.682, 'text': 'The link is given in the description box below.', 'start': 60.601, 'duration': 2.081}, {'end': 67.703, 'text': "Now, without any further ado, let's understand what is a login system.", 'start': 64.001, 'duration': 3.702}, {'end': 76.29, 'text': 'A login system is basically a process where a user is entering an information in a system, like a unique username and a password.', 'start': 68.723, 'duration': 7.567}, {'end': 81.015, 'text': 'This can be done or this is done to access a website or a system.', 'start': 77.071, 'duration': 3.944}, {'end': 87.641, 'text': 'Almost all of us must be familiar with a login system or must have come across a login page at some point.', 'start': 81.695, 'duration': 5.946}], 'summary': 'Agenda: defining login system, prerequisite, project objective, and project details.', 'duration': 63.38, 'max_score': 24.261, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM24261.jpg'}, {'end': 252.151, 'src': 'embed', 'start': 167.687, 'weight': 0, 'content': [{'end': 174.988, 'text': 'there has to be a login form which will take inputs from the user and use those inputs to redirect us to the profile or the homepage.', 'start': 167.687, 'duration': 7.301}, {'end': 181.47, 'text': 'For example, if we have a login page, there should be some unique identities like a unique email.', 'start': 176.009, 'duration': 5.461}, {'end': 187.632, 'text': 'And after that, there has to be a password to log into a system, you know, to redirect us to the profile page.', 'start': 181.93, 'duration': 5.702}, {'end': 193.844, 'text': 'So that is one requirement that we need, and after that there has to be a register template as well, in which,', 'start': 188.601, 'duration': 5.243}, {'end': 200.468, 'text': "if I am not a user and I don't have a user name and password which will authenticate me for login,", 'start': 193.844, 'duration': 6.624}, {'end': 205.931, 'text': 'there has to be a page where I could just put my credentials and register with the website or, you know,', 'start': 200.468, 'duration': 5.463}, {'end': 208.953, 'text': 'to make a new user so that I can log into that account.', 'start': 205.931, 'duration': 3.022}, {'end': 211.635, 'text': 'So that is one requirement that we also need,', 'start': 208.973, 'duration': 2.662}, {'end': 217.739, 'text': 'and for login authentication we will need a database integration to keep a record of valid login credentials.', 'start': 211.635, 'duration': 6.104}, {'end': 224.961, 'text': 'and other information as well, such as, you know, you will have name, email, id, and there will be password or some other information,', 'start': 218.599, 'duration': 6.362}, {'end': 228.522, 'text': 'like phone numbers, addresses we can get, and the process here is mainly.', 'start': 224.961, 'duration': 3.561}, {'end': 233.144, 'text': 'you know, the information is exchanged using the http post and get methods.', 'start': 228.522, 'duration': 4.622}, {'end': 237.906, 'text': 'So these are the basic functional requirements we need for a login system.', 'start': 234.585, 'duration': 3.321}, {'end': 245.229, 'text': 'Now let us take a look at the project objective and we will start with what we need for this project guys.', 'start': 238.867, 'duration': 6.362}, {'end': 252.151, 'text': 'First of all for this project we use flask framework in python which is basically a micro framework.', 'start': 246.069, 'duration': 6.082}], 'summary': 'Need a login form with unique email, password, registration template, and database integration using flask framework in python.', 'duration': 84.464, 'max_score': 167.687, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM167687.jpg'}], 'start': 3.544, 'title': 'Python login system and functional requirements', 'summary': 'Covers creating a python login system, including the basics, prerequisites, and project objectives, while emphasizing encouraging new subscribers and promoting certification. it also explains the functional requirements for a typical login page, including login form, register template, and database integration, as well as the use of http post and get methods for information exchange.', 'chapters': [{'end': 87.641, 'start': 3.544, 'title': 'Creating a python login system', 'summary': "Covers the basics of creating a python login system, including the definition, prerequisites, project objectives, and detailed explanation, while also focusing on encouraging new subscribers and promoting edureka's python programming certification program.", 'duration': 84.097, 'highlights': ['Explaining the concept of a login system and its purpose, involving the entry of a unique username and password to access a website or system. ', 'Discussing the prerequisites for creating a login system, setting the foundation for the subsequent project. ', 'Emphasizing the project objectives, outlining the goals and outcomes of the Python login system development. ', 'Encouraging new subscribers to Edureka and promoting the Python programming certification program, providing a link for further information. Encouraging new subscribers, promoting certification program']}, {'end': 252.151, 'start': 88.755, 'title': 'Login page functional requirements', 'summary': 'Explains the functional requirements for a typical login page, including the need for a login form, register template, and database integration, as well as the use of http post and get methods for information exchange.', 'duration': 163.396, 'highlights': ['Creating a login form with unique email and password is a functional requirement for a login page.', 'Having a register template for new users to input their credentials is another functional requirement for a login page.', 'Database integration is necessary to store valid login credentials and other user information such as name, email, id, and phone numbers.', 'The process of information exchange for login authentication mainly involves using the http post and get methods.']}], 'duration': 248.607, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM3544.jpg', 'highlights': ['Emphasizing the project objectives, outlining the goals and outcomes of the Python login system development.', 'Encouraging new subscribers to Edureka and promoting the Python programming certification program, providing a link for further information.', 'Database integration is necessary to store valid login credentials and other user information such as name, email, id, and phone numbers.', 'The process of information exchange for login authentication mainly involves using the http post and get methods.', 'Creating a login form with unique email and password is a functional requirement for a login page.', 'Having a register template for new users to input their credentials is another functional requirement for a login page.', 'Explaining the concept of a login system and its purpose, involving the entry of a unique username and password to access a website or system.', 'Discussing the prerequisites for creating a login system, setting the foundation for the subsequent project.']}, {'end': 518.912, 'segs': [{'end': 367.79, 'src': 'heatmap', 'start': 333.795, 'weight': 1, 'content': [{'end': 337.997, 'text': "so let's go to pycharm, guys, and i'll show you how we work with flask first of all.", 'start': 333.795, 'duration': 4.202}, {'end': 338.798, 'text': 'so this is my code.', 'start': 337.997, 'duration': 0.801}, {'end': 339.998, 'text': "i'll just remove this.", 'start': 338.798, 'duration': 1.2}, {'end': 344.961, 'text': "i'll just show you in the beginning how we move with the flask and i'll open the project here.", 'start': 339.998, 'duration': 4.963}, {'end': 347.762, 'text': "i'll show you what all we have in this project.", 'start': 344.961, 'duration': 2.801}, {'end': 348.182, 'text': 'all right guys.', 'start': 347.762, 'duration': 0.42}, {'end': 355.806, 'text': 'so, first of all, the very first thing that you would need to work with flask is you have to import the flask library in python.', 'start': 348.182, 'duration': 7.624}, {'end': 363.729, 'text': 'i mean you can just write pip, install python in the terminal, but you can also open this project interpreter, go to this add button,', 'start': 355.806, 'duration': 7.923}, {'end': 367.79, 'text': 'and here you can just find flask and just install it.', 'start': 363.729, 'duration': 4.061}], 'summary': 'Demonstrates setting up flask in pycharm, including importing the flask library and installing it using the project interpreter.', 'duration': 33.995, 'max_score': 333.795, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM333795.jpg'}, {'end': 403.642, 'src': 'embed', 'start': 371.971, 'weight': 0, 'content': [{'end': 376.632, 'text': 'and one more dependency that we will need for this project is flask mysql db.', 'start': 371.971, 'duration': 4.661}, {'end': 378.053, 'text': 'all right guys.', 'start': 376.632, 'duration': 1.421}, {'end': 381.574, 'text': 'so these are the dependencies that you need to install for this project.', 'start': 378.053, 'duration': 3.521}, {'end': 386.835, 'text': "and since we are beginning with the introduction to flask here, i'll just show you how we can make a simple app using flask.", 'start': 381.574, 'duration': 5.261}, {'end': 392.034, 'text': 'and there are two more directories that you can see over here.', 'start': 387.991, 'duration': 4.043}, {'end': 397.198, 'text': 'so, first of all, we have static, which will basically store our css files for styling purpose,', 'start': 392.034, 'duration': 5.164}, {'end': 403.642, 'text': 'and all the templates that we make are going to be in the directory called templates.', 'start': 397.198, 'duration': 6.444}], 'summary': 'Dependencies for the project include flask mysql db. introduction to flask and directory structure are covered.', 'duration': 31.671, 'max_score': 371.971, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM371971.jpg'}, {'end': 437.279, 'src': 'embed', 'start': 409.806, 'weight': 3, 'content': [{'end': 419.184, 'text': "so i'll just show you what i've done here in a while, and this is my main file, which is basically going to have all the accumulation of every code,", 'start': 409.806, 'duration': 9.378}, {'end': 421.326, 'text': 'and this is where our app will run.', 'start': 419.184, 'duration': 2.142}, {'end': 424.648, 'text': 'so first of all i have to import from flask.', 'start': 421.326, 'duration': 3.322}, {'end': 427.371, 'text': 'i have to import flask.', 'start': 424.648, 'duration': 2.723}, {'end': 437.279, 'text': 'after that i need to make an app use flask, and so this is quite simple, guys.', 'start': 427.371, 'duration': 9.908}], 'summary': 'Creating a main file for app using flask, importing and setting up the app.', 'duration': 27.473, 'max_score': 409.806, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM409806.jpg'}, {'end': 518.912, 'src': 'embed', 'start': 480.509, 'weight': 1, 'content': [{'end': 489.812, 'text': "So, when I run this program, it's going to start the Flask app and it is running on this HTTP 127.0.0.1 and the port number is 5000,", 'start': 480.509, 'duration': 9.303}, {'end': 494.214, 'text': 'and this route that we have mentioned over here is the link here.', 'start': 489.812, 'duration': 4.402}, {'end': 510.428, 'text': 'So if I go to this link, it will show me whatever value I have returned over here.', 'start': 494.234, 'duration': 16.194}, {'end': 518.912, 'text': 'so instead of hello, I can get any of these HTML templates to be rendered over there.', 'start': 510.428, 'duration': 8.484}], 'summary': 'Running flask app on http 127.0.0.1:5000 with customizable html templates.', 'duration': 38.403, 'max_score': 480.509, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM480509.jpg'}], 'start': 252.171, 'title': 'Creating python web app with flask, mysql, and pycharm', 'summary': 'Covers creating a python web app using flask, setting up a mysql database, creating login and registration pages, implementing login authentication, working with flask in pycharm, importing flask library and flask mysql db, defining url routes, and running the app on http 127.0.0.1 and port 5000.', 'chapters': [{'end': 332.978, 'start': 252.171, 'title': 'Creating python web app with flask and mysql', 'summary': 'Covers creating a python web app using flask, including setting up a database with mysql, creating login and registration pages, and implementing login authentication.', 'duration': 80.807, 'highlights': ['The chapter covers creating a Python web app using Flask, including setting up a database with MySQL, creating login and registration pages, and implementing login authentication.', 'HTML and CSS knowledge would be beneficial, but Flask is easy for beginners to learn.', 'The tutorial will include making templates using HTML and using MySQL server for the database.', 'The session will cover creating login and registration pages, as well as implementing login authentication using the MySQL database.']}, {'end': 409.806, 'start': 333.795, 'title': 'Working with flask in pycharm', 'summary': 'Introduces working with flask in pycharm, highlighting the need to import flask library and flask mysql db, and the directories for storing css files and templates.', 'duration': 76.011, 'highlights': ['The first step in working with Flask is to import the flask library in python, and the next dependency needed is flask mysql db.', 'The project includes directories for storing css files (static) and templates (login, profile, and register dot html files).']}, {'end': 518.912, 'start': 409.806, 'title': 'Creating a simple flask app', 'summary': 'Explains how to create a simple flask app, including importing flask, defining url routes and running the app, with the app running on http 127.0.0.1 and port 5000, showcasing the returned value.', 'duration': 109.106, 'highlights': ['The app runs on HTTP 127.0.0.1 and port 5000, with the specified route linking to the returned value, allowing for the rendering of various HTML templates.', 'Importing Flask and defining URL routes are essential steps in creating a simple Flask app.', "The main file serves as the accumulation of all the code, where the app will run, with the 'if name is equal to main app' statement triggering the app's run with debug mode enabled."]}], 'duration': 266.741, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM252171.jpg', 'highlights': ['Covers creating a Python web app using Flask, including setting up a database with MySQL, creating login and registration pages, and implementing login authentication.', 'The app runs on HTTP 127.0.0.1 and port 5000, with the specified route linking to the returned value, allowing for the rendering of various HTML templates.', 'The first step in working with Flask is to import the flask library in python, and the next dependency needed is flask mysql db.', 'Importing Flask and defining URL routes are essential steps in creating a simple Flask app.']}, {'end': 960.82, 'segs': [{'end': 624.906, 'src': 'embed', 'start': 553.889, 'weight': 0, 'content': [{'end': 556.711, 'text': 'so one is the login button and the other one is the register button.', 'start': 553.889, 'duration': 2.822}, {'end': 563.898, 'text': "so basically, it's a typical login form where you have to give two values, which is basically your username and i have.", 'start': 556.711, 'duration': 7.187}, {'end': 566.62, 'text': "i'll just show you the template that i've made.", 'start': 563.898, 'duration': 2.722}, {'end': 570.904, 'text': 'so this is the login template, guys, let me get a little bigger, Alright.', 'start': 566.62, 'duration': 4.284}, {'end': 572.785, 'text': 'so the title is login.', 'start': 570.904, 'duration': 1.881}, {'end': 581.773, 'text': 'as you can see, the title is login and after that I have added the CSS style.', 'start': 572.785, 'duration': 8.988}, {'end': 582.613, 'text': 'I will just remove it.', 'start': 581.773, 'duration': 0.84}, {'end': 585.576, 'text': 'Alright guys.', 'start': 582.633, 'duration': 2.943}, {'end': 589.223, 'text': 'so I have a label username first of all.', 'start': 587.301, 'duration': 1.922}, {'end': 595.61, 'text': 'after that I have a break and then there is the input field which is having the name username.', 'start': 589.223, 'duration': 6.387}, {'end': 603.197, 'text': 'and this name is quite important, guys, because we are going to need this for request, flask request, and after that type is email.', 'start': 595.61, 'duration': 7.587}, {'end': 610.603, 'text': 'I could have done I mean I could have made the type as text as well, because then we would be freely able to write anything.', 'start': 603.197, 'duration': 7.406}, {'end': 622.166, 'text': 'but right now, if you keep the type as email, you will be only able to write the input in the form something at the rate xyz, whatever dot com.', 'start': 610.603, 'duration': 11.563}, {'end': 624.906, 'text': "so that is the email format, and if you don't follow that,", 'start': 622.166, 'duration': 2.74}], 'summary': "The transcript discusses creating a login form with username and email input fields, with a focus on the email field's format restrictions.", 'duration': 71.017, 'max_score': 553.889, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM553889.jpg'}, {'end': 681.706, 'src': 'embed', 'start': 651.108, 'weight': 5, 'content': [{'end': 656.071, 'text': 'If you keep the password type there, when you are typing the password, you will not be able to see it.', 'start': 651.108, 'duration': 4.963}, {'end': 662.115, 'text': "And after that, there are some fields as well where you can just call and see what you're writing.", 'start': 656.291, 'duration': 5.824}, {'end': 673.578, 'text': "So this is how you just you know, make a simple login form, and this action is there and the method I've also posted here, which is a post method,", 'start': 663.208, 'duration': 10.37}, {'end': 681.706, 'text': 'and then again there is another dev tag where I have this new form, in which I have provided the URL as well.', 'start': 673.578, 'duration': 8.128}], 'summary': 'Creating a simple login form with password type and post method.', 'duration': 30.598, 'max_score': 651.108, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM651108.jpg'}, {'end': 789.481, 'src': 'embed', 'start': 764.625, 'weight': 3, 'content': [{'end': 773.571, 'text': "Similarly, in this login page we'll be getting the values and we'll be sending these values using the post method to the database to verify or to authenticate their login credentials.", 'start': 764.625, 'duration': 8.946}, {'end': 775.672, 'text': 'Then we have this profile HTML.', 'start': 774.311, 'duration': 1.361}, {'end': 779.034, 'text': "It is nothing but a simple page I've made to redirect.", 'start': 775.732, 'duration': 3.302}, {'end': 784.958, 'text': 'If the login is successful, you will be able to go to this page which will show login has been successful.', 'start': 779.594, 'duration': 5.364}, {'end': 789.481, 'text': "And then there is a button again, which if you click on it, you'll be redirected to the login page again.", 'start': 785.178, 'duration': 4.303}], 'summary': 'Login page sends values using post method to verify credentials and redirects to profile page upon successful login with a button to return to the login page.', 'duration': 24.856, 'max_score': 764.625, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM764625.jpg'}, {'end': 836.424, 'src': 'embed', 'start': 805.039, 'weight': 1, 'content': [{'end': 807.322, 'text': 'Alright, so this is my database guys.', 'start': 805.039, 'duration': 2.283}, {'end': 813.027, 'text': 'So what you have to do is you have to set up MySQL server on your system.', 'start': 807.582, 'duration': 5.445}, {'end': 819.293, 'text': 'To do that, you have to go to their official website and you have to install.', 'start': 813.608, 'duration': 5.685}, {'end': 824.598, 'text': 'I mean you can download the installer or you can download the files, but you have to set up your MySQL workbench.', 'start': 819.293, 'duration': 5.305}, {'end': 829.301, 'text': 'and to do that after the installation you have to install mysql workbench as well.', 'start': 825.439, 'duration': 3.862}, {'end': 836.424, 'text': 'you will find the local instance there and in which you can just find a new schema.', 'start': 829.301, 'duration': 7.123}], 'summary': 'Set up mysql server by downloading installer or files and installing mysql workbench to access local instance and create new schema.', 'duration': 31.385, 'max_score': 805.039, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM805039.jpg'}, {'end': 889.385, 'src': 'embed', 'start': 855.152, 'weight': 6, 'content': [{'end': 857.193, 'text': 'guys, using workbench is quite easy.', 'start': 855.152, 'duration': 2.041}, {'end': 863.516, 'text': "you can find the documentation, it's written very clearly how to use a workbench and the interface is quite good.", 'start': 857.193, 'duration': 6.323}, {'end': 867.438, 'text': 'you can just add whatever you want with ease.', 'start': 863.516, 'duration': 3.922}, {'end': 869.139, 'text': 'so these values i have used.', 'start': 867.438, 'duration': 1.701}, {'end': 872.36, 'text': "so let's just take a look at what all values i have inside my database.", 'start': 869.139, 'duration': 3.221}, {'end': 873.541, 'text': 'to do that, i have to clear.', 'start': 872.36, 'duration': 1.181}, {'end': 876.863, 'text': "you select one statement here and let's just click on it.", 'start': 873.541, 'duration': 3.322}, {'end': 879.215, 'text': 'So these are the values I have.', 'start': 877.813, 'duration': 1.402}, {'end': 889.385, 'text': "So, as you can see, guys, I only have these one, two, three, four values from this script that I've inserted into, but the database has six values,", 'start': 879.915, 'duration': 9.47}], 'summary': 'Using workbench is easy with clear documentation and a user-friendly interface. database has 6 values.', 'duration': 34.233, 'max_score': 855.152, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM855152.jpg'}], 'start': 518.912, 'title': 'Creating login and database templates', 'summary': 'Demonstrates creating a login template using flask, including rendering templates, creating a login form with username and password fields, using email input type for validation, and setting the form action and method for flask request. it also covers the creation of database and user templates, including the process of setting up mysql server, creating tables and inserting values, with a demonstration of the registration and login templates, and the usage of mysql workbench to manage the database.', 'chapters': [{'end': 673.578, 'start': 518.912, 'title': 'Creating login template with flask', 'summary': 'Demonstrates creating a login template using flask, including rendering templates, creating a login form with username and password fields, using email input type for validation, and setting the form action and method for flask request.', 'duration': 154.666, 'highlights': ['The chapter demonstrates creating a login template using Flask, including rendering templates, creating a login form with username and password fields, using email input type for validation, and setting the form action and method for Flask request.', 'The login template includes a username and password field, and login and register buttons, providing a typical login form layout.', 'The email input type restricts input to email format, ensuring validation and prompting error message for invalid email addresses.', 'Using the password input type, the password field hides the entered text, enhancing security for user input.']}, {'end': 960.82, 'start': 673.578, 'title': 'Creating database and user templates', 'summary': 'Covers the creation of database and user templates, including the process of setting up mysql server, creating tables and inserting values, with a demonstration of the registration and login templates, and the usage of mysql workbench to manage the database.', 'duration': 287.242, 'highlights': ["The chapter covers the process of setting up MySQL server, creating tables, and inserting values into the database. The speaker explains the steps for setting up MySQL server, creating a new schema (database), adding tables, and inserting values, demonstrating the process with the example of a 'login info' table.", 'Demonstration of the registration and login templates, including the process of sending values to the database for authentication. The speaker demonstrates the registration and login templates, explaining the process of sending values to the database for authentication using the post method, and the usage of these methods to add new users and authenticate login credentials.', 'Usage of MySQL Workbench to manage the database, including adding tables and inserting values with ease. The speaker explains the ease of using MySQL Workbench to manage the database, emphasizing the clear documentation and user-friendly interface for adding tables and inserting values.']}], 'duration': 441.908, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM518912.jpg', 'highlights': ['Demonstrates creating a login template using Flask, including rendering templates, creating a login form with username and password fields, using email input type for validation, and setting the form action and method for Flask request.', "The chapter covers the process of setting up MySQL server, creating tables, and inserting values into the database. The speaker explains the steps for setting up MySQL server, creating a new schema (database), adding tables, and inserting values, demonstrating the process with the example of a 'login info' table.", 'The login template includes a username and password field, and login and register buttons, providing a typical login form layout.', 'Demonstration of the registration and login templates, including the process of sending values to the database for authentication. The speaker demonstrates the registration and login templates, explaining the process of sending values to the database for authentication using the post method, and the usage of these methods to add new users and authenticate login credentials.', 'The email input type restricts input to email format, ensuring validation and prompting error message for invalid email addresses.', 'Using the password input type, the password field hides the entered text, enhancing security for user input.', 'Usage of MySQL Workbench to manage the database, including adding tables and inserting values with ease. The speaker explains the ease of using MySQL Workbench to manage the database, emphasizing the clear documentation and user-friendly interface for adding tables and inserting values.']}, {'end': 1483.83, 'segs': [{'end': 1003.526, 'src': 'embed', 'start': 961.892, 'weight': 0, 'content': [{'end': 965.355, 'text': "But if you create the database in the query itself here, you don't have to do that.", 'start': 961.892, 'duration': 3.463}, {'end': 967.497, 'text': "So we'll go back to PyChop.", 'start': 966.456, 'duration': 1.041}, {'end': 973.343, 'text': 'Alright guys, so let me just tell you how we create different routes.', 'start': 967.517, 'duration': 5.826}, {'end': 978.527, 'text': 'So I can create routes for each and every aspect.', 'start': 975.305, 'duration': 3.222}, {'end': 983.131, 'text': "So first of all, this default route, I'm using it for login page.", 'start': 978.848, 'duration': 4.283}, {'end': 988.094, 'text': "So for register, I'll just write register or any other thing that you want to write here guys.", 'start': 983.611, 'duration': 4.483}, {'end': 1003.526, 'text': "And after that, you can define a function, define a function here and make a function, let's say new user and return render template to register.", 'start': 988.975, 'duration': 14.551}], 'summary': 'Creating routes for different aspects in pychop, like login and register.', 'duration': 41.634, 'max_score': 961.892, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM961892.jpg'}, {'end': 1091.371, 'src': 'embed', 'start': 1019.853, 'weight': 1, 'content': [{'end': 1034.584, 'text': "so this will be that route define a function, let's say profile, and after that return render template, and this is profile dot html.", 'start': 1019.853, 'duration': 14.731}, {'end': 1038.651, 'text': 'So this is one route or one more route we have created.', 'start': 1036.089, 'duration': 2.562}, {'end': 1043.334, 'text': "So, let's say you want to redirect to some template.", 'start': 1039.711, 'duration': 3.623}, {'end': 1048.357, 'text': "What you can do is, instead of render template, alright, I'll just show you guys.", 'start': 1043.894, 'duration': 4.463}, {'end': 1054.081, 'text': 'So, let me just write login.html here.', 'start': 1049.638, 'duration': 4.443}, {'end': 1058.985, 'text': 'Redirect Alright, we have to mention it here.', 'start': 1055.642, 'duration': 3.343}, {'end': 1063.348, 'text': 'Redirect And url4.', 'start': 1059.365, 'duration': 3.983}, {'end': 1070.794, 'text': "So, let's redirect URL for and this new user I'll write.", 'start': 1064.949, 'duration': 5.845}, {'end': 1075.798, 'text': "Alright guys, so let's just run this again.", 'start': 1070.814, 'duration': 4.984}, {'end': 1076.819, 'text': "I'll show you what it does.", 'start': 1075.878, 'duration': 0.941}, {'end': 1091.371, 'text': 'So, what is happening here? So, if I go to this location guys, which is the default URL when it starts.', 'start': 1082.723, 'duration': 8.648}], 'summary': 'Creating routes and redirecting to different templates and urls in a web application.', 'duration': 71.518, 'max_score': 1019.853, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM1019853.jpg'}, {'end': 1186.133, 'src': 'embed', 'start': 1145.13, 'weight': 3, 'content': [{'end': 1149.292, 'text': "So I'll just quickly explain what the point of action will be from here.", 'start': 1145.13, 'duration': 4.162}, {'end': 1155.532, 'text': 'so we have these three templates login, register and profile.', 'start': 1150.39, 'duration': 5.142}, {'end': 1164.335, 'text': 'so our objective is to go to login page and as soon as we reach on login page, we provide some value, a username and a password.', 'start': 1155.532, 'duration': 8.803}, {'end': 1173.469, 'text': 'after that, when we click on login, we either should be redirected to our profile page, if the login username and password are correct,', 'start': 1165.166, 'duration': 8.303}, {'end': 1175.389, 'text': 'which will be authenticated by the database.', 'start': 1173.469, 'duration': 1.92}, {'end': 1184.632, 'text': "for that we'll be using a database connection mysql server which will get the values and send those values using the post method to the database,", 'start': 1175.389, 'duration': 9.243}, {'end': 1186.133, 'text': 'confirm with a query.', 'start': 1184.632, 'duration': 1.501}], 'summary': 'Objective: authenticate login credentials using mysql server and redirect to profile page.', 'duration': 41.003, 'max_score': 1145.13, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM1145130.jpg'}, {'end': 1277.376, 'src': 'embed', 'start': 1251.355, 'weight': 5, 'content': [{'end': 1257.299, 'text': 'We can also create sessions, which will basically, you know, store some value and we can use them across this whole app.', 'start': 1251.355, 'duration': 5.944}, {'end': 1260.34, 'text': "So that we'll be doing in the next session guys.", 'start': 1258.239, 'duration': 2.101}, {'end': 1262.441, 'text': 'All right.', 'start': 1260.36, 'duration': 2.081}, {'end': 1268.765, 'text': "So let me just quickly run it again so that you'll be clearer for what we're going to do.", 'start': 1262.582, 'duration': 6.183}, {'end': 1274.214, 'text': 'might show a few errors, right.', 'start': 1272.173, 'duration': 2.041}, {'end': 1276.015, 'text': "so we'll go to login.", 'start': 1274.214, 'duration': 1.801}, {'end': 1277.376, 'text': 'so login page.', 'start': 1276.015, 'duration': 1.361}], 'summary': 'Creating and using sessions to store and share values across the app.', 'duration': 26.021, 'max_score': 1251.355, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM1251355.jpg'}, {'end': 1475.243, 'src': 'embed', 'start': 1446.908, 'weight': 6, 'content': [{'end': 1450.05, 'text': "you can mention them in the comments and we'll get back to you as soon as possible.", 'start': 1446.908, 'duration': 3.142}, {'end': 1456.742, 'text': "So in the next session what we'll do is we'll make a database connection and make a full app with the login system.", 'start': 1451.24, 'duration': 5.502}, {'end': 1464.506, 'text': "Using all these templates, we'll be sending values and getting values, making new users, authentication of login and everything.", 'start': 1458.043, 'duration': 6.463}, {'end': 1465.046, 'text': "We'll do that.", 'start': 1464.546, 'duration': 0.5}, {'end': 1470.279, 'text': "So if you're new here, please subscribe to Edureka for more exciting tutorials.", 'start': 1466.055, 'duration': 4.224}, {'end': 1475.243, 'text': 'If you like this session, share it with your friends and press the bell icon to get the latest updates on Edureka.', 'start': 1470.539, 'duration': 4.704}], 'summary': 'Next session: creating a full app with login system, database connection, and user authentication. subscribe to edureka for more tutorials.', 'duration': 28.335, 'max_score': 1446.908, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM1446908.jpg'}], 'start': 961.892, 'title': 'Creating routes and login system with redirects', 'summary': 'Covers creating different routes in pycharm for login, register, and profile pages, along with demonstrating how to redirect to specific templates. it also explains how to create a login system with redirects using templates, connecting to a database, authenticating login credentials, and handling redirection based on login success or failure.', 'chapters': [{'end': 1054.081, 'start': 961.892, 'title': 'Creating routes in pycharm', 'summary': 'Explains how to create different routes in pycharm for various aspects such as login, register, and profile pages, and also demonstrates how to redirect to specific templates.', 'duration': 92.189, 'highlights': ['The chapter demonstrates creating different routes for login, register, and profile pages in PyCharm. It explains the process of defining functions for each route and returning specific templates, providing a practical guide for web development. It does not provide quantifiable data.', 'It explains how to redirect to specific templates in PyCharm. The chapter illustrates the process of redirecting to specific templates by showing an example of modifying the render template to login.html. However, no quantifiable data is provided.', 'Creating database in the query eliminates the need for additional steps. The transcript mentions that creating the database in the query itself eliminates the need for additional steps, simplifying the process, but no quantifiable data is provided.']}, {'end': 1483.83, 'start': 1055.642, 'title': 'Creating login system with redirects', 'summary': 'Explains how to create a login system with redirects using templates for login, register, and profile, connecting to a database, authenticating login credentials, and handling redirection based on login success or failure.', 'duration': 428.188, 'highlights': ['The chapter explains redirecting URLs and creating a new user as well as the functionality of the redirect method. It describes the process of redirecting URLs and creating a new user, along with explaining the functionality of the redirect method.', 'Detailed explanation of the objective to create a login page, validate credentials, and redirect to the profile page upon successful authentication. The chapter provides a detailed explanation of the objective to create a login page, validate credentials, and redirect to the profile page upon successful authentication.', 'The use of a database connection to authenticate login credentials and handle redirection based on the validation result. It discusses the use of a database connection to authenticate login credentials and handle redirection based on the validation result.', 'The importance of creating sessions to store values and their application across the app. It emphasizes the importance of creating sessions to store values and their application across the app.', 'The plan to cover database connection, creating a full app with a login system, and the call to action for the audience. It outlines the plan to cover database connection, creating a full app with a login system, and concludes with a call to action for the audience.']}], 'duration': 521.938, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/RHu3mQodroM/pics/RHu3mQodroM961892.jpg', 'highlights': ['The chapter provides a practical guide for web development by demonstrating creating different routes for login, register, and profile pages in PyCharm.', 'It explains the process of redirecting to specific templates in PyCharm, illustrating the example of modifying the render template to login.html.', 'The chapter explains redirecting URLs, creating a new user, and the functionality of the redirect method.', 'It provides a detailed explanation of the objective to create a login page, validate credentials, and redirect to the profile page upon successful authentication.', 'It discusses the use of a database connection to authenticate login credentials and handle redirection based on the validation result.', 'The chapter emphasizes the importance of creating sessions to store values and their application across the app.', 'It outlines the plan to cover database connection, creating a full app with a login system, and concludes with a call to action for the audience.']}], 'highlights': ['Database integration is necessary to store valid login credentials and other user information such as name, email, id, and phone numbers.', 'The process of information exchange for login authentication mainly involves using the http post and get methods.', 'Creating a login form with unique email and password is a functional requirement for a login page.', 'Having a register template for new users to input their credentials is another functional requirement for a login page.', 'Demonstrates creating a login template using Flask, including rendering templates, creating a login form with username and password fields, using email input type for validation, and setting the form action and method for Flask request.', "The chapter covers the process of setting up MySQL server, creating tables, and inserting values into the database. The speaker explains the steps for setting up MySQL server, creating a new schema (database), adding tables, and inserting values, demonstrating the process with the example of a 'login info' table.", 'The chapter provides a practical guide for web development by demonstrating creating different routes for login, register, and profile pages in PyCharm.', 'It provides a detailed explanation of the objective to create a login page, validate credentials, and redirect to the profile page upon successful authentication.', 'The chapter emphasizes the importance of creating sessions to store values and their application across the app.']}