Course Content

  • MyBlogSite

Course Content


Logout is a function that is used to log out of a website. It is usually found in the navigation bar. Logout can be done by clicking on the logout button, which is usually found at the top of a website's navigation bar.

The logout view in Flask is a template that is used when the user logs out from the application.

We will first create a user table to store the user's information. The table should have the following columns: id, username, password and email. The id column is the primary key and it should be unique:

  • # Create a new migration file called "migrations/0001_initial" with the following content:
  • class Migration(migrations.Migration):
  • def change(self, orm):
  • """Add User Table"""
  • self.add_table('users', fields=['id', 'username', 'password', 'email'])
  • def migrate(self):
  • oracle_session =

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
Apple App Store
598K+ Downloads
App Download Section Circle 1
4.57 Avg. Ratings
App Download Section Circle 2
15K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere