tomchristie/django-rest-framework — pull request #2368 by jakul (2014-12-31 17:52:52+00:00)
Title: Emit warnings when settings have wrong type

Fixes https://github.com/tomchristie/django-rest-framework/issues/2177.

Sample console output:

```
(banana)craig@precise32:/src/banana$ ./runserver.sh
Performing system checks...

System check identified no issues (0 silenced).
December 31, 2014 - 17:48:06
Django version 1.7.1, using settings 'banana.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
/src/banana/rest_framework/views.py:86: RESTFrameworkSettingHasUnexpectedClassWarning: The `DEFAULT_RENDERER_CLASSES` setting must be iterable
class APIView(View):

/src/banana/rest_framework/views.py:86: RESTFrameworkSettingHasUnexpectedClassWarning: The `DEFAULT_METADATA_CLASS` setting must be a string
class APIView(View):
```

I chose to go with warnings instead of errors mostly as a matter of personal style, if you're happy with the code and prefer errors then I can switch.