• Product
  • Services
  • Developers
  • Pricing
  • Sign in
  • Sign up for free
Contents Menu Expand
Developer Handbook Documentation
  • Get started
    • Installation
      • Why is the local development environment so important?
      • Before you start
      • Install Docker and Docker Compose
      • Install the Divio CLI package
      • Log in
      • Add your public SSH key to the Control Panel
      • On to the next step
    • Django
      • 1. Create a new Django project
      • 2. Set up your project locally
      • 3. Deploy your application to the cloud
      • 4. Add and configure a Postgres database
      • 5. Configure static file serving
      • 6. Add and configure media storage
      • 7. Apply some refinements
    • Aldryn
      • 1. Create a new Django project using Aldryn Django
      • 2. Set up your project locally
      • 3. Make changes and deploy them
      • 4. Configure a more complex application
    • Wagtail
      • 1. Create a new Wagtail Django project
      • 2. Set up your project locally
      • 3. Make changes and deploy them
    • Laravel
      • 1. Create a new PHP/Laravel project
      • 2. Set up your project locally
      • 3. Make changes and deploy them
      • 4. Install an application using Flavours
  • How-to guides
    • Working in the local development environment
      • Set up the Divio local development environment
      • Run the local server in Live configuration
    • Deploy an application on Divio
      • Deploy a new Django project using our quickstart repository
      • Deploy a new django CMS project using our quickstart repository
      • Migrate/create and deploy a Django project
      • Migrate/create and deploy a Flask project
    • Building your Docker application
      • Manage a project's base image
      • Install system packages
    • Platform-specific guides
      • Install Python dependencies
      • Create a multi-site Django project using Mirrors
      • Go-live checklist for Django projects
      • Add a Django application to an Aldryn project
      • Configure Django settings using Aldryn
      • Configure external logging
      • Configure Celery
      • Manage access authentication
      • Manage redirects in Django projects
      • Log in to a local Django project
      • Manage uWSGI configuration
      • Fine-tune uWSGI server performance
      • Package an application as an Aldryn addon
      • Update an existing Aldryn addon
      • Force HTTPS with Express.js
    • Managing a project’s resources
      • Interact with your project’s database
      • Interact with your project’s cloud media storage
      • Manage environment variables
    • Adding new functionality to a project
      • Set up Sass CSS compilation
      • Configure Application Performance Monitoring
      • Configure media serving on a custom domain
    • Development workflow
      • Configure external Git hosting
      • Use Git to manage your project
      • Set up CI/CD
      • Use the Divio API
    • Troubleshooting
      • Debug cloud deployment problems
      • Diagnose performance issues
      • Identify and resolve a Python dependency conflict
      • Get help when you have a problem
  • Technical reference
    • Divio software components
      • Divio CLI
      • Divio API reference
      • The cloud and local shells
      • Divio environment variables
    • Docker commands and configuration
      • Docker commands
      • The Dockerfile
      • The docker-compose.yml file
    • Python/Django application configuration
      • The settings.py file
    • Coding in Divio applications
      • Working with your project’s media storage
      • File compression
      • Sending email
    • Addons
      • Addon configuration with aldryn_config.py
      • Aldryn Django (core Django)
      • Aldryn SSO (authentication)
      • Aldryn Addons (addon integration)
    • Quick reference
      • Local commands cheatsheet
  • Background information
    • Our infrastructure
      • Overview
      • Docker basics
      • IP addresses
      • Cron jobs
      • Maintenance operations
      • Our Python wheels proxy
    • Cloud management
      • Environments
      • Metrics (Beta)
      • Service management (Beta)
      • Release commands (Beta)
    • How it works on Divio
      • HTTP redirects
      • Caching and CDN
      • Configuration using environment variables
    • Projects
      • Project creation options
      • The deployment process
      • Anatomy of a Divio project
      • Project environments
      • Version control
      • Boilerplates
      • Multi-site projects on Divio
    • Recommended project configurations
      • Working with our recommended Django project configuration
    • Aldryn Django and addons
      • What is Aldryn, and why use it?
      • Anatomy of a Divio addon
      • How settings are handled in Django addons
      • Django addons and templates
  • Docs  » 
  • Get started  » 
  • Django tutorials

Django tutorials¶

  • 1. Create a new Django project
  • 2. Set up your project locally
  • 3. Deploy your application to the cloud
  • 4. Add and configure a Postgres database
  • 5. Configure static file serving
  • 6. Add and configure media storage
  • 7. Apply some refinements
Copyright © 2017-2020, Divio. Revision 20276826. Edit on GitHub