Category: Python Django

Integrating Django with Reactjs using Django REST Framework

In this article, we will learn the process of communicating between the Django Backend and React js frontend using the Django REST Framework. For the sake of a better understanding of the concept, we will be building a Simple Task Manager and go through the primary concepts for this type of integration between React js […]

Continue Reading

Customizing Object Level Permissions – Django REST Framework

In this article, we will discuss how to customize Object Level Permissions in Django REST Framework. To customize permission classes in Django REST Framework, we should inherit the rest_framework.permissions.BasePermission class and implement either or both of the following methods:.has_permission(self, request, view).has_object_permission(self, request, view, obj)If we look at our robot model mentioned in Browsable API in […]

Continue Reading

Custom Django Management Commands

Prerequisites:  Django Introduction and InstallationManage.py in Django is a command-line utility that works similar to the django-admin command. The difference is that it points towards the project’s settings.py file. This manage.py utility provides various commands that you must have while working with Django. Some of the most commonly used commands are –python manage.py startapppython manage.py […]

Continue Reading

Customizing Filters in Django REST Framework

Prerequisite: Adding Filtering in APIs – Django REST Framework [lin needed article on published yet]Django filters facilitate filtering the queryset to retrieve the relevant results based on the values assigned to the filter fields. But, what if the user wants to retrieve details within a given range. Say, for example, the user needs to fetch detail […]

Continue Reading

7 Mistakes You Should Avoid While Building a Django Application

Django…We all know the popularity of this Python framework. Django has become the first choice of developers to build their web applications. It is a free and open-source Python framework. Django can easily solve a lot of common development challenges. It allows you to build flexible and well-structured web applications.  A lot of common features […]

Continue Reading

Must Have Python Django Development Skills

We all know the popularity of the Python programming language. In most tech companies, this language is used to develop the backend part of the application. Also, this language is widely used in data science, automation, and other areas. Django which is the most popular framework of Python is now being used in a lot […]

Continue Reading

Flask vs Django – Which Framework Should You Choose?

Python is a powerful language with an amazing set of tools to make life a lot less simple for python developers. But when it comes to web frameworks, Flask and Django are the most preferred ones. Web frameworks are collections of packages and modules that make it easier to write web applications, without focusing on […]

Continue Reading