<s> from django . contrib import admin <EOL> from . models import Subscription <EOL> @ admin . register ( Subscription ) <EOL> class SubsAdmin ( admin . ModelAdmin ) : <EOL> list_display = ( "<STR_LIT:id>" , "<STR_LIT:email>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ) <EOL> def email ( self , obj ) : <EOL> return obj . user . email if obj . user else None </s>
