Sambhavi Dhanabalanhellosambhavi.com·Oct 5, 2023Simple Django Tip #1This is a super short post with a simple tip that can be performed in any Django project. Though simple, it aids in keeping the code clean, and easy to debug and maintain. I cannot emphasize the usefulness of this step. When I started to learn Django...1 like·230 readsDjango
Alban Siffersituation.hashnode.dev·Oct 19, 2022Manage Django settings with Pydantic - Part 2In the previous part, we manage to use pydantic BaseSettings object to store common django settings. In this article, we use all the power of pydantic to handle common use-cases. Using environment variables In practice, we are likely to deploy our dj...304 readsManage Django settings with PydanticDjango
Alban Siffersituation.hashnode.dev·Oct 18, 2022Manage Django settings with Pydantic - Part 1When our django project grows, we generally have to manage more and more settings: databases, security, cache, mails… And it quickly becomes a mess, scrolling hundreds of lines to change the CSRF header. In this series of articles, we will see how to...450 readsManage Django settings with PydanticDjango