Skip to content
All lessons

Tech Insights· revsys.com

Django Pro-Tip – Slugs as primary keys:

From revsys.com

A very common pattern in a Django Project is to have some kind of 'model-type' relationship, where you have some kind of object that can only belong to one of the types defined in the database.

Shared by

Read on revsys.com
  • DB
  • Django
  • Performance

Book a call

Lessons like this one
shape how we build.

Tell us what you’re building. In one call, we’ll show you how our team would approach it.

Tell us what you’re building, and we’ll show you how we’d approach it.

Still prefer the good old email? Contact us