GeoNode/geonode — pull request #209 by lukeman (2012-04-09 18:28:58+00:00)
Title: Update to Django 1.3.1

Updates GeoNodyPy to use Django 1.3.1. This is prudent as Django 1.2.x is no longer receiving security updates and the previous target of Django 1.2 was also out-of-date (with Django 1.2.7 being the last release in the 1.2.x branch).

Notable changes (see commit messages for more details):

- Using new DATABASES setting, which is a dictionary instead of several DATABASE_* settings
- Include the CSRF token in all ExtJS AJAX requests automatically (CSRF became required in AJAX requests as of Django 1.2.5)
- Updates for latest versions of staticfiles:
* Removal of SERVE_MEDIA, which has been a noop since staticfiles 1.0 (serving of media is entirely determined by DEBUG)
* URL entries to serve uploaded media
* Added staticfiles finders to settings
- Added GDAL and numpy to requirements (both have always been required according to the README, but failure to install GDAL was ignored with Django 1.2.x. Django 1.3.x raises an exception when it is not found)