Debugging Python Code

I have been in situations where I have been stuck for hours trying to understand why my code is not behaving in an expected way or is breaking at runtime. At times the bugs would be so silly that I literally wanna đŸ€Ż and other times đŸ„ș , so yea it’s pretty normal to have…

Object Oriented Design

OOPs is one of the most renowned programming paradigm used for development, many programmers prefer OOPS because of code re-usability, the ‘A PIE’ concepts and many more reasons.So what is OOPs?  Before we begin let’s look back and understand where did we come from. Long time ago in the stone-age of computers, say way back…

Consuming API

In the last post we created some API’s for our best ever  F1 website, now is the time to consume them. I will be dividing this topic into 2 posts, In this post will be discussing about pulling the data from the F1 website and displaying on my web-page. In the next post I will…

Part V: More on API’s with F1

So from the last post we have all our code in place for our F1 api, now we are looking  at the following:  Retrieving Status codes Filtering our query Status code What are status code? And why are they important? Status codes tell us whether a HTTP request was successful or not. So there are 5…

Part III: Implementing HTTP Verbs on F1 api

In the previous blog we created api, now we are going to test it. Before going there I have made some changes to the project. Like I have created a Detail view which has information on particular Racer. The template would look something like this: So lets begin updating some code, starting from the models.Update your…