{"action":"created","issue":{"url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/issues/227","repository_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api","labels_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/issues/227/comments","events_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/issues/227/events","html_url":"https://github.com/django-json-api/django-rest-framework-json-api/issues/227","id":148763928,"number":227,"title":"DateRangeField fails","user":{"login":"dbinetti","id":161722,"avatar_url":"https://avatars.githubusercontent.com/u/161722?v=3","gravatar_id":"","url":"https://api.github.com/users/dbinetti","html_url":"https://github.com/dbinetti","followers_url":"https://api.github.com/users/dbinetti/followers","following_url":"https://api.github.com/users/dbinetti/following{/other_user}","gists_url":"https://api.github.com/users/dbinetti/gists{/gist_id}","starred_url":"https://api.github.com/users/dbinetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbinetti/subscriptions","organizations_url":"https://api.github.com/users/dbinetti/orgs","repos_url":"https://api.github.com/users/dbinetti/repos","events_url":"https://api.github.com/users/dbinetti/events{/privacy}","received_events_url":"https://api.github.com/users/dbinetti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-15T20:40:58Z","updated_at":"2016-04-15T22:45:44Z","closed_at":null,"body":"Not sure this is a JSON API issue, but tests seem to pass with the other libraries, so throwing this over the wall....\r\n\r\nBasically, I'm trying to create an unbounded DateRange field (postgres).  More difficult to explain that to simply show, so there's a test repo here:\r\n\r\nhttps://github.com/dbinetti/djangodaterange\r\n\r\nHopefully that's clear enough"},"comment":{"url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/issues/comments/210673120","html_url":"https://github.com/django-json-api/django-rest-framework-json-api/issues/227#issuecomment-210673120","issue_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/issues/227","id":210673120,"user":{"login":"dbinetti","id":161722,"avatar_url":"https://avatars.githubusercontent.com/u/161722?v=3","gravatar_id":"","url":"https://api.github.com/users/dbinetti","html_url":"https://github.com/dbinetti","followers_url":"https://api.github.com/users/dbinetti/followers","following_url":"https://api.github.com/users/dbinetti/following{/other_user}","gists_url":"https://api.github.com/users/dbinetti/gists{/gist_id}","starred_url":"https://api.github.com/users/dbinetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbinetti/subscriptions","organizations_url":"https://api.github.com/users/dbinetti/orgs","repos_url":"https://api.github.com/users/dbinetti/repos","events_url":"https://api.github.com/users/dbinetti/events{/privacy}","received_events_url":"https://api.github.com/users/dbinetti/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T22:45:44Z","updated_at":"2016-04-15T22:45:44Z","body":"I am trying to POST a record including an unbounded DateRangeField, meaning\nthat either the \"upper\" or \"lower\" fields may be null.   (ref for the\nfield: http://initd.org/psycopg/docs/extras.html#range-data-types)\n\nI expect the field to save/be created.  I'm getting an error \"This field\nmay not be null.\"\n\nAlso, it's in the test repo itself, so you can run it and see the results.\n\nOn Fri, Apr 15, 2016 at 3:34 PM, Jerel Unruh <notifications@github.com>\nwrote:\n\n> What behavior are you expecting and what behavior are you getting instead?\n> On Apr 15, 2016 3:40 PM, \"David Binetti\" <notifications@github.com> wrote:\n>\n> > Not sure this is a JSON API issue, but tests seem to pass with the other\n> > libraries, so throwing this over the wall....\n> >\n> > Basically, I'm trying to create an unbounded DateRange field (postgres).\n> > More difficult to explain that to simply show, so there's a test repo\n> here:\n> >\n> > https://github.com/dbinetti/djangodaterange\n> >\n> > Hopefully that's clear enough\n> >\n> > —\n> > You are receiving this because you are subscribed to this thread.\n> > Reply to this email directly or view it on GitHub\n> > <\n> https://github.com/django-json-api/django-rest-framework-json-api/issues/227\n> >\n> >\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/django-json-api/django-rest-framework-json-api/issues/227#issuecomment-210670855>\n>\n"}}