Understanding the file structure and project layout of a Django web application.

Cover photo
Original image by Lukas from Pexels | Edited by author | Django logo

Django doesn’t have any definitive way that you should follow to structure your applications. There are many discussions about the best practice for structuring Django projects.

But Django provides you with a default structure when you create a project. …

One-to-One, One-to-Many, and Many-to-Many relationships in Django

Person writing on whiteboard
Photo by Startup Stock Photos from Pexels

Designing the database is one of the most important parts of building a web application. If you’re using a relational database, maintaining proper relationships between the tables is a must.

Each model in a Django application represents a database table. By default, Django models operate on Relational Database Management System…

Some important use cases of the Python math module

Photo by George Becker from Pexels

The math module in Python deals with mathematical calculations. It deals with many advanced mathematical operations, such as exponential, logarithmic, and trigonometric functions. So, for financial, scientific, or math-related projects the math module will come in handy.

Under the hood, the Python math module uses the mathematical functions defined by…

Explore the concept of modules and packages to modularize your Python code.

Hero photo of the article
Photo by MART PRODUCTION from Pexels

Modularization is the technique of splitting a large programming task into smaller, separate and manageable subtasks. Python is a modular programming language like most modern programming languages. Functions, modules, and packages in Python promote modularity. In this writing, we will discuss Python modules and packages in detail.

Python Modules

Every Python file…

ALGORITHMS

Understand the binary search Algorithm and learn to implement it in Python

Photo by Tobias Aeppli from Pexels

Binary search is an important searching algorithm that every programmer studies at some point. Binary search and other variants of it are frequently asked questions in coding interviews.

This article is to show you how the binary search algorithm works and how to implement it using Python. Let’s get started!

Beginner JavaScript

Practice JacaScript by building a simple temperature converter

Cover photo | Screenshot of the application
Temperature Converter | Screenshot by author | Background photo by Brady Knoll from Pexels

Today I will share with you a beginner-friendly project that you can build with Vanilla JavaScript. Although there are many good JavaScript frameworks available, understanding the fundamentals of a language is important.

As a beginner in JavaScript myself, I was searching for some fun practice projects that I can build…

Fahadul Shadhin

Undergraduate CS student | Writes about programming and development | Support: https://fahadulshadhin.medium.com/membership

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store