Apply These Secret Techniques to write clean functions | With Examples

May 1, 2019

I bet you have, every once in awhile, gone through a small piece of code trying to figure out that why was the given function written in a way it is written. Almost all companies have this service which just works and nobody wants to touch it and most of the time it is due to the bad way in which the code was written.

Read More

Django admin tips and tricks

January 23, 2019

Django Admin tips and tricks

Django is one of the best Python frameworks to get started with web development and get out with your product in no time. With Django, you don’t have to worry about any of the things like security, databases or most importantly admin panel.

Read More

Working properly with Django Choices

April 17, 2018

The default implementation of choices in Django is not very intuitive and we repeat a lot of code while using them. Django choices act as an enum for the fields. We can choose from the various options whose value can be assigned to a given field.

Read More

Importance of logging in python

August 2, 2017

Not in the mood of writing much today so will probably leave the link which I found useful and will definitely help us if we want to know more about logging.

Read More

Serialization in Django: How to serialize models with Foreign keys

July 21, 2017

Serialization is one of the main processes of creating APIs. We want to share data between different types of frontends (Web, Android, IOS) in a way that is easily accessible by them all. Serialization is the process of converting different data into a well-defined format and send it as the API response.

Read More

A word about subprocess module for running bash commands in Python

June 21, 2017

It has been a few days since I have been working on the GSoC project. Although I haven’t been able to write about all the things going on that side. From now on probably I will talk about it more often. Yesterday I managed to upload the code on our local experimental server and show the results to the mentor.

Read More