User Documentation

Additional resources

Sign up for Upsun

Get your free trial by clicking the link below.

Get your Upsun free trial

Local development Anchor to this heading

Once Django has been deployed on, you need to set up a local development environment to begin making revisions. For more information, consult the Django local development guides.

Package management Anchor to this heading

pip comes pre-installed on all Python containers. You can also use Pipenv and Poetry to manage dependencies, but there are a caveats to keep in mind when using those tools.

For more information, see how to manage Python dependencies.

Web servers Anchor to this heading

The examples in this guide primarily use Gunicorn as a web server for Django apps. Other servers such as Daphne and Uvicorn are equally supported.

See how to configure Python web servers.

Sanitize data Anchor to this heading

By default, each preview environment automatically inherits all data from its parent environment. So a developer working on a small feature has access to production data, including personally identifiable information (PII). This workflow isn’t always desirable or even acceptable based on your compliance requirements.

For how to enforce compliance requirements for user data across environments, see how to sanitize databases.

Is this page helpful?