I just want to get some basic Python apps working on the web under my DNS.. Is Django the easiest way?

Posted August 8, 2020 203 views

I installed the one click Django but ran into Gateway 502 errors. I have a handful of Python apps that I edited which use some APIs to financial data that work fine on my local computer. Before I start building more of them, I simply want to get a few basic Python apps to work from any browser under one of the DNS names that I own. I’ve gone through trying to get Django to work a couple times, and now I have the one-click Django instance on DigitalOcean and wondering if anyone has any advice on the easiest way to run my Python programs, with database access, on the web using my DNS. I can get them working on Flask, but I don’t want that unless I can get full function that way. I may just have to go through the learning curve with Django. Any quick and dirty way or shortcuts?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there,

I just came across this question.

One of the most effortless ways to deploy Django would be to use the new DigitalOcean App platform. That way you will not have to do any server configuration.

You can follow the steps on how to do that here:


by Mason Egger
Django is a powerful web framework that allows you to deploy your Python applications or websites. Django includes many features such as authentication, a custom database ORM, and an extensible plugin architecture. Django simplifies the complexities of web development, allowing you to focus on writing code. In this tutorial, you'll configure a Django project and deploy it to DigitalOcean's App Platform.