Django

Handle 404 Not Found Page in Django

This post shows how to customize your Django website’s 404 (not found) page. If the resource doesn’t exist, Django displays the standard 404 page in production mode (DEBUG = False). Django invokes a specific view that is added to handle 404 failures when the Http404 exception is raised in a view. Django’s handler404 view by […]

Setup Crontab in Django Project

The crontab could be a list of commands simply need to run on a regular schedule, and also the name of the command used to manage that list. cron is the system process which will automatically perform tasks for you according to a set schedule. The schedule is called the crontab, which is also the name of the program used to edit […]

Upload image into custom folder in Django

Today we are going to upload image using django model. We’re going to create a small project where we can implement Django’s file upload, save and view functions, with a database but where the images will be stored on a hard drive. We assuming that you already configured your project. If you want to know […]

Python Virtual Environments and Packages

Packages and modules that aren’t included in the standard library are frequently used in Python applications. Applications may require a specific version of a library because the application requires the fix of a specific issue or because the application was created using an obsolete version of the library’s interface. This means that a single Python […]

Setup Your First Django Project

Today we are going to create our first django project. We’ll assume you have Python Installed already. If not, you can see our this post Python Installation . The venv module provides support for creating lightweight “virtual environments” with their own site directories, optionally isolated from system site directories. Each virtual environment has its own Python binary […]

Scroll to top