• DRF with Marshmallow Serializers for Fun and Profit

    The Problem Django Rest Framework (DRF) is a fantastic tool for API development in Django. However, it does have some downsides. Serializers are an especially heavy part of the framework. Rightfully so, they do quite a bit of magic to make API development lightning quick by automatically pulling fields from...


  • Implementing JWT in Django

    In the beginning there were Sessions In a typical HTTP Request/Response cycle with Django, the sessions framework is used to authenticate users. How it works in the normal case is that each visitor to the site is assigned a session id which is saved in the database. A cookie is...


  • The Effects of Prenatal Marijuana Exposure

    The Effects of Prenatal Marijuana Exposure Marijuana is the most pervasive recreational drug in America. We have started to see a shift towards legalization of the substance due to its mild effects and potential health benefits for users. The commonality of the drug and blasé regard for it has increased...


  • Models and Managers Part II: Custom Managers in Django

    If you haven’t already, you can read the first part of this series. Models and Managers Part II: Custom Managers in Django Custom managers in Django are a topic I feel people never properly understand or readily utilize in their programming. Django has created a beautifully extensible system for providing...


  • Models and Managers Part I: Where business logic goes in Django

    Models and Managers Part I: Where business logic goes in Django I want to talk about custom managers in Django, but before I can do that I want to make sure the reader has a firm grasp of what is possible in terms of implementing business logic in Django and...