hide particular attribute in django admin

 class PostCodesAdmin(admin.ModelAdmin):
      exclude = ('pcname',)

Here is what the above code is Doing:
1. Importing the admin class from Django.
2. Importing the PostCodes model from the models.py file.
3. Creating a class called PostCodesAdmin.
4. Creating a variable called exclude.
5. Adding the exclude variable to the PostCodesAdmin class.
6. Adding the PostCodesAdmin class to the admin.site.register function.