I am trying to deploy my Django REST API to Microsoft Azure. I created a resource group and an app service. The database is Azure PostgreSQL. My app works locally, but I face issues after deployment. I’m not sure how to best manage static and media files. Should I use Azure Storage or keep them inside the app service? I also need help with handling environment variables and secrets. Is Azure Key Vault the right choice for Django?
Another area of confusion is CI/CD. I see options for GitHub Actions and Azure Pipelines. I want to know which one is better for a small Django project. This is part of my AZ-104 exam learning process, and I want to apply what I study in real projects. Any advice from people who have already deployed Django apps to Azure would be very helpful.