🥊 Django Showdown: Function-Based Views vs. Class-Based Views – The Ultimate Guide!
A fun, visual, and simple guide to Django's Function-Based Views (FBVs) vs. Class-Based Views (CBVs) with diagrams, humor, and real-world scenarios.
A fun, visual, and simple guide to Django's Function-Based Views (FBVs) vs. Class-Based Views (CBVs) with diagrams, humor, and real-world scenarios.
Filtering Dynamics 365 Web API data with OData: comparison, string and logical operators, null handling, date filters and lookup expansion, with examples.
In this article, we'll explore how VS Code infers types dynamically, what factors influence this inference, and how to control or refine type inference for your Python code.
A step-by-step guide to implementing mutual TLS (mTLS) authentication in FastAPI using OpenSSL and Uvicorn.
A comprehensive deep dive into Django ORM, covering models, migrations, QuerySets, relationships, advanced features, and best practices for mastering database interactions in Django.

A practical introduction to PyTest: writing tests and assertions, parameterized tests, fixtures, test classes, mocking and running specific tests.
Test database code with PyTest: pytest-django and pytest-sqlalchemy setups, transactions and rollbacks, and mocking database calls to keep tests isolated.
This article explains how to control the conversion of DateTime values from Excel in AL (Application Language) code. It introduces a flag, `ReadDateTimeInUtcDate`, that determines whether the DateTime should be interpreted as UTC or Local time. The article also provides examples of the `ConvertDateTimeDecimalToDateTime` function and how to set the flag to ensure the correct handling of DateTime values during conversion.
This article explores advanced scenarios for creating and using batch files to automate the execution of Python scripts. Topics covered include passing arguments, scheduling tasks, error handling, logging, and working with virtual environments.
In this article, we break down several powerful Python one-liners that perform complex tasks. Each section includes the code, an explanation of how it works, and a step-by-step breakdown.