Tutorials

Follow along with one of our 3439
development and sysadmin tutorials.

66 Tutorials
  • How To Scale and Secure a Django Application with Docker, Nginx, and Let's Encrypt

    In cloud-based environments, there are multiple ways to scale and secure a Django application. By scaling horizontally, and running several copies of your app, you can build a more fault-tolerant and highly-available ...
    By Hanif Jetha Django Docker Nginx Let's Encrypt Python Frameworks
  • Tutorial

    How To Set Up Django with Postgres, Nginx, and Gunicorn on Ubuntu 20.04

    Django is a powerful web framework that can help you get your Python application or website off the ground. Django includes a simplified development server for testing your code locally, but for anything even slightl...
    By Erin Glass Ubuntu 20.04 Nginx Python Python Frameworks Django PostgreSQL Databases
  • How To Create Views for Django Web Development

    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 conten...
    By Jeremy Morris Django Development Python Programming Project Ubuntu 20.04
  • How To Enable and Connect the Django Admin Interface

    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 trust...
    By Jeremy Morris Python Django Development Programming Project Ubuntu 20.04
  • How To Create Django Models

    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’...
    By Jeremy Morris Python Django Development Programming Project Ubuntu 20.04
  • How To Create a Django App and Connect it to a Database

    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...
    By Jeremy Morris Django Development Programming Project Ubuntu 20.04 Python Frameworks
  • How To Install Django and Set Up a Development Environment on Ubuntu 20.04

    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 pu...
    By Lisa Tagliaferri Django Python Frameworks Development Ubuntu 18.04
  • Tutorial

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

    In this tutorial, we will set up a Django development environment. We’ll install Python 3, pip 3, Django and virtualenv in order to provide you with the tools necessary for developing web applications with Django.
    By Jeremy Morris Python Django Development Programming Project Debian Ubuntu 16.04
  • Tutorial

    How To Add Unit Testing to Your Django Project

    Testing a website can be a complex task to undertake because it is made up of several layers of logic like handling HTTP requests, form validation, and rendering templates. However Django provides a set of tools that ...
    By Evans Ehiorobo Django Python Python Frameworks Applications Programming Project Development
  • Tutorial

    How To Build a Universal Application with Nuxt.js and Django

    In this article, we will see how to create a Universal application using Django and Nuxt.js. Django will handle the back-end operations and provide the APIs using the (DRF) Django Rest Framework, while Nuxt.js will cr...
    By Jordan Irabor Django Vue.js JavaScript Python Frameworks
  • Tutorial

    How To Build a Weather App in Django

    In this article we'll build a simple Django app that displays the current weather for various cities. To get the current weather data, we'll use the Open Weather Map API. We'll work with a database and create a form, ...
    By Anthony Herbert Django Python Development
  • Tutorial

    Django Authentication With Facebook, Instagram and LinkedIn

    In this tutorial, we will build a Django application that allows users to sign in via their Facebook, Instagram, and LinkedIn accounts. To achieve this, we will use the social-auth-app-django library. We will also lea...
    By Jordan Irabor Django Python Frameworks
  • Tutorial

    How To Display Data from the DigitalOcean API with Django

    Django is a web framework written in Python. Django has been used in websites such as Mozilla, Pinterest and Instagram. You can use Django to display information from APIs (such as Instagram posts or GitHub repositori...
    By Ari Birnbaum Development Django API Programming Project
  • How to Build a Django and Gunicorn Application with Docker

    Interested in Django but not sure where to start with Docker? This tutorial will walk you through first steps: modifying a sample Django application to work in a container-based environment, and building a container i...
    By Justin Ellingwood, Hanif Jetha Django Ubuntu 18.04 Applications Docker PostgreSQL Python Databases
  • Tutorial

    How To Set Up Django with Postgres, Nginx, and Gunicorn on Debian 10

    Django is a powerful web framework that can help you get your Python application or website off the ground. Django includes a simplified development server for testing your code locally, but for anything even slightly...
    By Justin Ellingwood, Hanif Jetha Django Python Python Frameworks Databases PostgreSQL Nginx Debian 10
  • Tutorial

    How to Set Up a Scalable Django App with DigitalOcean Managed Databases and Spaces

    Django is a powerful web framework that can help you get your Python application or website off the ground quickly. It includes several convenient features like an object-relational mapper, a Python API, and a...
    By Justin Ellingwood, Hanif Jetha Solutions Django Python Frameworks CDN DigitalOcean Spaces Object Storage Nginx Let's Encrypt PostgreSQL Databases Ubuntu 18.04
  • Tutorial

    How To Build a Modern Web Application to Manage Customer Information with Django and React on Ubuntu 18.04

    In this tutorial, you will build a modern web application with a separate REST API backend and frontend using React, Django, and Django REST Framework. By using React with Django, you'll be able to benefit from the la...
    By Ahmed Bouchefra Django Applications React Ubuntu 18.04
  • Tutorial

    How To Set Up Django with Postgres, Nginx, and Gunicorn on Debian 9

    Django is a powerful web framework that can help you get your Python application or website off the ground. Django includes a simplified development server for testing your code locally, but for anything even slightly...
    By Justin Ellingwood, Hanif Jetha Django Python Python Frameworks Databases PostgreSQL Nginx Debian 9
  • Tutorial

    How To Install the Django Web Framework on Ubuntu 18.04

    Django is a full-featured Python web framework for developing dynamic websites and applications. Using Django, you can quickly create Python web applications and rely on the framework to do a good deal of the heavy li...
    By Justin Ellingwood, Kathleen Juell Python Frameworks Django Ubuntu Ubuntu 18.04
  • Tutorial

    How To Set Up Django with Postgres, Nginx, and Gunicorn on Ubuntu 18.04

    Django is a powerful web framework that can help you get your Python application or website off the ground. Django includes a simplified development server for testing your code locally, but for anything even slightly...
    By Justin Ellingwood Django Python Python Frameworks Databases PostgreSQL Nginx Ubuntu 18.04