Fix settings.py to be able to run Django tests
PUT returns 200 since commit ad1c51edd799b055e4b3e24881dc252ea4846e4c
Fix more tests