Category: Django Tutorial
Best and easy Django Tutorials for Beginners and Experts. Learn quickly and easily.
Class Based Views -APIView in DRF
Last updated on 29th December 2022 by Madderla Saikumar | Category: Django Tutorial
You might be asking yourself, why should I even use class-based views when I can have more control of what is happening in function-based views? This section will answer that and highlight class-based views. A view is a place where you can put the logic of your application. In general, we have 2 types of views in […]
Function Based Views – Django Rest Framework
Last updated on 27th December 2022 by Madderla Saikumar | Category: Django Tutorial
In this post, we are going to learn about function based views in Django. Django has two types of views; function-based views (FBVs), and class-based view (CBVs). Django originally started out with only FBVs, but then added CBVs as a way to templatize functionality so that you didn’t have to write boilerplate (i.e. the same […]
Delete Method In Django REST Framework
Last updated on 25th December 2022 by Madderla Saikumar | Category: Django Tutorial
Django REST framework (DRF) is a powerful and flexible toolkit for building web APIs. In this tutorial, we’ll learn how to build a CRUD API in just 15 minutes using the Django REST framework Delete is a part of it. To build our sample to-do list application, we’ll start by setting up the Django REST […]
Put Method In Django REST Framework
Last updated on 25th December 2022 by Madderla Saikumar | Category: Django Tutorial
Django REST framework (DRF) is a powerful and flexible toolkit for building web APIs. In this tutorial, we’ll learn how to build a CRUD API in just 15 minutes using the Django REST framework PUT is a part of It To build our sample to-do list application, we’ll start by setting up the Django REST […]
Post Method In Django REST Framework
Last updated on 20th December 2022 by Madderla Saikumar | Category: Django Tutorial
Django REST framework (DRF) is a powerful and flexible toolkit for building web APIs. In this tutorial, we’ll learn how to build a CRUD API in just 15 minutes using the Django REST framework. To build our sample to-do list application, we’ll start by setting up the Django REST framework in a Django project, followed […]
Get Method in Django REST Framework
Last updated on 16th December 2022 by Madderla Saikumar | Category: Django Tutorial
Django REST framework (DRF) is a powerful and flexible toolkit for building web APIs. In this tutorial, we’ll learn how to build a CRUD API in just 15 minutes using the Django REST framework. To build our sample to-do list application, we’ll start by setting up the Django REST framework in a Django project, followed […]
Admin Page Customization In Django
Last updated on 12th December 2022 by Madderla Saikumar | Category: Django Tutorial
The Django framework comes with a powerful administrative tool called admin. You can use it out of the box to quickly add, delete, or edit any database model from a web interface. But with a little extra code, you can customize the Django admin to take your admin capabilities to the next level In this tutorial we are going […]
Serializers in Django Rest Framework
Last updated on 16th December 2022 by Madderla Saikumar | Category: Django Tutorial
Serializers in Django REST Framework are responsible for converting objects into data types understandable by javascript and front-end frameworks. Serializer also provide deserialization, allowing parsed data to converted back into complex types, after first validating the incoming data. The serializers in REST framework work very similarly to Django’s Form and Model Form classes. The two […]
How to use HTML pages in Django
Last updated on 6th December 2022 by Madderla Saikumar | Category: Django Tutorial
We are going to explore how to render the HTML templates in Django using Templates folder. Django is written in Python and is different than how things work in say PHP for example. In PHP we can mix PHP with HTML to output web pages. Django and Python work a little differently. In Django, we […]
How to enable 2FA in the Django admin
Last updated on 15th November 2022 by Madderla Saikumar | Category: Django Tutorial
Now a days everyone has a smartphone, this type of 2FA setup is basically now free and accessible to everyone. You can easily install a 2FA client app like Google Authenticator or Twilio Authy on your phone. Many websites also now support it and will probably become more and more common as it does improve security significantly. On the server […]