{"action":"created","comment":{"url":"https://api.github.com/repos/City-of-Helsinki/respa/pulls/comments/43277345","id":43277345,"diff_hunk":"@@ -0,0 +1,26 @@\n+# -*- coding: utf-8 -*-\n+from __future__ import unicode_literals\n+\n+from django.db import migrations, models\n+import autoslug.fields\n+import resources.models.utils\n+\n+\n+class Migration(migrations.Migration):","path":"resources/migrations/0016_auto_20151028_1653.py","position":9,"original_position":9,"commit_id":"294a25a4b4fb5b3796ba283d85b9e9fd2fc7b548","original_commit_id":"294a25a4b4fb5b3796ba283d85b9e9fd2fc7b548","user":{"login":"akx","id":58669,"avatar_url":"https://avatars.githubusercontent.com/u/58669?v=3","gravatar_id":"","url":"https://api.github.com/users/akx","html_url":"https://github.com/akx","followers_url":"https://api.github.com/users/akx/followers","following_url":"https://api.github.com/users/akx/following{/other_user}","gists_url":"https://api.github.com/users/akx/gists{/gist_id}","starred_url":"https://api.github.com/users/akx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akx/subscriptions","organizations_url":"https://api.github.com/users/akx/orgs","repos_url":"https://api.github.com/users/akx/repos","events_url":"https://api.github.com/users/akx/events{/privacy}","received_events_url":"https://api.github.com/users/akx/received_events","type":"User","site_admin":false},"body":"Is this second migration required? :o ","created_at":"2015-10-28T16:08:55Z","updated_at":"2015-10-28T16:08:55Z","html_url":"https://github.com/City-of-Helsinki/respa/pull/38#discussion_r43277345","pull_request_url":"https://api.github.com/repos/City-of-Helsinki/respa/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/City-of-Helsinki/respa/pulls/comments/43277345"},"html":{"href":"https://github.com/City-of-Helsinki/respa/pull/38#discussion_r43277345"},"pull_request":{"href":"https://api.github.com/repos/City-of-Helsinki/respa/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/City-of-Helsinki/respa/pulls/38","id":48998821,"html_url":"https://github.com/City-of-Helsinki/respa/pull/38","diff_url":"https://github.com/City-of-Helsinki/respa/pull/38.diff","patch_url":"https://github.com/City-of-Helsinki/respa/pull/38.patch","issue_url":"https://api.github.com/repos/City-of-Helsinki/respa/issues/38","number":38,"state":"open","locked":false,"title":"Add slugs for Unit and Resource","user":{"login":"tuomas777","id":1314604,"avatar_url":"https://avatars.githubusercontent.com/u/1314604?v=3","gravatar_id":"","url":"https://api.github.com/users/tuomas777","html_url":"https://github.com/tuomas777","followers_url":"https://api.github.com/users/tuomas777/followers","following_url":"https://api.github.com/users/tuomas777/following{/other_user}","gists_url":"https://api.github.com/users/tuomas777/gists{/gist_id}","starred_url":"https://api.github.com/users/tuomas777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuomas777/subscriptions","organizations_url":"https://api.github.com/users/tuomas777/orgs","repos_url":"https://api.github.com/users/tuomas777/repos","events_url":"https://api.github.com/users/tuomas777/events{/privacy}","received_events_url":"https://api.github.com/users/tuomas777/received_events","type":"User","site_admin":false},"body":"Added django-autoslug 1.9.3 and autoslug fields for Unit and Resource. The fields are populated from name field and are unique. Slugs for existing units and resources are generated in migrations.\r\n\r\nRefs #32","created_at":"2015-10-28T12:27:02Z","updated_at":"2015-10-28T16:08:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4ace525dea460ba5a9dd769a7a5aa50bc667da22","assignee":{"login":"juyrjola","id":216030,"avatar_url":"https://avatars.githubusercontent.com/u/216030?v=3","gravatar_id":"","url":"https://api.github.com/users/juyrjola","html_url":"https://github.com/juyrjola","followers_url":"https://api.github.com/users/juyrjola/followers","following_url":"https://api.github.com/users/juyrjola/following{/other_user}","gists_url":"https://api.github.com/users/juyrjola/gists{/gist_id}","starred_url":"https://api.github.com/users/juyrjola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juyrjola/subscriptions","organizations_url":"https://api.github.com/users/juyrjola/orgs","repos_url":"https://api.github.com/users/juyrjola/repos","events_url":"https://api.github.com/users/juyrjola/events{/privacy}","received_events_url":"https://api.github.com/users/juyrjola/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/City-of-Helsinki/respa/pulls/38/commits","review_comments_url":"https://api.github.com/repos/City-of-Helsinki/respa/pulls/38/comments","review_comment_url":"https://api.github.com/repos/City-of-Helsinki/respa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/City-of-Helsinki/respa/issues/38/comments","statuses_url":"https://api.github.com/repos/City-of-Helsinki/respa/statuses/294a25a4b4fb5b3796ba283d85b9e9fd2fc7b548","head":{"label":"tuomas777:add-slugs","ref":"add-slugs","sha":"294a25a4b4fb5b3796ba283d85b9e9fd2fc7b548","user":{"login":"tuomas777","id":1314604,"avatar_url":"https://avatars.githubusercontent.com/u/1314604?v=3","gravatar_id":"","url":"https://api.github.com/users/tuomas777","html_url":"https://github.com/tuomas777","followers_url":"https://api.github.com/users/tuomas777/followers","following_url":"https://api.github.com/users/tuomas777/following{/other_user}","gists_url":"https://api.github.com/users/tuomas777/gists{/gist_id}","starred_url":"https://api.github.com/users/tuomas777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuomas777/subscriptions","organizations_url":"https://api.github.com/users/tuomas777/orgs","repos_url":"https://api.github.com/users/tuomas777/repos","events_url":"https://api.github.com/users/tuomas777/events{/privacy}","received_events_url":"https://api.github.com/users/tuomas777/received_events","type":"User","site_admin":false},"repo":{"id":45026665,"name":"respa","full_name":"tuomas777/respa","owner":{"login":"tuomas777","id":1314604,"avatar_url":"https://avatars.githubusercontent.com/u/1314604?v=3","gravatar_id":"","url":"https://api.github.com/users/tuomas777","html_url":"https://github.com/tuomas777","followers_url":"https://api.github.com/users/tuomas777/followers","following_url":"https://api.github.com/users/tuomas777/following{/other_user}","gists_url":"https://api.github.com/users/tuomas777/gists{/gist_id}","starred_url":"https://api.github.com/users/tuomas777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuomas777/subscriptions","organizations_url":"https://api.github.com/users/tuomas777/orgs","repos_url":"https://api.github.com/users/tuomas777/repos","events_url":"https://api.github.com/users/tuomas777/events{/privacy}","received_events_url":"https://api.github.com/users/tuomas777/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tuomas777/respa","description":"Django application for resource reservation","fork":true,"url":"https://api.github.com/repos/tuomas777/respa","forks_url":"https://api.github.com/repos/tuomas777/respa/forks","keys_url":"https://api.github.com/repos/tuomas777/respa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tuomas777/respa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tuomas777/respa/teams","hooks_url":"https://api.github.com/repos/tuomas777/respa/hooks","issue_events_url":"https://api.github.com/repos/tuomas777/respa/issues/events{/number}","events_url":"https://api.github.com/repos/tuomas777/respa/events","assignees_url":"https://api.github.com/repos/tuomas777/respa/assignees{/user}","branches_url":"https://api.github.com/repos/tuomas777/respa/branches{/branch}","tags_url":"https://api.github.com/repos/tuomas777/respa/tags","blobs_url":"https://api.github.com/repos/tuomas777/respa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tuomas777/respa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tuomas777/respa/git/refs{/sha}","trees_url":"https://api.github.com/repos/tuomas777/respa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tuomas777/respa/statuses/{sha}","languages_url":"https://api.github.com/repos/tuomas777/respa/languages","stargazers_url":"https://api.github.com/repos/tuomas777/respa/stargazers","contributors_url":"https://api.github.com/repos/tuomas777/respa/contributors","subscribers_url":"https://api.github.com/repos/tuomas777/respa/subscribers","subscription_url":"https://api.github.com/repos/tuomas777/respa/subscription","commits_url":"https://api.github.com/repos/tuomas777/respa/commits{/sha}","git_commits_url":"https://api.github.com/repos/tuomas777/respa/git/commits{/sha}","comments_url":"https://api.github.com/repos/tuomas777/respa/comments{/number}","issue_comment_url":"https://api.github.com/repos/tuomas777/respa/issues/comments{/number}","contents_url":"https://api.github.com/repos/tuomas777/respa/contents/{+path}","compare_url":"https://api.github.com/repos/tuomas777/respa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tuomas777/respa/merges","archive_url":"https://api.github.com/repos/tuomas777/respa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tuomas777/respa/downloads","issues_url":"https://api.github.com/repos/tuomas777/respa/issues{/number}","pulls_url":"https://api.github.com/repos/tuomas777/respa/pulls{/number}","milestones_url":"https://api.github.com/repos/tuomas777/respa/milestones{/number}","notifications_url":"https://api.github.com/repos/tuomas777/respa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tuomas777/respa/labels{/name}","releases_url":"https://api.github.com/repos/tuomas777/respa/releases{/id}","created_at":"2015-10-27T08:23:11Z","updated_at":"2015-10-27T08:23:12Z","pushed_at":"2015-10-28T15:41:41Z","git_url":"git://github.com/tuomas777/respa.git","ssh_url":"git@github.com:tuomas777/respa.git","clone_url":"https://github.com/tuomas777/respa.git","svn_url":"https://github.com/tuomas777/respa","homepage":null,"size":676,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"City-of-Helsinki:master","ref":"master","sha":"69ecf4245f3c9f9d54c240cc190fd590a25b0d31","user":{"login":"City-of-Helsinki","id":1875564,"avatar_url":"https://avatars.githubusercontent.com/u/1875564?v=3","gravatar_id":"","url":"https://api.github.com/users/City-of-Helsinki","html_url":"https://github.com/City-of-Helsinki","followers_url":"https://api.github.com/users/City-of-Helsinki/followers","following_url":"https://api.github.com/users/City-of-Helsinki/following{/other_user}","gists_url":"https://api.github.com/users/City-of-Helsinki/gists{/gist_id}","starred_url":"https://api.github.com/users/City-of-Helsinki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/City-of-Helsinki/subscriptions","organizations_url":"https://api.github.com/users/City-of-Helsinki/orgs","repos_url":"https://api.github.com/users/City-of-Helsinki/repos","events_url":"https://api.github.com/users/City-of-Helsinki/events{/privacy}","received_events_url":"https://api.github.com/users/City-of-Helsinki/received_events","type":"Organization","site_admin":false},"repo":{"id":36498563,"name":"respa","full_name":"City-of-Helsinki/respa","owner":{"login":"City-of-Helsinki","id":1875564,"avatar_url":"https://avatars.githubusercontent.com/u/1875564?v=3","gravatar_id":"","url":"https://api.github.com/users/City-of-Helsinki","html_url":"https://github.com/City-of-Helsinki","followers_url":"https://api.github.com/users/City-of-Helsinki/followers","following_url":"https://api.github.com/users/City-of-Helsinki/following{/other_user}","gists_url":"https://api.github.com/users/City-of-Helsinki/gists{/gist_id}","starred_url":"https://api.github.com/users/City-of-Helsinki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/City-of-Helsinki/subscriptions","organizations_url":"https://api.github.com/users/City-of-Helsinki/orgs","repos_url":"https://api.github.com/users/City-of-Helsinki/repos","events_url":"https://api.github.com/users/City-of-Helsinki/events{/privacy}","received_events_url":"https://api.github.com/users/City-of-Helsinki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/City-of-Helsinki/respa","description":"Django application for resource reservation","fork":false,"url":"https://api.github.com/repos/City-of-Helsinki/respa","forks_url":"https://api.github.com/repos/City-of-Helsinki/respa/forks","keys_url":"https://api.github.com/repos/City-of-Helsinki/respa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/City-of-Helsinki/respa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/City-of-Helsinki/respa/teams","hooks_url":"https://api.github.com/repos/City-of-Helsinki/respa/hooks","issue_events_url":"https://api.github.com/repos/City-of-Helsinki/respa/issues/events{/number}","events_url":"https://api.github.com/repos/City-of-Helsinki/respa/events","assignees_url":"https://api.github.com/repos/City-of-Helsinki/respa/assignees{/user}","branches_url":"https://api.github.com/repos/City-of-Helsinki/respa/branches{/branch}","tags_url":"https://api.github.com/repos/City-of-Helsinki/respa/tags","blobs_url":"https://api.github.com/repos/City-of-Helsinki/respa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/City-of-Helsinki/respa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/City-of-Helsinki/respa/git/refs{/sha}","trees_url":"https://api.github.com/repos/City-of-Helsinki/respa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/City-of-Helsinki/respa/statuses/{sha}","languages_url":"https://api.github.com/repos/City-of-Helsinki/respa/languages","stargazers_url":"https://api.github.com/repos/City-of-Helsinki/respa/stargazers","contributors_url":"https://api.github.com/repos/City-of-Helsinki/respa/contributors","subscribers_url":"https://api.github.com/repos/City-of-Helsinki/respa/subscribers","subscription_url":"https://api.github.com/repos/City-of-Helsinki/respa/subscription","commits_url":"https://api.github.com/repos/City-of-Helsinki/respa/commits{/sha}","git_commits_url":"https://api.github.com/repos/City-of-Helsinki/respa/git/commits{/sha}","comments_url":"https://api.github.com/repos/City-of-Helsinki/respa/comments{/number}","issue_comment_url":"https://api.github.com/repos/City-of-Helsinki/respa/issues/comments{/number}","contents_url":"https://api.github.com/repos/City-of-Helsinki/respa/contents/{+path}","compare_url":"https://api.github.com/repos/City-of-Helsinki/respa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/City-of-Helsinki/respa/merges","archive_url":"https://api.github.com/repos/City-of-Helsinki/respa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/City-of-Helsinki/respa/downloads","issues_url":"https://api.github.com/repos/City-of-Helsinki/respa/issues{/number}","pulls_url":"https://api.github.com/repos/City-of-Helsinki/respa/pulls{/number}","milestones_url":"https://api.github.com/repos/City-of-Helsinki/respa/milestones{/number}","notifications_url":"https://api.github.com/repos/City-of-Helsinki/respa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/City-of-Helsinki/respa/labels{/name}","releases_url":"https://api.github.com/repos/City-of-Helsinki/respa/releases{/id}","created_at":"2015-05-29T10:49:41Z","updated_at":"2015-10-22T11:49:04Z","pushed_at":"2015-10-28T15:41:42Z","git_url":"git://github.com/City-of-Helsinki/respa.git","ssh_url":"git@github.com:City-of-Helsinki/respa.git","clone_url":"https://github.com/City-of-Helsinki/respa.git","svn_url":"https://github.com/City-of-Helsinki/respa","homepage":null,"size":676,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":14,"forks":2,"open_issues":14,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/City-of-Helsinki/respa/pulls/38"},"html":{"href":"https://github.com/City-of-Helsinki/respa/pull/38"},"issue":{"href":"https://api.github.com/repos/City-of-Helsinki/respa/issues/38"},"comments":{"href":"https://api.github.com/repos/City-of-Helsinki/respa/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/City-of-Helsinki/respa/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/City-of-Helsinki/respa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/City-of-Helsinki/respa/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/City-of-Helsinki/respa/statuses/294a25a4b4fb5b3796ba283d85b9e9fd2fc7b548"}}}}