Systems theory is a way of understanding and analysing complex systems, such as organisations, ecosystems, and economies. It is based on the idea that a system is made up of interconnected parts that work together to achieve a common goal
Custom form field validation with Django
In this post, I want to look at how Django Forms can be used to validate incoming HTTP request containing POST method. Django comes with some useful built-in data validation methods. You can rely on these methods but there are
Let's build a recipe sharing web app using Django - Part 5
What we’ve accomplished so far: By the end of Part 4 Foodiegram had a functioning recipes app complete with templates, comments and basic user registration. Now we’ll polish the experience by exploring Django’s powerful admin interface. We’
Let's build a recipe sharing web app using Django - Part 4
Looking back: In Part 3 we designed our base, list and detail templates and introduced Bootstrap for styling. The application can now list and display posts nicely. In this post we’ll go one step further by adding a commenting
Let's build a recipe sharing web app using Django - Part 3
Previously on Foodiegram: In Part 2 we created the posts app, defined a Post model, wrote basic views to list and display recipes and wired up URL patterns. But if you point your browser at the homepage now, you’ll
Let's build a recipe sharing web app using Django - Part 2
Part 2 – Designing the recipes app (posts) Picking up where we left off: In Part 1 we set up our Python 3.5 environment, installed Django 1.10 and generated a new project. We even ran the development server to
Let's build a recipe sharing app with Django - Introduction to CRUD web app development
Welcome to this comprehensive Django tutorial where we'll build Foodiegram - a recipe sharing web application from scratch.
Nudge theory in Behavioural Economics
Nudge theory, first introduced by Richard Thaler and Cass Sunstein in their 2008 book "Nudge: Improving Decisions About Health, Wealth, and Happiness," is a concept in behavioural economics that suggests small changes in the environment can influence people to make