{"action":"created","issue":{"url":"https://api.github.com/repos/XaviP/valuenetwork/issues/2","repository_url":"https://api.github.com/repos/XaviP/valuenetwork","labels_url":"https://api.github.com/repos/XaviP/valuenetwork/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/XaviP/valuenetwork/issues/2/comments","events_url":"https://api.github.com/repos/XaviP/valuenetwork/issues/2/events","html_url":"https://github.com/XaviP/valuenetwork/issues/2","id":160127385,"number":2,"title":"Upgrading django from 1.5 to 1.6","user":{"login":"XaviP","id":6750293,"avatar_url":"https://avatars.githubusercontent.com/u/6750293?v=3","gravatar_id":"","url":"https://api.github.com/users/XaviP","html_url":"https://github.com/XaviP","followers_url":"https://api.github.com/users/XaviP/followers","following_url":"https://api.github.com/users/XaviP/following{/other_user}","gists_url":"https://api.github.com/users/XaviP/gists{/gist_id}","starred_url":"https://api.github.com/users/XaviP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XaviP/subscriptions","organizations_url":"https://api.github.com/users/XaviP/orgs","repos_url":"https://api.github.com/users/XaviP/repos","events_url":"https://api.github.com/users/XaviP/events{/privacy}","received_events_url":"https://api.github.com/users/XaviP/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-14T08:44:00Z","updated_at":"2016-06-14T11:23:38Z","closed_at":null,"body":"- No more simplejson: *DeprecationWarning: django.utils.simplejson is deprecated; use json instead.*\r\n```\r\ngrep -r 'simplejson' ./\r\ngrep -rl 'simplejson' ./ | xargs sed -i s@'simplejson'@'json'@g\r\ngrep -rl 'from django.utils import json' ./ | xargs sed -i s@'from django.utils import json'@'import json'@g\r\n```\r\n- Django 1.6 changed the default value of BooleanField from False to None. It seems that doesn't make problems since we create a new db.\r\n- django.conf.urls.default doesn't exist no more, but ocp seems adapted to this deprecated yet.\r\n- Blocking error running tests, only last call:\r\n```\r\n  File \"/usr/lib/python2.7/unittest/loader.py\", line 91, in loadTestsFromName\r\n    module = __import__('.'.join(parts_copy))\r\nImportError: No module named valueaccounting\r\n```\r\nTrying to solve with (3 ocurrencies):\r\n```\r\ngrep -r 'os.environ.setdefault' ./\r\n```\r\nand change:\r\n```\r\nos.environ.setdefault(\"DJANGO_SETTINGS_MODULE\", \"valuenetwork.settings\")\r\n```\r\nwith:\r\n```\r\nos.environ['DJANGO_SETTINGS_MODULE'] = 'valuenetwork.settings'\r\n```\r\nBut it doesn't work\r\n- settings.py file now expected USE_TZ, ALLOWED_HOSTS, and SECRET_KEY"},"comment":{"url":"https://api.github.com/repos/XaviP/valuenetwork/issues/comments/225852702","html_url":"https://github.com/XaviP/valuenetwork/issues/2#issuecomment-225852702","issue_url":"https://api.github.com/repos/XaviP/valuenetwork/issues/2","id":225852702,"user":{"login":"bhaugen","id":117439,"avatar_url":"https://avatars.githubusercontent.com/u/117439?v=3","gravatar_id":"","url":"https://api.github.com/users/bhaugen","html_url":"https://github.com/bhaugen","followers_url":"https://api.github.com/users/bhaugen/followers","following_url":"https://api.github.com/users/bhaugen/following{/other_user}","gists_url":"https://api.github.com/users/bhaugen/gists{/gist_id}","starred_url":"https://api.github.com/users/bhaugen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhaugen/subscriptions","organizations_url":"https://api.github.com/users/bhaugen/orgs","repos_url":"https://api.github.com/users/bhaugen/repos","events_url":"https://api.github.com/users/bhaugen/events{/privacy}","received_events_url":"https://api.github.com/users/bhaugen/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T11:23:38Z","updated_at":"2016-06-14T11:23:38Z","body":"> We put SECRET_KEY in local_settings.py, but maybe settings.py shd have a placeholder.\r\n\r\nsettings.py already has a placeholder for SECRET_KEY.  Also already has USE_TZ. But not  ALLOWED_HOSTS."}}
{"actor":{"display_login":"bhaugen"}}