Five Facets of Mock Patching in PythonIntroduction Unit testing is an essential practice in software development that ensures the reliability and correctness of your code. One powerful tool in the Python testing arsenal is the unittest.mock library, which provides various ways to create ...Sep 5, 2023 · 3 min readrathnaviraj.hashnode.dev
N+1 Query ProblemIntroduction Django, a high-level Python web framework, has gained widespread popularity for its robustness, flexibility, and ease of use. One of its key components is the Model Serializer, which plays a critical role in serializing and deserializing...Aug 10, 2023 · 3 min readrathnaviraj.hashnode.dev
Conquering Realms in Concurrent ProgrammingWhat is Concurrent Programming A computer program comprises a set of instructions designed to be executed on a computer, producing specific output upon completion. Each instruction represents a distinct computational task. Typically, in sequential pr...Jul 11, 2023 · 5 min readrathnaviraj.hashnode.dev
Google OpenId Connect for Web Apps in Local Dev EnvironmentsIntroduction Google is a popular Identity Provider (IdP) option for third-party applications. Google's OAuth 2.0 API implements Open ID Connect (OIDC) specification and is an OpenID Certified vendor, which supports the authentication and authorizatio...Jan 18, 2023 · 4 min readrathnaviraj.hashnode.dev
Cache Busting with Django FileStoragesIntroduction Why Caching In production environments, caching the static contents is a well known practice to improve the user experiences and minimise resource utilisation. In most cases caching for static contents implemented in multiple levels from...Oct 28, 2022 · 4 min readrathnaviraj.hashnode.dev