Django Mock Interview | Interview Questions for Senior Django Developers

Turing
29 Sept 202217:15

Summary

TLDRIn this 2D Mark interview series, host Jose interviews software developer Andrew Espinoza for the role of an experienced Django developer. Andrew discusses his background in web and mobile development, highlighting projects like a 3D tourism website and a real-time delivery tracking system. The conversation delves into Django's architecture, middleware, caching, authentication, and ORM. Andrew also shares insights on Django's admin interface, mixins, and security practices, providing a comprehensive overview of Django's capabilities for developers.

Takeaways

  • 😀 The interview is part of a 2D Mark interview series hosted by Jose, focusing on the role of an experienced Django developer.
  • 🔍 The interviewee, Andrew Espinoza, is a software developer from Colombia with over five years of experience in web development and hybrid model development.
  • 🛠 Andrew has worked with various technologies including JavaScript frameworks like Angular and React.js, Python frameworks like Django and Flask, and mobile development with Flutter.
  • 🏆 Andrew has experience in fintech, healthcare, tourism, and other industries, developing robust and innovative solutions for various companies.
  • 🌐 He has worked on projects such as a 3D website for a tourism claim using Three.js and a delivery company's software with real-time tracking capabilities.
  • 🤔 The interview discusses middleware in Django, explaining its role in processing requests and responses within the application.
  • 🏛 Django's architecture is based on the MVC pattern, with a template replacing the traditional controller role.
  • 🔑 Django supports various caching methods, including memory caching, file system caching, and database caching, to improve performance.
  • 🔒 Django offers built-in security features to protect against common threats like SQL injection, cross-site scripting, and cross-site request forgery.
  • 🔄 Django's admin interface allows for quick development of a dashboard to manage application data, with customization options through plugins or templates.
  • 🔄 Middleware is also used for authentication in Django, which can be easily integrated with other projects for authentication backends.

Q & A

  • What is the purpose of the interview with Andrew Espinoza?

    -The purpose of the interview is to discuss Andrew's experience and qualifications for the role of an experienced full-stack jungle developer.

  • What technologies has Andrew worked with in his career?

    -Andrew has worked with JavaScript, Angular, React.js, Python, Django, Flask, Flutter, and has experience in various industries including fintech, healthcare, tourism, and e-commerce.

  • Can you describe one of the projects Andrew mentioned during the interview?

    -One of the projects Andrew mentioned was a highly interactive 3D website for a tourism company that used Three.js to display a map of the region with attractions and points of interest using low poly models.

  • How did Andrew handle the data transfer from Python to Three.js in the 3D tourism project?

    -Data was fetched from the database by a Django script, which then called an API to download the models for display. The download included file compression, caching, and synchronous loading times to ensure a smooth user experience.

  • What is middleware in the context of Django?

    -Middleware in Django is a piece of logic that is executed every time a response is made to a request. It processes the request, performs necessary actions, and then serves the response.

  • Can you explain the Django architecture that Andrew discussed?

    -Django uses a modified version of the MVC (Model-View-Controller) pattern. Instead of a controller, it has a template. The model stores data, the view connects to the model and serves a template, which uses HTML, JavaScript, and Django's template engine to render data.

  • What are the different types of models in Django's model architecture?

    -Django has abstract base classes, multi-table models, and proxy models. Abstract base classes provide common information to child models, multi-table models allow each child to have their own database records, and proxy models allow cloning of a model and overriding its information.

  • How does caching work in Django?

    -Django offers various caching methods including memory caching, file system caching, and database caching. Memory caching is the fastest and most efficient, while file system caching stores cache files on the server, and database caching is useful for powerful databases with well-defined indexes.

  • What is the role of authentication in Django and can middleware be used for it?

    -Authentication in Django is used as a middleware. It manages user permissions and can be easily integrated into other projects. Django supports common hashing systems like bcrypt and sha256 for secure authentication.

  • Can Django be used as an API framework?

    -Yes, Django can be used as an API framework with the help of Django REST framework, which simplifies the development of APIs and provides powerful capabilities for API creation.

  • What are Django's supported databases and how can it be connected to non-supported databases like MongoDB?

    -Django supports major databases like PostgreSQL, MySQL, Oracle, and SQLite out of the box. For non-supported databases like MongoDB, third-party packages can be used. These packages need to be installed and configured in the settings.py file.

  • What are Django's field classes and what is their purpose?

    -Django's field classes are abstractions that define the structure of a database table, such as columns and data types. They are used in models to map database fields and ensure the correct data structure is used.

  • What is a mixin in the context of Django and the Django REST framework?

    -A mixin in Django is a type of inheritance that allows combining various pieces of code into one. In the context of the Django REST framework, mixins are used to quickly add functionality to views, such as CRUD operations.

  • What is the Django admin interface and how can it be customized?

    -The Django admin interface is a dashboard for managing data in applications. It can be customized by adding models and views to the admin.py file, using templates, or by adding JavaScript modules to customize functionality.

  • What are the best practices for security in Django?

    -Django has built-in protections against common threats, including SQL injection, cross-site scripting, and cross-site request forgery. Best practices also include enforcing SSL/HTTPS, session security, and proper input validation.

  • What is SQL injection and how can it be prevented in Django?

    -SQL injection is a vulnerability where an attacker can send SQL queries through an API request, potentially executing them on the server. Django prevents this by default through query escaping and sanitization, and developers can verify protection settings in the security section of the settings.py file.

Outlines

00:00

😀 Interview Introduction and Guest's Background

The video script begins with the host, Jose, introducing the 2D, Mark interview series and himself as the host for the day. He is joined by Andres, a software developer from Colombia with over five years of experience in web development and hybrid model development. Andres has worked with various technologies including JavaScript, Angular, React.js, Python, Django, Flask, and Flutter. He has experience in fintech, healthcare, tourism, and other industries, developing robust and innovative solutions.

05:01

🛠️ Discussion on Interesting Projects and Technical Implementations

Andres shares insights into two notable projects he has worked on. The first project involved creating a highly interactive 3D website for a tourism company, utilizing 3D models and a map to display attractions and points of interest. The second project was a comprehensive software for a delivery company that enabled real-time tracking of drivers and deliveries, utilizing Django's capabilities such as web sockets, REST API, and heightened security, with horizontal scaling on AWS cloud. The discussion also covers the technical process of passing data from Python to the JavaScript library, d3.js, for the 3D website.

10:02

🏛️ Exploring Django's Middleware, Architecture, and Caching

The conversation delves into the use of middleware in Django, which executes logic every time a response is made to a request. Andres explains Django's architecture, which is based on the MVC pattern but uses templates instead of controllers. He discusses various caching methods in Django, including memory caching, file system caching, local memory caching, and database caching, highlighting their use in a project with large 3D models. The summary also touches on authentication in Django, using middleware for this purpose, and the hashing systems employed for security.

15:02

🔌 Django's REST Framework, Admin Interface, and Security Practices

Andres explains the Django REST framework, which facilitates the development of APIs, and how it can be used to return different types of responses such as XML or JSON. He discusses the Django admin interface, which allows for quick development of a dashboard to manage application data, and how it can be customized using plugins or JavaScript modules. The summary also covers best practices for security in Django, including protection against common threats like SQL injection, cross-site scripting, and the importance of enforcing SSL and HTTPS.

🚀 Final Thoughts on SQL Injection and Closing Remarks

The final part of the script addresses the concept of SQL injection, a vulnerability where an attacker can send an SQL query through a request, potentially executing it if not properly protected. Andres explains the importance of escaping queries and mentions that Django has built-in protection against SQL injection. The host, Jose, thanks Andres for the interview and encourages viewers to apply for jobs on tooling.com if they have the relevant experience. He also invites viewers to follow the series on various social media platforms and subscribe to the channel for more content.

Mindmap

Keywords

💡Experienced Developer

An experienced developer refers to a software professional with a significant amount of time spent in the field, often with a deep understanding of various programming languages and frameworks. In the video, Andrew Espinoza is introduced as an experienced developer with over five years in web development, using technologies like Angular, React.js, Django, and Flask.

💡Frontend Development

Frontend development is the process of creating the user interface and user experience of a website or application. It involves using technologies such as HTML, CSS, and JavaScript. In the context of the video, Andrew has worked with JavaScript frameworks like Angular and React.js for frontend development.

💡Backend Development

Backend development pertains to the server-side of software applications, dealing with databases, logic, and server-side scripting. Andrew works with Python in the backend, utilizing frameworks like Django and Flask, which are pivotal for creating robust server-side applications.

💡Hybrid Model Development

Hybrid model development refers to the creation of applications that can function on multiple platforms, typically through a single codebase. Andrew has experience in hybrid development, having worked with Flutter to create applications for both Android and iOS.

💡Django

Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. It is used to build web applications and is mentioned in the video as one of the frameworks Andrew has worked with, particularly for backend development.

💡Middleware

Middleware in the context of web development is a layer of software that connects an application's front end to its back end. In the video, middleware is discussed as a component in Django that executes logic every time a response is made to a request.

💡MVC Architecture

MVC stands for Model-View-Controller, a software architectural pattern used in developing user interfaces. Django uses a modified version of this pattern, as explained in the video, where the 'Controller' is replaced with a 'View' that serves a template.

💡Caching

Caching is a method used in computing to improve performance by storing copies of data, reducing the need to repeatedly fetch the same data from the original source. In the video, Andrew discusses various caching methods in Django, such as memory caching and file system caching.

💡Authentication

Authentication in computing is the process of verifying the identity of a user or device. It is a critical aspect of security for applications. The video mentions that Django uses middleware for authentication, supporting various hashing systems for secure user verification.

💡REST Framework

The Representational State Transfer (REST) framework is an architectural style for distributed systems, often used in the development of web services. Django REST framework, as mentioned in the video, is used for building APIs and supports various HTTP methods like GET, POST, PUT, DELETE, etc.

💡Django Admin Interface

The Django admin interface is a feature of Django that provides a quick and easy way to create an administrative dashboard for managing data within an application. It is customizable and can be adapted to fit the specific needs of the application, as discussed in the video.

💡SQL Injection

SQL injection is a type of security vulnerability where an attacker can insert or 'inject' malicious SQL queries into an input field for execution on the backend database. The video explains how Django protects against SQL injection by default, ensuring the security of applications.

Highlights

Introduction to the interview series with Jose as the host and Andres as the interviewee, focusing on Andres' experience as a full-stack developer.

Andres' background as a software developer from Colombia with over five years of experience in web and hybrid model development.

Andres' expertise in front-end development with JavaScript frameworks like Angular and React.js, and back-end development with Python using Django and Flask.

His experience in mobile development with Flutter for Android and iOS, and working across various industries such as fintech, healthcare, and tourism.

Description of a project involving a highly interactive 3D website for a tourism company using Three.js to display attractions and points of interest.

Another project mentioned is a full software for a delivery company with real-time tracking for drivers and deliveries, utilizing Django's capabilities.

Explanation of how data is passed from Python to Three.js in the 3D website project, involving API calls and data compression.

Discussion on middleware in Django, explaining its role in executing logic every time a response is made to a request.

Overview of the Django architecture, which uses a modified version of the MVC pattern with templates instead of controllers.

Different models in Django's style, including abstract base classes, multi-table models, and proxy models.

Caching strategies in Django, such as memory caching, file system caching, and database caching, and their respective use cases.

Authentication in Django as middleware, with support for common hashing systems and the ability to integrate with other projects.

Django as an API framework with the Django REST framework, allowing for easy development of APIs.

The response lifecycle in Django, detailing the process from HTTP request to HTTP response through middleware, views, and routers.

Databases supported by Django out of the box, including PostgreSQL, MySQL, Oracle, and SQLite, and the use of plugins for other databases.

Connecting Django to non-supported databases like MongoDB or Elasticsearch using third-party packages and the settings.py file.

Explanation of Django's field classes, which abstract database rows and allow for defining data types and relationships in models.

Experience with mixins in Django, which allow for combining various pieces of code into one for creating powerful API endpoints.

Overview of the Django admin interface, which provides a dashboard for managing application data and can be customized with templates or plugins.

Customizing functionalities in the Django admin by adding JavaScript modules or using plugins for specific features like filtering.

Best practices for security in Django, including protection against SQL injection, cross-site scripting, and enforcing SSL/HTTPS.

SQL injection explained and how Django prevents it by default through query escaping and sanitization.

Closing remarks with a call to action for developers to apply for jobs on tooling.com and follow the company on social media for updates.

Transcripts

play00:01

foreign

play00:09

we are back with another round of 2D

play00:11

Mark interview series I am Jose and I

play00:14

will be your host for today and today

play00:15

I'm here with Andres that I'm going to

play00:18

interview him for the role of an

play00:20

experience paito jungle developer okay

play00:23

uh and before we go I'd like to remind

play00:26

you that the question that we are going

play00:27

to be seeing today might be different if

play00:29

you come to a touring interview because

play00:32

this question was selected for a YouTube

play00:35

purpose okay as that said let's get

play00:38

started so first of all uh how are you

play00:42

doing Andrews and how is your day doing

play00:44

so far

play00:46

hi Jose doing pretty good it's been a

play00:49

pretty interesting day so I'm doing some

play00:51

nice work nice so

play00:54

um to guess that's these I would like to

play00:56

ask you to introduce yourself and tell

play00:59

me a little bit about your experience

play01:01

okay use past projects and then I'll get

play01:05

from there

play01:07

sure so my name is Andrew Espinoza I'm

play01:09

from Colombia I'm a software developer

play01:12

with over five years of experience in

play01:14

postdoc web development and hybrid model

play01:16

development when it comes to front end

play01:18

I've worked with JavaScript on

play01:20

Frameworks like angular and react.js

play01:22

back in development I work with python

play01:24

with Frank was like Django and flask and

play01:27

mobile developer and work with flutter

play01:28

for hybrid development for both Android

play01:31

and iOS I have experience in various

play01:34

Industries like fintech Advocate

play01:36

Healthcare tourism Majestic companies

play01:39

developing robust and innovative

play01:41

solutions to their problems and always

play01:44

keeping in mind uh mobile and desktop

play01:48

environments nice nice nice nice so uh

play01:52

could you please let me know a few

play01:54

interesting projects that you have been

play01:56

work on

play01:58

sure so a couple come to mind uh the

play02:01

first one is a highly generated 3D

play02:03

website that we did for a tourism claim

play02:05

that use jungle in 3as to display this

play02:09

map of the region that have all the

play02:13

like I say attractions and points of

play02:15

interest with low poly models and the

play02:18

other one would be a full software for a

play02:20

delivery company that allow for

play02:23

real-time tracking of both the drivers

play02:25

and their deliveries that use the full

play02:28

Suite of what Django has to offer it had

play02:30

web sockets RS API uh heightened

play02:33

security and it was very able to be

play02:37

horizontally scaled on AWS cloud

play02:43

e3js which is a JavaScript library right

play02:45

so uh I have a follow-up question for

play02:48

that how would you pass data from python

play02:51

to the d3js

play02:55

so those were composed of two process

play02:58

the first process was the view get from

play03:01

the database the coordinates names

play03:03

labels and some other information that

play03:06

needed to display

play03:07

on the template uh there was a script

play03:10

that got all that information and called

play03:12

an API in Django that downloaded the

play03:15

models for display

play03:17

this download had file compression it

play03:21

had catching and it has a synchronous

play03:25

loading times so

play03:27

it wasn't a big paint it was just

play03:31

everything would paint out as it was

play03:33

loading the page

play03:34

so that was how we did it with 3js

play03:37

gotcha all right okay and so let me

play03:41

let's now start talking about the jungle

play03:43

okay uh

play03:46

what is uh what's the use of midwares in

play03:51

Jungle

play03:52

so middleworth is a logic that is

play03:55

executed every time you make a response

play03:57

to a request to grab you or any other

play04:01

API or any other point of your

play04:03

application meaning that the user makes

play04:05

a request then we got the information do

play04:08

some processing and then we serve the

play04:11

response that we get from The View

play04:15

got you and could you please explain me

play04:19

um let's see

play04:22

could you please explain the jungle

play04:24

architecture

play04:25

sure Django uses a modified version of

play04:29

the popular NPC pattern so instead of

play04:31

having a controller we have a template

play04:35

so our model stores the data we have the

play04:38

view that connects to the model and it

play04:41

serves a template which uses HTML

play04:44

JavaScript and has the jungle template

play04:47

engine to be able to render the data

play04:49

that we get from The View right out of

play04:51

the path

play04:52

cool and what are the different module

play04:55

in Huntington's style in Jungle

play04:57

we have extra based classes which is a

play05:01

parent that has all the information that

play05:02

the child needs and we don't need to

play05:04

write it again on the child we need we

play05:06

have multi-table models which is sort of

play05:09

similar but instead all the Childs have

play05:12

their own records in the database and we

play05:14

have proxy models which allow us to

play05:17

basically clone a follower to our

play05:19

children and we are able to override all

play05:22

the information that we get from the

play05:23

father of the children

play05:25

okay great great and so yeah preview in

play05:29

your previous answer you mentioned that

play05:31

you work with caching right in your

play05:34

application uh could you please explain

play05:37

me uh the catch structured in Jungle

play05:41

sure we got various methods of caching

play05:44

uh we have name cache which is using the

play05:46

memory that is in the server this one is

play05:48

like the fastest and the most efficient

play05:50

is the one we use with the project

play05:51

because even though the models were low

play05:54

poly there still had some pretty decent

play05:57

size for a website there is file system

play06:00

caching which is just storing our

play06:02

caching files uh on the server local

play06:05

memory caching which is the de facto one

play06:09

that comes when you create your jungle

play06:10

project

play06:11

and we have database caching which is

play06:13

good when you have a really nice

play06:15

powerful database with very well-defined

play06:18

indexes it can give you a better

play06:20

performance that the other mentioned

play06:22

want to go to and how would you explain

play06:25

okay the authentication in Jungle and

play06:29

also can we use middleware for that

play06:33

yes basically authentication is used as

play06:35

a middleware in Django right so we have

play06:38

both authentication and authorization

play06:41

so we can have users those users have

play06:45

permissions those permissions could be

play06:47

assigned to groups let's say that there

play06:50

is an administrative group and a sales

play06:52

group so they have their own set of

play06:55

formation that is easier for the

play06:56

developer to establish them Django has

play07:00

the most common hashing systems that

play07:03

there is nt5 and shot 256 we have four

play07:07

validations and if we want to use Django

play07:09

as a follow-on authentication backend

play07:12

it's easy to Plug and Play to other

play07:15

projects that may be used in other

play07:16

languages okay and so we can use Django

play07:20

as

play07:21

API 2 right

play07:23

yes all right there is a forum framework

play07:26

it's called the West framework that

play07:29

this is very easy to install and it

play07:31

gives us four capabilities for

play07:33

developing very simple and very powerful

play07:35

apis nice and could you please explain

play07:37

me

play07:39

um say if you make a call to this API

play07:42

then we it will return for us XML or a

play07:46

Json or anything else right could you

play07:49

please explain me the response life

play07:51

cycle

play07:52

sure so

play07:55

you make a request right a Tango Korea

play07:58

is an HTTP request object it loads the

play08:01

settings.py file uh it checks that is if

play08:04

there are middle words that need to be

play08:06

wrong if there are we go through those

play08:08

middle words and after that we go to the

play08:12

router the router the size which one is

play08:15

the view that is going to serve this

play08:16

request it gets all the information if

play08:19

the one meter works we get the

play08:20

information that the middleware return

play08:23

and we get to the view and eventually we

play08:26

just get an HTTP response object that is

play08:29

sent back to the client or the browser

play08:31

okay great

play08:33

um

play08:34

all right so and what are the database

play08:37

supported by jungle

play08:39

so Django supports the Big databases the

play08:42

patient must the standard right out of

play08:44

the box we got postgres Maria MySQL

play08:47

Oracle and SQL Lite

play08:50

it also has plugins from Microsoft SQL

play08:53

ID IBM sap

play08:57

uh there may be some other packages that

play08:59

are out there for

play09:01

databases and officially Django doesn't

play09:05

support any non-sql databases uh couch

play09:08

face or something like

play09:11

any other non-sql that not supported

play09:13

officially all right and that's lead to

play09:16

my next question how do we connect

play09:19

Django to mongodb or Alexa search for

play09:22

example

play09:24

so if you go uh mongodb if you go to the

play09:27

website they have the documentation for

play09:29

the plugin that is for Django uh you

play09:32

will install it through pip and then you

play09:33

go to the settings.p1 file and it's

play09:36

fairly easy to set up uh it's not bad

play09:39

it's just that it's not officially

play09:40

supported so you need to go through your

play09:43

vendor first and they'll most likely

play09:45

have the installation process for it but

play09:47

it all comes down to there's a pay

play09:49

package that you installed and then you

play09:51

go to the settings.py file and you set

play09:54

it up gotcha all right so and what is

play09:58

jungle field classes or field class

play10:01

so the field class is an abstraction of

play10:04

what a row winner

play10:06

database works like right so when we're

play10:09

making our models and we're making our

play10:10

Styles we need to add the columns to our

play10:13

tables so this is how we will do so we

play10:17

set up the data type be at bar chart

play10:20

number Instagram Boolean whatever we

play10:23

require if it's not if it's a primary or

play10:26

a foreign key so on and so forth is

play10:30

kind of this method that allows us to

play10:33

map databases in general

play10:36

cool and so

play10:39

um

play10:40

do you know what is some mixing do you

play10:44

have experience work with mixings what

play10:46

are mixings yeah uh I have plenty of

play10:49

experience because mixing is kind of

play10:50

like the big thing but you're using the

play10:53

rest framework uh mixing is a type of

play10:55

inherence that allows you to combine

play10:58

various other pieces of code into one

play11:01

code so talking about the rest framework

play11:04

for example if you wanted to have very

play11:07

quickly an endpoint that had get put

play11:10

post patch and delete you add the mixing

play11:13

for care take medicine for post the

play11:15

mixing for the lead and the mix for both

play11:17

and it out of the pad gives that

play11:19

endpoint that view all the capabilities

play11:21

that are required for it to be an API

play11:25

okay uh and what do you understand about

play11:29

jungle admin interface

play11:32

so the admin interface is a way that you

play11:36

cut very quickly and very easily develop

play11:40

like a dashboard

play11:41

to manage all the data in your

play11:43

applications so when you create an app

play11:46

when you go to the to the command line

play11:49

to create an app you get an admin.py

play11:51

file there you can add the models and

play11:54

the views but you want to include in

play11:56

that interface

play11:58

from then you can either download a

play12:01

template they're fairly easy and fairly

play12:03

common you just go and search for them

play12:05

for a template or you can create your

play12:07

own template and you can specify what

play12:11

template you want to check so that the

play12:13

UI is

play12:14

different from what the generic dangling

play12:17

y has the power of the box

play12:19

got you and so uh what what are the ways

play12:24

the customize the functionalities

play12:30

yeah sure what's the way that we can

play12:33

customize functionality in the jungle

play12:35

admin

play12:38

so there are two ways like there's the

play12:42

downloading a Plugin or template you go

play12:45

into the settings.pr file there is a

play12:47

section for admin and you add them there

play12:49

and they're going to work right at the

play12:51

path or

play12:53

you can go into the root of your project

play12:55

and there's going to be another naughty

play12:56

and you can have JavaScript modules that

play12:59

you can add them on a parameter that is

play13:02

called Js

play13:04

and then you will basically will be

play13:06

adding or removing or changing

play13:09

any functionality that you need uh for

play13:11

example you need something along the

play13:12

line so I need filtering and I'm

play13:15

searching on the tables that are

play13:16

displayed on the admin interface uh

play13:20

there are plugins to do that or you can

play13:22

Implement your own logic got you and

play13:25

when it comes to security okay uh what

play13:29

are the best practical practice in terms

play13:32

of security in Jungle

play13:34

so Django has by default enabled some

play13:38

protection against very common threads

play13:40

that it has SQL injection protection

play13:43

which comes somebody evolve which is

play13:44

very important to have cross-size

play13:46

scripting if you're using an API and is

play13:49

you're going to be using in a very

play13:51

different environments such as mobile

play13:53

and desktop there is cross-eyed request

play13:56

ordering and other than that you

play14:00

obviously it's very good to add the

play14:02

ability to enforce SSL and https which

play14:06

doesn't compound by default for

play14:08

developing reasons you can add session

play14:11

security when you're managing

play14:12

authentications you can add clear

play14:14

jacking protection and you can add whole

play14:16

Square validation those are like

play14:18

the standard that every project needs to

play14:21

have

play14:22

for it to be secure in production

play14:24

cool and before I go to my next question

play14:27

I would like to couple our developers

play14:30

out there so if you have three plus

play14:32

years of experience and are confident

play14:34

with the skill set that you possess you

play14:36

can head on tooling.com jobs and apply

play14:39

for the job that is more suitable for

play14:41

your Tech stack okay once you apply you

play14:44

have to pass in the touring vetting

play14:46

process and then once you pass you get a

play14:49

job as we did okay also you can fall

play14:52

into it on Instagram Facebook

play14:54

LinkedIn YouTube uh Instagram what else

play14:58

uh Twitter okay stay close that I'm

play15:01

pretty much sure that you get the job

play15:03

that you deserve okay

play15:05

uh my last question for you uh Andres so

play15:11

uh what is SQL injection okay and how

play15:15

can we prevent SQL injection jungle

play15:18

so SQL injections is a vulnerability

play15:22

where your user on a four on a request

play15:25

on an API called sends an SQL query and

play15:31

there's not a protection for it and the

play15:33

server and the backend actually executes

play15:35

it and Returns the data that the

play15:38

attacker wants to see so

play15:41

the very basic simple SQL injection

play15:44

protection is just what is called

play15:46

escaping the queries which is just

play15:48

formatting and sanitizing the test so

play15:51

that it doesn't run anything that is it

play15:54

be it if it was a query of a JavaScript

play15:56

and Django actually takes care of this

play15:59

by default but you can also check if the

play16:02

protection is in place going to the

play16:04

settings of the profile there's going to

play16:06

be a security section and there should

play16:07

be uh something on loading the SQL

play16:10

injection nice all right thanks for

play16:12

explaining so thank you Andrew again

play16:15

that was really nice to speak to you

play16:16

today and that that is all for today

play16:18

okay uh and to everybody else thank you

play16:22

for watching these videos in the pretty

play16:23

much sure that you enjoyed this video as

play16:25

I did okay uh you can write down message

play16:28

and saying what kind of 2D Market if you

play16:31

would see in the upcoming video okay

play16:33

I've seen people commenting uh flutter

play16:36

we are preparing for flutter okay what

play16:39

else uh followed only getting YouTube

play16:40

Instagram around Facebook Twitter a

play16:43

clubhouse

play16:44

YouTube any anywhere and as I said stay

play16:48

close that you get the job that you

play16:49

deserve okay uh don't forget to

play16:52

subscribe to turin.com like this video

play16:54

If you enjoyed the content let me know

play16:56

in the comment section below uh if this

play16:58

is uh similar that we're getting out

play17:02

there uh as that said that's a wrap

play17:04

thank you all thanks for watching and I

play17:06

hope to see you all again okay take care

play17:11

[Music]

Rate This

5.0 / 5 (0 votes)

Связанные теги
Django InterviewSoftware DevelopmentWeb FrameworksPython ExpertiseFrontend TechnologiesBackend DevelopmentAPIs CreationSecurity PracticesDeveloper TipsCareer Advice
Вам нужно краткое изложение на английском?