class ActivePluginMeta(ModelBase):

    def __new__(cls, name, bases, attrs):
        cls = models.base.ModelBase.__new__(cls, name, bases, attrs)
setattr(cls._meta.get_field('plugin_name'), 'choices', cls.plugin_name_choices)
Stop Django from creating migrations if the list of choices of a field changes