Latest Blog Articleshttps://learnbatta.com/Updates on changes and additions to police beat central.en-usTue, 30 Jul 2019 16:12:01 +0000django pass data from view to templatehttps://learnbatta.com/blog/django-pass-data-from-view-to-template-99/we seperate business logic from presentational logic. We write business logic in views and we pass data to templates to present the data.https://learnbatta.com/blog/django-pass-data-from-view-to-template-99/renderers in Django Rest Frameworkhttps://learnbatta.com/blog/renderers-in-django-rest-framework-86/renderers in Django Rest are used to give response to a request with specific media type like JSON, XML, YAML, etc.https://learnbatta.com/blog/renderers-in-django-rest-framework-86/parsers in Django Rest Frameworkhttps://learnbatta.com/blog/parsers-in-django-rest-framework-85/parsers in Django Rest are used to parse the content of incoming HTTP request. Parsers can parse different HTTP content types like "applicaion/json", etc.https://learnbatta.com/blog/parsers-in-django-rest-framework-85/routers in Django Rest Frameworkhttps://learnbatta.com/blog/routers-in-django-rest-framework-84/Routers are used with ViewSets in django rest framework to auto config the urls. Routers provides a simple, quick and consistent way of wiring up url config.https://learnbatta.com/blog/routers-in-django-rest-framework-84/django send email using mailgun apihttps://learnbatta.com/blog/django-send-email-using-mailgun-api-94/We can send email in django using mailgun api. Mailgun is one of the trusted email service providers.https://learnbatta.com/blog/django-send-email-using-mailgun-api-94/viewsets in Django Rest Frameworkhttps://learnbatta.com/blog/viewsets-in-django-rest-framework-83/DRF allows us to combine the logic for a set of related views in a single class "ViewSet". ViewSets can speed-up the development and better maintainability.https://learnbatta.com/blog/viewsets-in-django-rest-framework-83/permissions in Django Rest Frameworkhttps://learnbatta.com/blog/permissions-in-django-rest-framework-82/permissions in Django Rest Framework are used to grant or deny access for different types of users to different parts of the API.https://learnbatta.com/blog/permissions-in-django-rest-framework-82/authentication in Django Rest Frameworkhttps://learnbatta.com/blog/authentication-in-django-rest-framework-81/Authentication means the process or action of verifying the identity of a user. In this article we will work on authentication in django rest framework.https://learnbatta.com/blog/authentication-in-django-rest-framework-81/advanced class based views in Django Rest Frameworkhttps://learnbatta.com/blog/advanced-class-based-views-django-rest-framework-80/Advanced class based generic views allows us implement two or more functionalities(create, list, delete, put, patch, etc) in a single API endpoint.https://learnbatta.com/blog/advanced-class-based-views-django-rest-framework-80/class based views in Django Rest Frameworkhttps://learnbatta.com/blog/class-based-views-in-django-rest-framework-79/DRF supports both function and class based views but CBV is chosen over FBV because it comes with built-in generic views for repetitive functionality.https://learnbatta.com/blog/class-based-views-in-django-rest-framework-79/python exception handlinghttps://learnbatta.com/blog/python-exception-handling-66/python exception handling is one of the concepts in python programming. Before start working with exceptional handling in python what is an exception ?https://learnbatta.com/blog/python-exception-handling-66/tmux working with split terminalhttps://learnbatta.com/blog/tmux-working-with-split-terminal-95/tmux allows multiple terminal sessions can be accessed in a single window. It allows SSH sessions to remain active without being visible.https://learnbatta.com/blog/tmux-working-with-split-terminal-95/python reading and writing fileshttps://learnbatta.com/blog/python-reading-and-writing-files-65/File reading and File writing is widely used concept in python Because we always deal with information and it's storage.https://learnbatta.com/blog/python-reading-and-writing-files-65/python writing modules and packageshttps://learnbatta.com/blog/python-writing-modules-and-packages-64/For better maintainability of code we use modules and packages.https://learnbatta.com/blog/python-writing-modules-and-packages-64/python staticmethod, classmethod and instancemethodhttps://learnbatta.com/blog/python-staticmethod-classmethod-and-instancemethod-63/we have three types of class based methods in python. They are 1.static method, 2.class method and 3.instance method. Let's get started with python methods.https://learnbatta.com/blog/python-staticmethod-classmethod-and-instancemethod-63/