Django CRUD with Bootstrap Template

python django crud with bootstrap using class based view

In this Python Django tutorial, I will explain to perform Django CRUD with bootstrap Template. I was given a project to develop an application for a fitness club gym that would register gym members, show their information, update their fitness records, and delete members who left the gym. In order to conduct CRUD activities on …

Read more…

How to delete session property in Django

deletion of session property using django example

In this Python Django tutorial, I will explain how to delete session property in Django in simple steps. Recently, I have been creating a Company Management System using the Django web framework. And I have got a requirement for the creation of a session on login of the employee and on logout, it needs to …

Read more…

AttributeError module object has no attribute in Django

AttributeError module object has no attribute django

In this Python Django tutorial, I will explain how to solve AttributeError module object has no attribute in Django. Recently, when I was working on a Django project, I came across an issue where I have an error “module object has no attribute”. So, after looking at multiple solutions, I found a solution that helped …

Read more…

How to get user IP address in Django

get visitor IP address in Django

In this Python Django tutorial, I will explain how to get user IP address in Django in simple steps. I’ve recently developed a project using the Django web framework in which I have a requirement for the user’s IP address. So, here we will cover the steps that we can follow to get user IP …

Read more…

How to Parse CSV in Python Django

How to parse CSV using Python Django

In this Python Django tutorial, I will explain how to parse CSV in Python Django in simple steps. Recently, I have been creating a website using the Django framework. And I have a number of data items in a CSV file to upload to the Django model. So, I have done the research and created a logic for …

Read more…

Python Django search with dropdown filter

search with a dropdown filter in python django

In this Python Django tutorial, I will explain how to search with a dropdown filter in Django in simple steps. Recently, I have been creating a website using the Django framework. And I needed a dropdown menu to search for employees on specific criteria. Here we will see: At the end of this article, you can also …

Read more…

How to add dropdown navbar in Django

add navbar template for blog categories using django

In this Python Django tutorial, I will explain how to add dropdown navbar in Django in simple steps. Recently, I have been creating a website for PythonGuides using the Django framework. And I needed a navigation bar with a dropdown menu to add blog categories. So, I have done some research and added a navbar with a …

Read more…

How to create a function-based view in Django

create a function-based view to create a record in Django

In this Python Django tutorial, I will explain how to create a function-based view in Django in simple steps. The view is a function that takes web requests and returns web responses. So, while working on any Django project we always need a view as it contains the main logic. So, here we will see: …

Read more…

How to create web form in Python Django

working with python django forms

In this Python Django tutorial, I will explain working with Django forms. As a Python Django developer, while working on a Django project I got a requirement of gathering information from the users. So, I have done the research and discovered that we can create web form in Python Django. Here we will see: At …

Read more…

How to build a contact form in Django using bootstrap

how to build a contact form in Django using bootstrap

Recently, I got one requirement to create a contact form in Django and save the data to a database. And here, I will explain step by step how to build a contact form in Django using bootstrap. I’m currently working on a Django project for a project builder website where a bootstrap contact form is …

Read more…