In a Django admin, I would like to display only specific rows of a user-based model.
class Article(models.Model): text = models.TextField(max_length=160) location = models.CharField(max_length=20)
So, when a user logs in to the admin site and is part of a San Francisco location , he should only see Articles with that location.
source share