
I'm a Python Django Developer having more than 7 year experience in web development and 2+ yr in django. Always ready to learn new things and ready to work on new technologies
Backend Developer
NeoSOFTBackend Developer
Chetu IndiaBackend Developer
WonderMouse Technologies
Django

Python

Agile Methodology

Javascript

MySQL

CSS

HTML

OOPS

AWS Lambda

GCP Cloud

MSSQL

Agile Methodology

CSS

HTML
My name is Gupta. So I'm from the district of UP. So I've now over 7 years of experience in web development. I've started my career in 2016, and then I initially started with PSP, then I switched to Python, and currently I'm working with the Python Django framework. And I have experience with HTML, CSS, jQuery. I've used the database side. I've used PostgreSQL. I've also used MSSQL and MySQL. So that is the technology I've used. I have the ability to work with clients and directly communicate with clients. I have the skill to estimate tasks, and I can easily learn new technologies. I have good skills in learning new things. My hobbies are reading news, papers, and listening to music. So these are my hobbies. So I pursued the BTEC. I completed the BTEC in 2016 with 75% marks. I completed my 12th standard in 2011 with 71.6 percent marks. I completed my 10th standard in 2010 with 65% marks. So these are my academic qualifications. I'm very keen to learn new things. Currently, I'm looking for an opportunity where I can grow myself and my technical skills and overall my personality. I'm looking for this kind of role and opportunity. Yeah. So that's all from my side. Thank you.
JWT tokens are, like, the JSON web server tokens. So these tokens we generally use for the authentication purpose. In the Django framework, we have multiple authentication methods, where the basic authentication and JWT authentication are the ones. So with the help of JWT tokens, we can make our API more secure with the help of JWT tokens. So the tokens have unique numbers. We can pass these numbers during our API hits, API request, and response calls. So, in the post method, we can use the post method. We can pass the JWT token and use it in delete methods. So these are the methods that we can use. And, in these methods, we can use JWT tokens to authenticate our API. This is more beneficial because every time we hit any API, it creates a unique token. We don't need to pass the username and password every time. Okay. So, this unique identification token and the JWT token is uniquely identified. So every time whenever we are going to send a request, we pass this token with the headers. So this is very secure and fast as well. Yeah.
What's the difference between a view and a view set, and a model view set? Which would you use to build out the standard set of REST API endpoints and why? The view is generally used to create something to work with the MBT architecture, like the view template. If we are going to render something to the template, then we generally use the view class. And the view set and the model view set, we generally use for the API purpose. The model view set is used because it automatically takes the data types of the fields from the model models itself. If we are going to use a view set, then we need to define the data types of the keys that we are passing in the REST APIs. So, I think the view set is much better because in the model, you said we have multiple keys that we don't need to show on our APIs. For example, we have IDs or some foreign keys relationships, so we don't want to show those IDs in the response. So that's why if we use we can customize our response and request as well. So that's why I think the view set is better to have in the REST API endpoints.
What is the difference between select related and prefetch related in Django queries? I'd be happy to give an example of when you have used each of them. Okay. So, the select related, I've used some time before. So, the select related is used whenever we have any foreign key relationship in our model. So, with the help of select related, we can get those foreign keys models data with the parent models. So with the help of those selected related keys, we can fetch those. And prefetch related, I've not used it.