title: Hiding a model field in Django admin 1.9
body: <p>I have registered some models to display in the admin area, but I would like for some fields to be hidden.</p>
  
  <p>As an example, I have a TeachingClasses model with a BooleanField named 'Status' that is set to True or False depending if the class is open or not.  But that is set somewhere else in the app.  There is no need to have that field displayed in the admin area when someone wants to create a new class to attend.</p>
  
  <p>As such, is there a way to hide that field in the admin area?</p>
  
  <p>I have tried adding this to the app admin.py file but it did nothing</p>
  
  <pre><code>from django.contrib import admin
  
  class MyModelAdmin(admin.ModelAdmin):
      class TeachingClasses:
          exclude = ('Status',)
  </code></pre>
  
  <p>but it's not working?</p>
  
  <p>Any clue if this is the right way?</p>
  
  <p>My model:</p>
  
  <pre><code>class TeachingClasses(models.Model):
      name = models.Charfield('Class Name',max_lenght=64)
      [...]
      status = models.BooleanField('Status',default=True)
  </code></pre>