Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.1K+ articles
Python Django
580+ articles
Django
90+ articles
Django-Projects
58+ articles
Django-REST
43+ articles
Django-basics
16+ articles
Django-views
21 posts
Recent Articles
Popular Articles
How to Use permission_required Decorators with Django Class-Based Views
Last Updated: 30 September 2024
In Django, permissions are used to control access to views and resources. When working with function-based views (FBVs), decorators like @permission_required are commonly ...
read more
Python
Python Django
Picked
Django-views
How to Change Status of JsonResponse in Django
Last Updated: 27 September 2024
When developing APIs or AJAX-based web applications in Django, one of the most common tasks is returning JSON data as a response. Django provides the JsonResponse class to...
read more
Python
Python Django
Picked
Django-views
How to Output Django QuerySet as JSON
Last Updated: 24 September 2024
In Django, a common task for web developers is to return data in JSON format, especially when working with APIs. A Django QuerySet, which is a collection of database queri...
read more
Python
Python Django
Picked
Django-views
Django URL Dispatcher Tutorial
Last Updated: 02 May 2025
In the Django application URL Dispatcher is used to map the URL with view, which in turn helps to handle the request and produce a response. In this article, we will learn...
read more
Python
Python Django
Django-basics
Django-views
Django-Projects
Django
Function based Views - Django Rest Framework
Last Updated: 16 February 2021
Django REST Framework allows us to work with regular Django views. It facilitates processing the HTTP requests and providing appropriate HTTP responses. In this section, y...
read more
Python
Python Django
Django-views
Django-REST
How to Pass Additional Context into a Class Based View (Django)?
Last Updated: 02 November 2021
Passing context into your templates from class-based views is easy once you know what to look out for. There are two ways to do it - one involves get_context_data, the oth...
read more
Python
Python Django
Django-views
TemplateView - Class Based Generic View Django
Last Updated: 25 May 2021
Django provides several class based generic views to accomplish common tasks. The simplest among them is TemplateView. It Renders a given template, with the context contai...
read more
Python
Python Django
Django-views
Built-in Error Views in Django
Last Updated: 01 November 2020
Whenever one tries to visit a link that doesn't exist on a website, it gives a 404 Error, that this page is not found. Similarly, there are more error codes such as 500, 4...
read more
Python
Python Django
Django-views
Django Class Based Views
Last Updated: 15 May 2025
Class-Based Views (CBVs) allow developers to handle HTTP requests in a structured and reusable way. With CBVs, different HTTP methods (like GET, POST) are handled as separ...
read more
Python
Python Django
Django-views
Django
FormView - Class Based Views Django
Last Updated: 25 April 2025
FormView refers to a view (logic) to display and verify a Django Form. For example, a form to register users at Geeksforgeeks. Class-based views provide an alternative way...
read more
Python
Python Django
Django-views
DeleteView - Class Based Views Django
Last Updated: 25 April 2025
Delete View refers to a view (logic) to delete a particular instance of a table from the database. It is used to delete entries in the database for example, deleting an ar...
read more
Python
Python Django
Django-views
UpdateView - Class Based Views Django
Last Updated: 20 July 2020
UpdateView refers to a view (logic) to update a particular instance of a table from the database with some extra details. It is used to update entries in the database, for...
read more
Python
Python Django
Django-views
DetailView - Class Based Views Django
Last Updated: 25 April 2025
Detail View refers to a view (logic) to display one instances of a table in the database. We have already discussed basics of Detail View in Detail View – Function based V...
read more
Python
Python Django
Django-views
ListView - Class Based Views Django
Last Updated: 25 April 2025
List View refers to a view (logic) to display multiple instances of a table in the database. We have already discussed the basics of List View in List View – Function base...
read more
Python
Python Django
Django-views
Createview - Class Based Views Django
Last Updated: 25 April 2025
Create View refers to a view (logic) to create an instance of a table in the database. We have already discussed basics of Create View in Create View – Function based View...
read more
Python
Python Django
Django-views
1
2
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !