old_contents: from django.contrib import admin
  from django.contrib.auth.admin import UserAdmin
  from django.utils.translation import ugettext as _
  
  from guardian.admin import GuardedModelAdmin
  
  from userena.compat import User
  from userena.models import UserenaSignup
  from userena.utils import get_profile_model
  
  class UserenaSignupInline(admin.StackedInline):
      model = UserenaSignup
      max_num = 1
  
  class UserenaAdmin(UserAdmin, GuardedModelAdmin):
      inlines = [UserenaSignupInline, ]
      list_display = ('username', 'email', 'first_name', 'last_name',
                      'is_staff', 'is_active', 'date_joined')
      list_filter = ('is_staff', 'is_superuser', 'is_active')
  
  admin.site.register(User, UserenaAdmin)
  
new_contents: from django.contrib import admin
  from django.contrib.auth.admin import UserAdmin
  from django.utils.translation import ugettext as _
  
  from guardian.admin import GuardedModelAdmin
  
  from django.contrib.auth import get_user_model
  User = get_user_model()
  from userena.models import UserenaSignup
  from userena.utils import get_profile_model
  
  class UserenaSignupInline(admin.StackedInline):
      model = UserenaSignup
      max_num = 1
  
  class UserenaAdmin(UserAdmin, GuardedModelAdmin):
      inlines = [UserenaSignupInline, ]
      list_display = ('username', 'email', 'first_name', 'last_name',
                      'is_staff', 'is_active', 'date_joined')
      list_filter = ('is_staff', 'is_superuser', 'is_active')
  
  admin.site.register(User, UserenaAdmin)
  
subject: fix broken import in admin.py