MAX_IMAGE_PIXELS, MAX_POINTS_PER_IMAGE, and MIN_TRAINIMAGES are now configurable.
Ensure that Django settings aren't used as a fallback if secrets.json is present. Also refactor the adjacent config code; for instance, it should now read secrets.json / import django settings only once, instead of once per config var.
Add check() function for configuration debugging. As explained in the README, this can be used by opening a Python shell and running from spacer import config, then config.check().
check()
function for configuration debugging. As explained in the README, this can be used by opening a Python shell and runningfrom spacer import config
, thenconfig.check()
.