Django News App Part II

In part I of Django News App, we displayed our homepage by including view logic in our urls.py file. Here we will create a dedicated pages app for all our static pages, such as homepage. This will keep our code nice and organized. We will also add password and password functionality to complete the authorization flow of our Newspaper app. Initially we will implement Django’s builtin views and URLs for password change and password reset before customizing them with our own Bootstrap powered templates and email service.

Django News App Part I

Part one of making news application in Django. Here we go through initial setup which includes creating virtual environment, creating repository in Github, installing Django and creating basic app. This is followed by creating sign up, login and log out for users. Finally we test our code.

Blog App in Django Part II

In Blog App in Django Part I user can only create, edit or delete blogs through admin panel. In this tutorial, we will add functionalities and pages so that user can create, edit and delete blog posts without using Django admin panel. We will add codes to previous project.

Blog App in Django Part I

In this tutorial we will build a Blog App in Django that allows users to create, edit and delete posts. The homepage will list all blog posts and there will be a dedicated detail page for each individual blog post. We will also introduce CSS for styling and learn how Django works with static files.

Learn Basic of Django with Message Board App

In this tutorial we will learn Basic of Django with Message Board Application where users can post and read short messages. We will use database for this purpose. We will also explore Django built-in admin interface which provides a visual way to make changes to our data. Towards end we will add few tests

Hello Django

The following tutorial has been operated on Ubuntu 22.04.02 with the Python Version 3.10.6 Create a virtual Environment Install Django Output Start a Django Projects Running Django Note that the full command line output will contain additional information including a warning about 18 unapplied migrations. Technically, this warning doesn’t matter at this point. Django is complaining that we have not […]

MySQL meets Python

MySQL is an open-source relational database management system (RDBMS). Here we will learn how to setup MySQL in ubuntu and use it with the help of Python. Thanks to w3schools.

Flask and Cookies

HTTP cookies (also called web cookies, Internet cookies, browser cookies, or simply cookies) are small blocks of data created by a web server while a user is browsing a website and placed on the user’s computer or other device by the user’s web browser. Cookies are placed on the device used to access a website, and more than one cookie may be placed on a user’s device during a session.

Here we will learn to use cookies with flask.