<s> from __future__ import unicode_literals <EOL> from django . contrib import admin <EOL> from account . models import Account , SignupCode , AccountDeletion , EmailAddress <EOL> class SignupCodeAdmin ( admin . ModelAdmin ) : <EOL> list_display = [ "<STR_LIT:code>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> search_fields = [ "<STR_LIT:code>" , "<STR_LIT:email>" ] <EOL> list_filter = [ "<STR_LIT>" ] <EOL> raw_id_fields = [ "<STR_LIT>" ] <EOL> class AccountAdmin ( admin . ModelAdmin ) : <EOL> raw_id_fields = [ "<STR_LIT:user>" ] <EOL> class AccountDeletionAdmin ( AccountAdmin ) : <EOL> list_display = [ "<STR_LIT:email>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> class EmailAddressAdmin ( AccountAdmin ) : <EOL> list_display = [ "<STR_LIT:user>" , "<STR_LIT:email>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> search_fields = [ "<STR_LIT:email>" , "<STR_LIT>" ] <EOL> admin . site . register ( Account , AccountAdmin ) <EOL> admin . site . register ( SignupCode , SignupCodeAdmin ) <EOL> admin . site . register ( AccountDeletion , AccountDeletionAdmin ) <EOL> admin . site . register ( EmailAddress , EmailAddressAdmin ) </s>
