Launch
Django with
Launch a new Django project and you will instantly have access to a development environment. No sign-up required.
Launch a new Django project and you will instantly have access to a development environment. No sign-up required.
Diploi
Choose some optional add-ons to launch with Django
Instant launch. No sign-up required.
Start a demo, no card required https://diploi.com/component/django
Getting started guide https://diploi.com/blog/hosting_django_apps
A generic Django component ready to build your Django app.
This component was kickstarted running
django-admin startproject djangoapp
and it has DEBUG=true
inside settings.py by default
To secure your Django app, you must update your SECRET_KEY in settings.py
By default all Django apps use SQlite, which you must update to use your database of choice inside settings.py
Uses the official astral-sh/uv:3.13-alpine Docker image and Django
DEBUG=false
and if you want to use external CDNs for your static files, you will need to update the STATIC_ROOT
uwsgi
you can change it directly on the Dockerfile for production and developmentuv
, so you can add new packages using uv add <name-of-package>
Will run
uv sync
when component is first initialized, and uv run --isolated python3 manage.py runserver 0.0.0.0:8000
when deployment is started.
Will build a production ready image. The first step runs the command:
uv sync --locked --no-dev --group deploy
Which installs gunicorn, as part of --group=deploy
in pyproject.toml
, to install all necessary dependencies for production.
To get all static files, the image runs the command:
uv run --locked --no-dev python manage.py collectstatic --noinput
to get all static files.
Lastly, the image will start the production server with the command:
uv run gunicorn djangoapp.wsgi:application --bind 0.0.0.0:8000 --workers 3 --log-level info
Diploi is the single SaaS service for managing, developing and hosting your full application.