BK-1250 'admin' not defined when using prod.py settings