// Tutorial Series //
Django Development
Django Development


Django is a free and open-source web framework written in Python. Django’s core principles are scalability, re-usability and rapid development. It is also known for its framework-level consistency and loose coupling, allowing for individual components to be independent of one another. Don’t repeat yourself (DRY programming) is an integral part of Django principles.

Summary View
detailed View
// Tutorial //

How To Install Django and Set Up a Development Environment on Ubuntu 22.04

Published on April 26, 2022 · Updated on July 19, 2022

Django is a free and open-source web framework written in Python with its core principles being scalability, re-usability and rapid development. In this tutorial, we will set up a Django environment for development purposes on an Ubuntu 22.04 server.

// Tutorial //

How To Create a Django App and Connect it to a Database

Published on August 28, 2017 · Updated on July 27, 2022

In this tutorial, you will learn how to set up the initial foundation for a blog website with connections to a MySQL database. This will involve creating the skeleton structure of the blog web application using django-admin, creating the MySQL database and then connecting the web application to the database.

// Tutorial //

How To Create Django Models

Published on October 6, 2017 · Updated on September 1, 2022

In this tutorial, we will create the Django models that define the fields and behaviors of the Blog application data that we will be storing. These models map the data from your Django application to the database. It’s what Django uses to generate the database tables via their object relational mapping (ORM) API called “models.”

// Tutorial //

How To Enable and Connect the Django Admin Interface

Published on October 16, 2017 · Updated on September 1, 2022

In this tutorial, we will connect to and enable the Django admin site so that you can manage your blog website. The Django admin site comes pre-built with a user interface that is designed to allow you and other trusted individuals to manage content for the website.

// Tutorial //

How To Create Views for Django Web Development

Published on April 25, 2018 · Updated on September 1, 2022

In this tutorial, we will create Django views that enable our web application to properly handle web requests and return the required web responses. As defined in the Django docs, a web response can be the HTML content of a Web page, a redirect, or an HTTP error.

Check out all our Tutorial Series

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.

© 2023 DigitalOcean, LLC.