Issue #34 new

choices from model, cache

Volodymyr Tartynskyi
created an issue

Hello

i try to use your module, and i need to get choices from database something like this

{{{

!python

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?

Comments (1)

  1. Log in to comment