Blog

Viewing posts from July, 2017

Create and update Django rest framework nested serializers

In this article we will see about the Django rest framework nested serializers and how to create a DRF writable nested serializers. This tutorial is divided into two parts. In the first part we discuss about creating models, serializers and views. In the second part we discuss how to use nested serializers and how to create and update nested serializers.

Dynamic fields in Django Rest Framwork serializers

Often we need to have custom fields that must be calculated dynamically. In Entity-Relationship model notation the fields are called Derived Attributes. Such fields are derived from other fields of the same entity (model) and they might change over time (age, for example). We can create dynamic fields in django in more than one way.

Managing charges and discounts in Chargebee

To add more info to the previous blog post on chargebee, let us look at how to override the charges that have already been set in a plan. It is often a case that we want to provide incentives (discounts, trials etc.) to our customers to singup to our service.

Understanding Facebook Graph API and implementing in Python, Django

The Graph API is the primary way to get data out of, and put data into, Facebook's platform. It's a low-level HTTP-based API that you can use to programmatically query data, post new stories, manage ads, upload photos, and perform a variety of other tasks that an app might implement.

Integrating Chargebee payments with Django

What is Chargebee?

Recent Posts

Archive

2022
2021
2020
2019
2018
2017
2016
2015
2014

Tags

Authors

Feeds

RSS / Atom