Switch to models configuration to avoid needing Django settings