Skip to content

Basic

The smallest complete setup: install the package, register the app, and run the server.

Terminal window
pip install django-cheroot
settings.py
INSTALLED_APPS = [
"django.contrib.admin",
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
"django_cheroot",
]
Terminal window
python manage.py cheroot

You’ll see Cheroot start up and begin serving on http://127.0.0.1:8000. Open that URL in a browser and you’ll get the same response your Django project serves under any other WSGI server.

Stop the server with Ctrl+C.