Published inCodeX·Apr 10, 2021Wait, where’s my pineapple?Multiple serializers vs multiple views in Django Rest Framework — When you create simple CRUD API views in Django Rest Framework I guess that most of the time you create only two endpoints: one for list/create actions and the second one for retrieve/update/destroy actions. Implementing only one view for multiple actions means having also only one serializer for them. Less…Django5 min readDjango5 min read
Published inBetter Programming·Aug 31, 2020Add Stripe Payments to Your Django and React AppTurn your users into customers — Introduction Have you ever wanted to create an app in which the users would have to pay a few one-time fees and have a periodic subscription as well? On the one hand, you’d like to keep as much information as needed to have control over your customers and their payments. …Stripe13 min readStripe13 min read