{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/appengine-django-skeleton/issues/7","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/appengine-django-skeleton","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/appengine-django-skeleton/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/appengine-django-skeleton/issues/7/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/appengine-django-skeleton/issues/7/events","html_url":"https://github.com/GoogleCloudPlatform/appengine-django-skeleton/issues/7","id":132175856,"number":7,"title":"DateTimeFields are broken","user":{"login":"Nixarn","id":115799,"avatar_url":"https://avatars.githubusercontent.com/u/115799?v=3","gravatar_id":"","url":"https://api.github.com/users/Nixarn","html_url":"https://github.com/Nixarn","followers_url":"https://api.github.com/users/Nixarn/followers","following_url":"https://api.github.com/users/Nixarn/following{/other_user}","gists_url":"https://api.github.com/users/Nixarn/gists{/gist_id}","starred_url":"https://api.github.com/users/Nixarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nixarn/subscriptions","organizations_url":"https://api.github.com/users/Nixarn/orgs","repos_url":"https://api.github.com/users/Nixarn/repos","events_url":"https://api.github.com/users/Nixarn/events{/privacy}","received_events_url":"https://api.github.com/users/Nixarn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"waprin","id":1075173,"avatar_url":"https://avatars.githubusercontent.com/u/1075173?v=3","gravatar_id":"","url":"https://api.github.com/users/waprin","html_url":"https://github.com/waprin","followers_url":"https://api.github.com/users/waprin/followers","following_url":"https://api.github.com/users/waprin/following{/other_user}","gists_url":"https://api.github.com/users/waprin/gists{/gist_id}","starred_url":"https://api.github.com/users/waprin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waprin/subscriptions","organizations_url":"https://api.github.com/users/waprin/orgs","repos_url":"https://api.github.com/users/waprin/repos","events_url":"https://api.github.com/users/waprin/events{/privacy}","received_events_url":"https://api.github.com/users/waprin/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-02-08T15:42:52Z","updated_at":"2016-02-09T18:15:58Z","closed_at":null,"body":"Hey, so this is weird and annoying. I wanted to deploy a django app on the app engine using the cloud sql db. But I kept having problems getting DateTimeFields to work. So I ended up creating a new project, by cloning this one, and oddly enough same problem happens here.\r\n\r\nTo replicate what I did was:\r\n1. Follow tutorial and deploy app\r\n2. Create a Question (it only has a date)\r\n3. Accessing the site on localhost shows \"Date published\" just fine, but it's always blank when accessing the remote url. \r\n\r\nEdit: So I made a Question, then created a new view:\r\n\r\n```\r\ndef index(request):\r\n\tq = Question.objects.all()[0]\r\n\tprint q.pub_date\r\n```\r\n\r\nLocally that outputs the date (connecting to the same CloudSQL db) but accessing the remote site prints None in the log for pub_date."},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/appengine-django-skeleton/issues/comments/181989008","html_url":"https://github.com/GoogleCloudPlatform/appengine-django-skeleton/issues/7#issuecomment-181989008","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/appengine-django-skeleton/issues/7","id":181989008,"user":{"login":"waprin","id":1075173,"avatar_url":"https://avatars.githubusercontent.com/u/1075173?v=3","gravatar_id":"","url":"https://api.github.com/users/waprin","html_url":"https://github.com/waprin","followers_url":"https://api.github.com/users/waprin/followers","following_url":"https://api.github.com/users/waprin/following{/other_user}","gists_url":"https://api.github.com/users/waprin/gists{/gist_id}","starred_url":"https://api.github.com/users/waprin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waprin/subscriptions","organizations_url":"https://api.github.com/users/waprin/orgs","repos_url":"https://api.github.com/users/waprin/repos","events_url":"https://api.github.com/users/waprin/events{/privacy}","received_events_url":"https://api.github.com/users/waprin/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T18:15:58Z","updated_at":"2016-02-09T18:15:58Z","body":"@Nixarn looks like it was a bug with App Engine library MySQLdb 1.2.4b4, which at time of writing is also \"latest\". Switching the app.yaml dependency for MySQLdb from \"latest\" or \"1.2.4b4\" to \"1.2.5\" or \"1.2.4\" should fix the issue. \r\n\r\nI just switched the MySQL library to 1.2.5 for this repo so the issue should be fixed.\r\n\r\nSorry about the problem, thanks for the bug report. \r\n"}}