title: how to manage permission table in django admin
body: <p><img src="https://i.stack.imgur.com/dOuKc.jpg" alt="enter image description here"></p>
  
  <p>When I use <code>django admin</code>, I can get <code>Groups</code>, <code>Users</code> management entrance on the dashboard? How can I get <code>Permission</code> table management entrance as pictures shows above?
  I am using django 1.4 . thx for ur time.</p>
  
  <p><strong>EDITED:</strong></p>
  
  <pre><code>from django.contrib import admin
  from django.contrib.auth.models import Permission, ContentType
  
  class PermissionAdmin(admin.ModelAdmin):
  
      fieldsets = [  
          (None,          {'fields': ['name','codename']}),  
  
      ]  
      list_display = ('name', 'codename')      
  
  class ContentTypeAdmin(admin.ModelAdmin):
  
      fieldsets = [  
          (None,          {'fields': ['app_label','model']}),  
          ('More info',   {'fields': ['name','codename'], 'classes': ['collapse']}),  
  
      ]  
      list_display = ('app_label', 'model')         
  
  admin.site.register(Permission, PermissionAdmin)
  admin.site.register(ContentType, ContentTypeAdmin)
  </code></pre>
  
  <p>After edited, I got.</p>
  
  <pre><code>django.core.exceptions.ImproperlyConfigured: 'ContentTypeAdmin.fieldsets[1][2]['fields']' refers to field 'codename' that is missing from the form.
  </code></pre>
  
  <p>ContentType could <code>onetomany</code> to Permission. How to deal with to these two model in admin?
  It works fine before I add:</p>
  
  <pre><code>('More info',   {'fields': ['name','codename'], 'classes': ['collapse']}),  
  </code></pre>
  
  <p><strong>EDIT2:</strong>
  <img src="https://i.stack.imgur.com/bJclW.jpg" alt="enter image description here"></p>