{"action":"created","issue":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3562","labels_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3562/labels{/name}","comments_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3562/comments","events_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3562/events","html_url":"https://github.com/tomchristie/django-rest-framework/issues/3562","id":113945346,"number":3562,"title":"DecimalValidator is unavailable in Django < 1.9","user":{"login":"debnet","id":634832,"avatar_url":"https://avatars.githubusercontent.com/u/634832?v=3","gravatar_id":"","url":"https://api.github.com/users/debnet","html_url":"https://github.com/debnet","followers_url":"https://api.github.com/users/debnet/followers","following_url":"https://api.github.com/users/debnet/following{/other_user}","gists_url":"https://api.github.com/users/debnet/gists{/gist_id}","starred_url":"https://api.github.com/users/debnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/debnet/subscriptions","organizations_url":"https://api.github.com/users/debnet/orgs","repos_url":"https://api.github.com/users/debnet/repos","events_url":"https://api.github.com/users/debnet/events{/privacy}","received_events_url":"https://api.github.com/users/debnet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-28T23:12:09Z","updated_at":"2015-10-29T00:46:47Z","closed_at":null,"body":"```\r\n  File \"D:\\VirtualEnvs\\nouvelleoffre\\lib\\site-packages\\rest_framework\\serializers.py\", line 431, in to_internal_value\r\n    fields = self._writable_fields\r\n  File \"D:\\VirtualEnvs\\nouvelleoffre\\lib\\site-packages\\django\\utils\\functional.py\", line 59, in __get__\r\n    res = instance.__dict__[self.name] = self.func(instance)\r\n  File \"D:\\VirtualEnvs\\nouvelleoffre\\lib\\site-packages\\rest_framework\\serializers.py\", line 346, in _writable_fields\r\n    field for field in self.fields.values()\r\n  File \"D:\\VirtualEnvs\\nouvelleoffre\\lib\\site-packages\\rest_framework\\serializers.py\", line 339, in fields\r\n    for key, value in self.get_fields().items():\r\n  File \"D:\\VirtualEnvs\\nouvelleoffre\\lib\\site-packages\\rest_framework\\serializers.py\", line 939, in get_fields\r\n    field_name, info, model, depth\r\n  File \"D:\\VirtualEnvs\\nouvelleoffre\\lib\\site-packages\\rest_framework\\serializers.py\", line 1061, in build_field\r\n    return self.build_standard_field(field_name, model_field)\r\n  File \"D:\\VirtualEnvs\\nouvelleoffre\\lib\\site-packages\\rest_framework\\serializers.py\", line 1085, in build_standard_field\r\n    field_kwargs = get_field_kwargs(field_name, model_field)\r\n  File \"D:\\VirtualEnvs\\nouvelleoffre\\lib\\site-packages\\rest_framework\\utils\\field_mapping.py\", line 134, in get_field_kwargs\r\n    validator for validator in validator_kwarg\r\n  File \"D:\\VirtualEnvs\\nouvelleoffre\\lib\\site-packages\\rest_framework\\utils\\field_mapping.py\", line 135, in <listcomp>\r\n    if not isinstance(validator, validators.DecimalValidator)\r\nAttributeError: 'module' object has no attribute 'DecimalValidator'\r\n```\r\n\r\nhttps://github.com/tomchristie/django-rest-framework/blob/master/rest_framework/utils/field_mapping.py#L135"},"comment":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/comments/152042271","html_url":"https://github.com/tomchristie/django-rest-framework/issues/3562#issuecomment-152042271","issue_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3562","id":152042271,"user":{"login":"xordoquy","id":2340654,"avatar_url":"https://avatars.githubusercontent.com/u/2340654?v=3","gravatar_id":"","url":"https://api.github.com/users/xordoquy","html_url":"https://github.com/xordoquy","followers_url":"https://api.github.com/users/xordoquy/followers","following_url":"https://api.github.com/users/xordoquy/following{/other_user}","gists_url":"https://api.github.com/users/xordoquy/gists{/gist_id}","starred_url":"https://api.github.com/users/xordoquy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xordoquy/subscriptions","organizations_url":"https://api.github.com/users/xordoquy/orgs","repos_url":"https://api.github.com/users/xordoquy/repos","events_url":"https://api.github.com/users/xordoquy/events{/privacy}","received_events_url":"https://api.github.com/users/xordoquy/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T00:46:47Z","updated_at":"2015-10-29T00:46:47Z","body":"We may need something to ensure this will only apply to Django >= 1.9, maybe in compat."}}