Toptal
This is the final installment in a three-part series on leveraging pydantic for Django-based projects. Part 1 focused on pydantic’s use of Python type hints to streamline Django settings management; part 2 built an app on this concept with Docker and conda to show how to align development and production environments.
Deploying source code—and redeploying after updates—can be a frustrating process that leaves you brokenhearted. After so many bad relationships with other deployment platforms, I feel lucky to have found lasting happiness with Django and Heroku. I want to share the secrets of my success through a carefully curated example.
We want to deploy our Django application and ensure it is easy and secure by default. Heroku provides a no-stress relationship with our application platform by combining efficiency and security.
We have already built a sample hello-visitor application in part 2 of this Django and pydantic tutorial series and discussed
To read the full article click on the 'post' link at the top.