Hello,
I've decided to try livesettings for a Q&A forum project - askbot -
like stackoverflow - (hey check out the demo at http://askbot.org/meta
!).
so my hope is to replace code like
MIN_REP_TO_VOTE = 15 with
MIN_REP_TO_VOTE =
config_register(IntegerValue(REP_RULES,'MIN_REP_TO_VOTE',
default=15,description=_('blah'))).value
or something similar - in one place - without touching the rest of the
code at all.
Unfortunately this does not work, because no matter what I always get
the default value.
Found by trying that accessing values later in the code does work, but
for that I have to recode quite a bit.
Is there a way to make these settings work in a "drop in" fashion?
Thanks!!!
Evgeny.
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.