// Tutorial Series //
Django Development
By
Django Development

Introduction

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

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in our Questions & Answers section, find tutorials and tools that will help you grow as a developer and scale your project or business, and subscribe to topics of interest.

Sign up

Try DigitalOcean for free

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

Sign up