Update travis config with django versions.
Fix field_attrs test.
django.conf.urls.defaults is deprecated.