Stop using contants (SOURCE_TYPES, POST_TYPES), use configurations, like:
@ioc.config
def source_types(): return ['FrontlineSMS']
...