django-planet

Feed: Valentino Gagliardi - Django RSS Feed

Valentino Gagliardi

How to create a Django project from a template

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

A Django project template is the natural solution when the default Django project format is not enough anymore. Learn how to make your own in this tutorial.

Read More

Building a Django middleware (injecting data into a view's context)

Dec. 12, 2019 » Valentino Gagliardi - Django RSS Feed » [Archived Version]

In this post you'll learn how to build your own Django middleware and how to inject data into a view's context directly from the middleware.

Read More

Django Tips: Recovering Gracefully From ORM Errors

May 29, 2019 » Valentino Gagliardi - Django RSS Feed » [Archived Version]

Learn how to recover from ORM errors in Django and make your views more robust with try/except and a nice Django shortcut: get_object_or_404

Read More

Tutorial: Django REST with React (and a sprinkle of testing)

March 12, 2018 » Valentino Gagliardi - Django RSS Feed » [Archived Version]

How to create a Django REST API? How to structure a Django project with React? Here's a practical introduction to Django REST with React. (Django 3)

Read More