Gayatri Jandhyala has Published 19 Articles

What is CSRF token in Django?

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 02-Sep-2022 14:31:35

12K+ Views

CSRF stands for Cross Site Request Forgery, and it is said to occurs when a malicious Web site deceives users into unwillingly and unknowingly loading a URL from a site where they've previously been authenticated, thus exploiting their status and also putting the data at risk. To understand what the ... Read More

What is django ORM?

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 02-Sep-2022 14:30:08

16K+ Views

ORM stands for Object Relational Mapper. The main goal of ORM is to send data between a database and models in an application. It maps a relation between the database and a model. So, ORM maps object attributes to fields of a table. The main advantage of using ORM is ... Read More

How to protect against cross-site scripting (XSS) in Django?

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 02-Sep-2022 14:28:21

463 Views

Web applications that fail to appropriately escape user-submitted text before rendering it into HTML are vulnerable to cross-site scripting (XSS). An attacker can use this to inject arbitrary HTML into your Web page, commonly in the form of a element. XSS attacks are frequently used by attackers to steal ... Read More

How to make Django admin more secure?

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 02-Sep-2022 14:20:02

407 Views

Django is a web framework that is popular for its ease of usage. Django like many other web frameworks comes equipped with a lot of features and functionalities that can be used without much code to write. Django-admin is one of those features. The automatic admin interface is one of ... Read More

How to add security to your Django website?

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 02-Sep-2022 14:07:27

504 Views

Communication through the web happens through a HTTP connection and more often than not you never know who is on the other end. It may be one of your users, but it could also be a malicious hacker searching for an opportunity. Any data from the browser, regardless of its ... Read More

How to add validation to your Django project?

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 02-Sep-2022 14:04:13

406 Views

Validation is the process through which the computer automatically checks to ensure that the data entered is sensible and reasonable. It does not provide if the data entered is accurate or not. Many of us are familiar with email or phone validation that is usually a part of most websites. ... Read More

How to upgrade django to a newer version in anaconda?

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 02-Sep-2022 14:02:38

465 Views

Anaconda is very popular framework used for python development. It enables users to develop web applications, desktop application, data analysis programs, machine learning applications and more. Another great feature of anaconda is that it enables users to create virtual environments, so installing a package or library only in that environment ... Read More

What are projects and apps in Django?

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 02-Sep-2022 14:01:22

525 Views

Django is a popular web framework used for the development of websites. Django follows the MVT (Model-View-Template) architecture. Here, Model is responsible for the data and logical structure of your project, View contains the business logic and Template is responsible for rendering the HTML files. The hierarchy of project in ... Read More

How to install Django in Anaconda?

Gayatri Jandhyala

Gayatri Jandhyala

Updated on 02-Sep-2022 13:59:28

9K+ Views

In this section, we are going to look at how to install anaconda in your computer. And then we will move into how to install Django in this anaconda environment. Anaconda is a popular run time environment for python programs. The anaconda distribution provides many environments such as Spyder which ... Read More

Advertisements