def admin_translationinline(model, inline_class=admin.StackedInline, **kwargs):

    kwargs['extra'] = 1
    kwargs['max_num'] = len(settings.LANGUAGES)
    kwargs['model'] = model
    return type(
        str(model.__class__.__name__ + 'Inline'), (inline_class,), kwargs)
Returns a new inline type suitable for the Django administration::
dataset/ETHPy150Open feincms/feincms/feincms/translations.py/admin_translationinline