old_contents: from django.contrib import admin
  from django.contrib.auth.admin import UserAdmin
  from django.contrib.auth.models import User
  from django.contrib.sessions.models import Session
  from django.utils.translation import ugettext, ugettext_lazy as _
  from heliosinstitution.models import Institution, InstitutionUserProfile
  
  
  class SessionAdmin(admin.ModelAdmin):
      def _session_data(self, obj):
          return obj.get_decoded()
          list_display = ['session_key', '_session_data', 'expire_date']
  
  
  class HeliosInstitutionAdmin(admin.ModelAdmin):	
  	list_display = ('name', 'short_name', 'main_phone')
  
  
  class InstitutionUserProfileAdmin(admin.ModelAdmin):	
      list_display = ('helios_user', 'email', 'institution')
  
  
  class UserAdmin(admin.ModelAdmin):
      fieldsets = (
          (None, {'fields': ('username',)}),
          (_('Permissions'), {'fields': ('groups', )}),
      )
  
  
  admin.site.register(InstitutionUserProfile, InstitutionUserProfileAdmin)
  admin.site.register(Institution, HeliosInstitutionAdmin)
  admin.site.unregister(User)
  admin.site.register(User, UserAdmin)
  admin.site.register(Session, SessionAdmin)
  
new_contents: from django.contrib import admin
  from django.contrib.auth.admin import UserAdmin
  from django.contrib.auth.models import User
  from django.contrib.sessions.models import Session
  from django.utils.translation import ugettext, ugettext_lazy as _
  from heliosinstitution.models import Institution, InstitutionUserProfile
  
  
  class SessionAdmin(admin.ModelAdmin):
      def _session_data(self, obj):
          return obj.get_decoded()
          list_display = ['session_key', '_session_data', 'expire_date']
  
  
  class HeliosInstitutionAdmin(admin.ModelAdmin):	
  	list_display = ('name', 'short_name', 'main_phone')
  
  
  class InstitutionUserProfileAdmin(admin.ModelAdmin):	
      exclude = ('info', 'token')
      list_display = ('helios_user', 'email', 'institution')
  
  
  class UserAdmin(admin.ModelAdmin):
      fieldsets = (
          (None, {'fields': ('username',)}),
          (_('Permissions'), {'fields': ('groups', )}),
      )
  
  
  admin.site.register(InstitutionUserProfile, InstitutionUserProfileAdmin)
  admin.site.register(Institution, HeliosInstitutionAdmin)
  admin.site.unregister(User)
  admin.site.register(User, UserAdmin)
  admin.site.register(Session, SessionAdmin)
  
subject: Exclude info and token field from admin page