I build software with Python, Django, ReactJS & React-Native. Every day. All day long.

Django GFKs & Factory Boy 

Test Models with Generic Foreign Keys and Factory Boy

Let's say you are writing a reusable Django app and your app has a model with a generic foreign key. An example could be a messaging app where messages can attached to any other object (when you think about Facebook, a message can be sent to another User, or ...