I have an admin site that I need to open up to more admins.
Currently my model looks like
class YouTube(models.Model):
name = models.CharField(max_length=100)
credit_card_number = models.CharField(max_length=100)
Is there a way in the admin site frame work to make it so that only superusers can see the credit card number? In the admin site framework, I can only see the ability to add, edit, delete.
Create method YouTube.get_cc_root_only, where you are to check if user is root, and use it in YouTubeAdmin class (list_display)
UPDATED: