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
Oli Guei
A collection of 58 posts
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
Let's build a recipe sharing web app using Django - Introduction to CRUD web app development
Quick intro: This is a quick Django tutorial where we'll build a recipe sharing web app. The final application will allow users to create profiles, recipe lists and share them with other users. Django is one of the best web
Python's built-in enumerate function
In this post, I'm going to look at Python's enumerate() function using Python version 3.5. What is the enumerate function? According to the documentation, this function returns an enumerate object when you pass an iterable which must be a
Understanding Django Class-Based Views
One of the key features of Django is its use of class-based views, which provide a way to organise and simplify the process of handling incoming HTTP requests and returning the appropriate response. A class-based view in Django is simply
Introduction to image processing with Python
Python is well-known for its large standard library which encompasses tools suitable for a variety of tasks. Within this library lies the Pillow library. Pillow is a very useful library forked from the discontinued PIL - Python Image Library. In