Sitemap
Anthony

Anthony

Case-Sensitive in Django Models.

1 min readJun 29, 2024
Press enter or click to view image in full size

Hi, Anthony is here,

A back-end engineer that fell in-love with Python Programming language, who loves working with Django and also I’m proficient in my front-end skills.

Get Anthony’s stories in your inbox

Join Medium for free to get updates from this writer.

The Journey

Lately, i enrolled with HNG Internship, heard about it from a friend cause in our conversation i told him that i need a community of Developers to join in other to gain more real life challenging coding experience and he point me to https://hng.tech/internship and https://hng.tech/premium.

Solved Problem

Recently, i was working on an e-commerce project (personal though), it’s a project where i sell only books but in the course of building the project, i encountered problem that really made me to read my code number of times that i became frustrated at some point, after hours of continuous thinking i found the error, little did i recall that Models data are case-sensitive, so the problem was from my product category, i tried fetching the product by category in my category field only for me to find out that i wrote Category in my models instead of category

--

--