<s> from django . contrib import admin <EOL> from hvad . test_utils . project . app . models import Normal , Unique , SimpleRelated , LimitedChoice , AutoPopulated <EOL> from hvad . admin import TranslatableAdmin , TranslatableTabularInline <EOL> class SimpleRelatedInline ( TranslatableTabularInline ) : <EOL> model = SimpleRelated <EOL> class NormalAdmin ( TranslatableAdmin ) : <EOL> inlines = [ SimpleRelatedInline , ] <EOL> admin . site . register ( Normal , NormalAdmin ) <EOL> admin . site . register ( Unique , TranslatableAdmin ) <EOL> admin . site . register ( SimpleRelated , TranslatableAdmin ) <EOL> admin . site . register ( LimitedChoice ) <EOL> admin . site . register ( AutoPopulated , TranslatableAdmin ) </s>
