For consistency purposes you should probably do that transformation in config.py