Django, Flask and similar on hosting.
CHECKING AVAILABILITY
Look for Setup Python App in cPanel. If present, you can create applications with a chosen Python version.
SETTING ONE UP
- Create the application, selecting the Python version and the application root.
- Set the application URL and the entry point.
- Install requirements through the interface or the provided environment.
- Restart the application after changes.
DJANGO SPECIFICS
Set DEBUG to False on production Configure ALLOWED_HOSTS Collect static files and ensure they are served Run migrations Keep the secret key out of the repository
LIMITATIONS
The same as Node: memory limits, restrictions on persistent processes, no system package installation.
Background task systems requiring persistent workers generally need a VPS.
WHAT WORKS
Standard web applications, APIs, and anything that fits a request-response model.
RESTARTING
Changes to code usually require restarting the application through the interface. This is a common source of confusion when a change appears not to take effect.