django pwa code example Example: pk django pk is short for primary key, which is a unique identifier for each record in a database.