Gayatri Jandhyala has Published 19 Articles

How to add groups in Django using authentication system?

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 05-Sep-2022 11:06:24

3K+ Views

Django is equipped with built-in permissions system that assigns permissions to specific users or groups of users. Permissions used by the Django-admin site are as follows, Users with the "view" or "update" permission for that type of object have access to view objects. Only users with the "add" permission ... Read More

How to create user and superuser in Django Authentication System?

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 05-Sep-2022 11:04:37

4K+ Views

The demand for dynamic websites increased as more features were required in websites. In this, in addition to delivering content, the server stores data and responds to user input. One of the key reasons for having a dynamic site is the ability to authenticate users and limit the material they ... Read More

How to change password of users in Django?

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 05-Sep-2022 11:03:28

4K+ Views

Static and dynamic websites are the two types of websites widely used on the web. Django is a web development framework for creating dynamic webpages. A static website is one that only displays information and has no interaction other than simple page requests that is recorded on the server. The ... Read More

How to prevent session hijacking in Django?

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 05-Sep-2022 11:01:14

771 Views

Session hijacking or session forging is another security issue that most websites are prone to. In this article, we will know more about the attack and how to protect your website against it. This is a wide class of attacks on a user's session data, rather than a specific assault. ... Read More

How to add authorization to your Django website?

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 05-Sep-2022 10:59:57

686 Views

In order to work with users’ data, first we keep track of data using sessions and later we enable user login by using those sessions. A system that allows developers to authorize an auth/auth system is a term used to describe the system that enables user authentication and authorization. The ... Read More

How to add authentication to Django Website?

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 05-Sep-2022 10:57:40

539 Views

In a web application, there are two key elements to data management. The first is to save data acquired from multiple browser queries, and the second is to use this preserved data to authenticate users. Sessions allow us to keep track of data across numerous browser queries. The second half ... Read More

How to humanize tags in Django?

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 05-Sep-2022 10:54:52

2K+ Views

Humanize means to make something more humane or human readable. To humanize tags means to makes it easier for the humans to understand. For example, 1800000000 becomes 1.8 billion or 10000 becomes 10, 000. There are simple changes that can be implemented to convert tags to a more human readable ... Read More

How to use memcached in Django?

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 05-Sep-2022 10:52:17

2K+ Views

The fact that dynamic websites provide an interactive and adaptable website is their calculations, including database queries, template rendering, and business logic, to produce the page that your site's visitor sees. This is much more expensive in terms of processing overhead than the usual accessing a file from the system ... Read More

How to deploy machine learning model using Django?

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 05-Sep-2022 10:50:49

5K+ Views

Django is a high-level Python framework for creating scalable and robust web applications. In Python, this is the most widely used framework. It adheres to the MVT (Model-View-Template) design pattern. Other MVC frameworks, such as Ruby on Rails and Laravel, are closely linked to it. The display and model elements ... Read More

What is middleware in django

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 02-Sep-2022 14:33:50

4K+ Views

A middleware component is nothing more than a Python class that follows a specific API. In Django, middleware is a small plugin that runs in the background while the request and response are being processed. The application's middleware is utilized to complete a task. Security, session, csrf protection, and authentication ... Read More

Advertisements