django-planet

Feed: Django – Dev Alvernaz

Blogs about Django, Python, AWS and other things

Blog Django – Dev Alvernaz
RSS 2.0 Feed Django – Dev Alvernaz
web https://alvernaz.dev
Last Update11.20.2024
Posts2

State Design in Django – Part 2

May 24, 2024 » Django – Dev Alvernaz » [Archived Version]

Welcome to the part 2 of state design in Django. This time we’re going to connect what we have done in part 1 and adapt it to use it in a django model of a Sales Order. The road so far Alright, this is what we got so far. We created the state design with […]

Read More

State Design in Django – Part 1

May 16, 2024 » Django – Dev Alvernaz » [Archived Version]

This will be a 4 part series on how to integrate State Design in Django. In this first segment, I’ll start by showing how State Design could be applied to python. Introduction State Design is a popular design pattern that allows an object to alter its behavior when its internal state changes. It’s particularly useful […]

Read More