Django

Showing 1-9 of 12 results

Share

Security in Django Applications: A Pydantic Tutorial, Part 4

Django’s built-in security checker identifies vulnerabilities with ease. Here’s how you can enforce HTTPS redirects to tighten security on your web applications.

8 minute readContinue Reading
Arjaan Buijk

Arjaan Buijk

How to Deploy Django on Heroku: A Pydantic Tutorial, Part 3

Heroku makes deployment—and redeployment—incredibly simple. Explore Heroku’s Django hosting in this tutorial, and see for yourself.

9 minute readContinue Reading
Arjaan Buijk

Arjaan Buijk

Optimize Your Environment for Development and Production: A Pydantic Tutorial, Part 2

Learn how to develop a Django application coupled with pydantic where the development environment matches production.

9 minute readContinue Reading
Arjaan Buijk

Arjaan Buijk

Streamline Your Django Settings With Type Hints: A Pydantic Tutorial, Part 1

Python and pydantic make a powerful runtime combination when validating data and settings, resulting in reduced debugging and a simplified code base.

6 minute readContinue Reading
Arjaan Buijk

Arjaan Buijk

Zero to Hero: Flask Production Recipes

Flask is a great way to get up and running quickly with a Python applications, but what if you wanted to make something a bit more robust?

In this article, Toptal Freelance Python Developer Ivan PoleschyuI shares some tips and useful recipes for building a complete production-ready Flask application.

11 minute readContinue Reading
Ivan Poleschyuk

Ivan Poleschyuk

YouTube API Integration: Uploading Videos with Django

Uploading a video to YouTube seems like a simple enough task, but non-existent documentation and unmaintained libraries can make even the simplest of tasks seem daunting.

In this post, Toptal Freelance Django Developer Ivan Carmo da Rocha Neto guides you through how to post YouTube videos from your Django app.

9 minute readContinue Reading
Ivan Neto

Ivan Neto

A Guide to Performance Testing and Optimization With Python and Django

Donald Knuth said that “premature optimization is the root of all evil.” But there comes a time, usually in mature projects with high loads, when the need to optimize presents itself. In this article, Toptal Freelance Software Engineer Iulian Gulea talks about five common methods to optimize a web project’s code using principles that can be used in Django as well as other frameworks and languages. Using these principles, he demonstrates how to reduce the response time of a query from 77 to 3.7 seconds.

12 minute readContinue Reading
Iulian Gulea

Iulian Gulea

Top 10 Mistakes That Django Developers Make

In this tutorial, we will look at some common mistakes that are often made by Django developers and ways to avoid them. This tutorial is useful even if you’re a skilled Django developer because these mistakes aren’t just limited to new developers taking their first stab at Django.

12 minute readContinue Reading
Alexandr Shurigin

Alexandr Shurigin

How to Integrate OAuth 2 Into Your Django/DRF Back-end Without Going Insane

So you’ve implemented user authentication. Now, you want to allow your users to log in with Twitter, Facebook, or Google. No problem. You’re only a few lines of code away from doing so.

But while there are hundreds of OAuth 2 packages that pip knows, only a few actually do what they’re supposed to do.

In this article, Toptal Software Engineer Peter Goodspeed-Niklaus explains how to integrate OAuth 2 into your Django or Django Rest Framework using Python Social Auth.

11 minute readContinue Reading
Peter Goodspeed-Niklaus

Peter Goodspeed-Niklaus

World-class articles, delivered weekly.

By entering your email, you are agreeing to our privacy policy.

Join the Toptal® community.