remove pdb import and use customized local_settings.py for registration