{"action":"created","issue":{"url":"https://api.github.com/repos/novafloss/django-aggtrigg/issues/48","labels_url":"https://api.github.com/repos/novafloss/django-aggtrigg/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/novafloss/django-aggtrigg/issues/48/comments","events_url":"https://api.github.com/repos/novafloss/django-aggtrigg/issues/48/events","html_url":"https://github.com/novafloss/django-aggtrigg/issues/48","id":75171035,"number":48,"title":"For initial value,  0 is better than None","user":{"login":"moumoutte","id":3379393,"avatar_url":"https://avatars.githubusercontent.com/u/3379393?v=3","gravatar_id":"","url":"https://api.github.com/users/moumoutte","html_url":"https://github.com/moumoutte","followers_url":"https://api.github.com/users/moumoutte/followers","following_url":"https://api.github.com/users/moumoutte/following{/other_user}","gists_url":"https://api.github.com/users/moumoutte/gists{/gist_id}","starred_url":"https://api.github.com/users/moumoutte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moumoutte/subscriptions","organizations_url":"https://api.github.com/users/moumoutte/orgs","repos_url":"https://api.github.com/users/moumoutte/repos","events_url":"https://api.github.com/users/moumoutte/events{/privacy}","received_events_url":"https://api.github.com/users/moumoutte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-11T10:25:03Z","updated_at":"2015-05-11T12:08:20Z","closed_at":null,"body":"I assume Aggregation result is an integer, event the computation cannot be done (internal reason), the return value has to be an integer (sum, max, min, count..)\r\n\r\nTo be coherent, the value which does not exists in Database must returned 0 , not None.\r\n\r\nBe careful, my \tassumption can be wrong (\"Aggregation result is an integer\")."},"comment":{"url":"https://api.github.com/repos/novafloss/django-aggtrigg/issues/comments/100887609","html_url":"https://github.com/novafloss/django-aggtrigg/issues/48#issuecomment-100887609","issue_url":"https://api.github.com/repos/novafloss/django-aggtrigg/issues/48","id":100887609,"user":{"login":"rodo","id":85827,"avatar_url":"https://avatars.githubusercontent.com/u/85827?v=3","gravatar_id":"","url":"https://api.github.com/users/rodo","html_url":"https://github.com/rodo","followers_url":"https://api.github.com/users/rodo/followers","following_url":"https://api.github.com/users/rodo/following{/other_user}","gists_url":"https://api.github.com/users/rodo/gists{/gist_id}","starred_url":"https://api.github.com/users/rodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodo/subscriptions","organizations_url":"https://api.github.com/users/rodo/orgs","repos_url":"https://api.github.com/users/rodo/repos","events_url":"https://api.github.com/users/rodo/events{/privacy}","received_events_url":"https://api.github.com/users/rodo/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T12:08:20Z","updated_at":"2015-05-11T12:08:20Z","body":"I understand initial value as 'not computed', if the computation is done so 0 is the right value, feel free to make a PR to FIX, thanks"}}