{"action":"created","issue":{"url":"https://api.github.com/repos/blreams/collegefootballpick10/issues/14","labels_url":"https://api.github.com/repos/blreams/collegefootballpick10/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/blreams/collegefootballpick10/issues/14/comments","events_url":"https://api.github.com/repos/blreams/collegefootballpick10/issues/14/events","html_url":"https://github.com/blreams/collegefootballpick10/issues/14","id":91784804,"number":14,"title":"Week Model lock_picks field","user":{"login":"blreams","id":5880937,"avatar_url":"https://avatars.githubusercontent.com/u/5880937?v=3","gravatar_id":"","url":"https://api.github.com/users/blreams","html_url":"https://github.com/blreams","followers_url":"https://api.github.com/users/blreams/followers","following_url":"https://api.github.com/users/blreams/following{/other_user}","gists_url":"https://api.github.com/users/blreams/gists{/gist_id}","starred_url":"https://api.github.com/users/blreams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blreams/subscriptions","organizations_url":"https://api.github.com/users/blreams/orgs","repos_url":"https://api.github.com/users/blreams/repos","events_url":"https://api.github.com/users/blreams/events{/privacy}","received_events_url":"https://api.github.com/users/blreams/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/blreams/collegefootballpick10/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"blreams","id":5880937,"avatar_url":"https://avatars.githubusercontent.com/u/5880937?v=3","gravatar_id":"","url":"https://api.github.com/users/blreams","html_url":"https://github.com/blreams","followers_url":"https://api.github.com/users/blreams/followers","following_url":"https://api.github.com/users/blreams/following{/other_user}","gists_url":"https://api.github.com/users/blreams/gists{/gist_id}","starred_url":"https://api.github.com/users/blreams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blreams/subscriptions","organizations_url":"https://api.github.com/users/blreams/orgs","repos_url":"https://api.github.com/users/blreams/repos","events_url":"https://api.github.com/users/blreams/events{/privacy}","received_events_url":"https://api.github.com/users/blreams/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-06-29T11:59:13Z","updated_at":"2015-06-30T23:06:43Z","closed_at":"2015-06-30T23:06:43Z","body":"Brent asked:\r\nshould lock_picks be a DateTimeField or a boolean field? If it is a boolean field, then an admin will have to manually change this value at kickoff or some deamon process would have to set this field at a particular time. If this is a DateTimeField, then the picks would automatically get locked at this given time.\r\n\r\nBrent also asked:\r\nThe comment for lock_picks says \"# Once the first game kickoff occurs, update to True\"\r\nAre you planning on allowing picks up until kickoff or at the normal 4 PM Thursday deadline?"},"comment":{"url":"https://api.github.com/repos/blreams/collegefootballpick10/issues/comments/117368657","html_url":"https://github.com/blreams/collegefootballpick10/issues/14#issuecomment-117368657","issue_url":"https://api.github.com/repos/blreams/collegefootballpick10/issues/14","id":117368657,"user":{"login":"blreams","id":5880937,"avatar_url":"https://avatars.githubusercontent.com/u/5880937?v=3","gravatar_id":"","url":"https://api.github.com/users/blreams","html_url":"https://github.com/blreams","followers_url":"https://api.github.com/users/blreams/followers","following_url":"https://api.github.com/users/blreams/following{/other_user}","gists_url":"https://api.github.com/users/blreams/gists{/gist_id}","starred_url":"https://api.github.com/users/blreams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blreams/subscriptions","organizations_url":"https://api.github.com/users/blreams/orgs","repos_url":"https://api.github.com/users/blreams/repos","events_url":"https://api.github.com/users/blreams/events{/privacy}","received_events_url":"https://api.github.com/users/blreams/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T23:06:43Z","updated_at":"2015-06-30T23:06:43Z","body":"The field lock_picks in the Week model is now datetime. I also created a helper function called get_default_pick_deadline() that creates a timezone aware datetime for 4:00pm on Thursday of the current week.\r\n\r\nDjango tries to do the right thing with timezones. I have it enabled in settings and for the most part we don't have to think about it. On forms datetimes will always be timezone aware and stored in the DB as UTC."}}