Tag: Django

Django generic foreign keys for beginners

Duration: 7 minutes Level: beginner Objective: understand the principle behind a generic foreign key and how to use it in Django The Problem Let's say we are having a table in our database named Device which holds information about our users devices. Some information is common (a Foreign Key to the owner, the version of … Continue reading Django generic foreign keys for beginners