django-planet

Feed: Valentino Gagliardi - Django RSS Feed

Valentino Gagliardi

Debugging async Django under Uvicorn with Pycharm

Oct. 31, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]

In this short guide you learn how to debug Django under Uvicorn with Pycharm.

Read More

Django: adding extra context data to a CreateView

Oct. 30, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]

What method should you override when you want extra context data in a Django CreateView?

Read More

Deploying Django > 3.1 (async) with Uvicorn and Nginx

Oct. 2, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]

Notes on deploying Django > 3.1 (async) with Uvicorn under Nginx as a reverse proxy.

Read More

Using webpack with Django: it's not easy as you think

May 3, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]

Most approaches to using webpack with Django work until the JavaScript app is tiny. What happens when the bundle grows?

Read More

Working with request.data in Django REST framework

April 28, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]

Django REST generic views are amazing, but working with request.data in Django REST framework can be tricky ...

Read More

How to handle multiple sites (virtual hosts) in Django

April 10, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]

It's common to have a single Django project serving requests for multiple domains. Learn how to route each request to the right app.

Read More

How to create a Django project and a Django application

April 4, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]

Learn how to create a Django project and a Django application in this quick-start tutorial.

Read More

Understanding many to one in Django

March 13, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]

A re-introduction to one of the most common database relationship: understanding many-to-one.

Read More

Asynchronous tasks in Django with Django Q

Jan. 15, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]

Learn how to use Django Q for offloading asynchronous tasks in your Django applications.

Read More