Complete guide for developing and hosting professional Django applications on Square Cloud.
app.py
) and add the following code to create a basic Django application:
requirements.txt
file is a file that lists all external libraries needed for your project. You should list all the libraries that your project will use, excluding native libraries like random
and datetime
. This file should be included when uploading your application to Square Cloud.
mysite.com
) instead of the default URL https://mysite.squareweb.app/
, you need the Standard plan or higher. The subdomain is defined by the SUBDOMAIN field in the configuration file. See: How to set up your custom domain..env
file.