choices from model, cache
i try to use your module, and i need to get choices from database something like this
config_register(PositiveIntegerValue( ESUSERS_GROUP, 'DEFAULT_USERS_GROUP', description = _('Default group for new user'), choices = Group.objects.values_list('id', 'name') )) }}}
it works, i can see my groups in settings editor, exept - the choices are hard cached, i need to restart django app to make the editor see new Groups (o whatever)
any hint on how to easilly prevent such behavior?