{"action":"created","comment":{"url":"https://api.github.com/repos/XMLPro/ManagementSystem/pulls/comments/57307007","id":57307007,"diff_hunk":"@@ -0,0 +1,121 @@\n+# -*- coding: utf-8 -*-\n+from __future__ import unicode_literals\n+\n+from django.db import models, migrations\n+import django.core.validators\n+import django.contrib.auth.models\n+from django.conf import settings\n+import django.utils.timezone\n+\n+\n+class Migration(migrations.Migration):\n+    dependencies = [\n+        ('auth', '0006_require_contenttypes_0002'),\n+    ]\n+\n+    operations = [\n+        migrations.CreateModel(\n+            name='CustomUser',\n+            fields=[\n+                ('id', models.AutoField(serialize=False, primary_key=True, verbose_name='ID', auto_created=True)),\n+                ('password', models.CharField(max_length=128, verbose_name='password')),\n+                ('last_login', models.DateTimeField(blank=True, verbose_name='last login', null=True)),\n+                ('is_superuser', models.BooleanField(default=False, verbose_name='superuser status',\n+                                                     help_text='Designates that this user has all permissions without explicitly assigning them.')),\n+                ('username',\n+                 models.CharField(max_length=30, error_messages={'unique': 'A user with that username already exists.'},\n+                                  validators=[django.core.validators.RegexValidator('^[\\\\w.@+-]+$',\n+                                                                                    'Enter a valid username. This value may contain only letters, numbers and @/./+/-/_ characters.',\n+                                                                                    'invalid')],\n+                                  verbose_name='username',\n+                                  help_text='Required. 30 characters or fewer. Letters, digits and @/./+/-/_ only.',\n+                                  unique=True)),\n+                ('first_name', models.CharField(max_length=30, verbose_name='first name', blank=True)),\n+                ('last_name', models.CharField(max_length=30, verbose_name='last name', blank=True)),\n+                ('email', models.EmailField(max_length=254, verbose_name='email address', blank=True)),\n+                ('is_staff', models.BooleanField(default=False, verbose_name='staff status',\n+                                                 help_text='Designates whether the user can log into this admin site.')),","path":"system/migrations/0001_initial.py","position":37,"original_position":37,"commit_id":"afa37c4a6e19e8dd8466a4f7ff53d47d7dc43e40","original_commit_id":"afa37c4a6e19e8dd8466a4f7ff53d47d7dc43e40","user":{"login":"sinshutu","id":7629220,"avatar_url":"https://avatars.githubusercontent.com/u/7629220?v=3","gravatar_id":"","url":"https://api.github.com/users/sinshutu","html_url":"https://github.com/sinshutu","followers_url":"https://api.github.com/users/sinshutu/followers","following_url":"https://api.github.com/users/sinshutu/following{/other_user}","gists_url":"https://api.github.com/users/sinshutu/gists{/gist_id}","starred_url":"https://api.github.com/users/sinshutu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinshutu/subscriptions","organizations_url":"https://api.github.com/users/sinshutu/orgs","repos_url":"https://api.github.com/users/sinshutu/repos","events_url":"https://api.github.com/users/sinshutu/events{/privacy}","received_events_url":"https://api.github.com/users/sinshutu/received_events","type":"User","site_admin":false},"body":"__[flake8]__\n* [E501] line too long (121 > 79 characters)","created_at":"2016-03-24T11:59:54Z","updated_at":"2016-03-24T11:59:54Z","html_url":"https://github.com/XMLPro/ManagementSystem/pull/53#discussion_r57307007","pull_request_url":"https://api.github.com/repos/XMLPro/ManagementSystem/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/XMLPro/ManagementSystem/pulls/comments/57307007"},"html":{"href":"https://github.com/XMLPro/ManagementSystem/pull/53#discussion_r57307007"},"pull_request":{"href":"https://api.github.com/repos/XMLPro/ManagementSystem/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/XMLPro/ManagementSystem/pulls/53","id":61802812,"html_url":"https://github.com/XMLPro/ManagementSystem/pull/53","diff_url":"https://github.com/XMLPro/ManagementSystem/pull/53.diff","patch_url":"https://github.com/XMLPro/ManagementSystem/pull/53.patch","issue_url":"https://api.github.com/repos/XMLPro/ManagementSystem/issues/53","number":53,"state":"open","locked":false,"title":"Add tag","user":{"login":"yurasu","id":10328087,"avatar_url":"https://avatars.githubusercontent.com/u/10328087?v=3","gravatar_id":"","url":"https://api.github.com/users/yurasu","html_url":"https://github.com/yurasu","followers_url":"https://api.github.com/users/yurasu/followers","following_url":"https://api.github.com/users/yurasu/following{/other_user}","gists_url":"https://api.github.com/users/yurasu/gists{/gist_id}","starred_url":"https://api.github.com/users/yurasu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurasu/subscriptions","organizations_url":"https://api.github.com/users/yurasu/orgs","repos_url":"https://api.github.com/users/yurasu/repos","events_url":"https://api.github.com/users/yurasu/events{/privacy}","received_events_url":"https://api.github.com/users/yurasu/received_events","type":"User","site_admin":false},"body":"タグを追加できる機能を作成\r\nTopページからタグ編集を押すとinput要素が出てくるのでタグ名を入力するとタグを追加できる。\r\nbootstrapによって若干の見た目の変更をした。","created_at":"2016-03-05T06:01:30Z","updated_at":"2016-03-24T11:59:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"77ae96ff7de312b3db156dc9c1311b2806fdb98f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/XMLPro/ManagementSystem/pulls/53/commits","review_comments_url":"https://api.github.com/repos/XMLPro/ManagementSystem/pulls/53/comments","review_comment_url":"https://api.github.com/repos/XMLPro/ManagementSystem/pulls/comments{/number}","comments_url":"https://api.github.com/repos/XMLPro/ManagementSystem/issues/53/comments","statuses_url":"https://api.github.com/repos/XMLPro/ManagementSystem/statuses/afa37c4a6e19e8dd8466a4f7ff53d47d7dc43e40","head":{"label":"XMLPro:add_tag","ref":"add_tag","sha":"afa37c4a6e19e8dd8466a4f7ff53d47d7dc43e40","user":{"login":"XMLPro","id":6573415,"avatar_url":"https://avatars.githubusercontent.com/u/6573415?v=3","gravatar_id":"","url":"https://api.github.com/users/XMLPro","html_url":"https://github.com/XMLPro","followers_url":"https://api.github.com/users/XMLPro/followers","following_url":"https://api.github.com/users/XMLPro/following{/other_user}","gists_url":"https://api.github.com/users/XMLPro/gists{/gist_id}","starred_url":"https://api.github.com/users/XMLPro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XMLPro/subscriptions","organizations_url":"https://api.github.com/users/XMLPro/orgs","repos_url":"https://api.github.com/users/XMLPro/repos","events_url":"https://api.github.com/users/XMLPro/events{/privacy}","received_events_url":"https://api.github.com/users/XMLPro/received_events","type":"Organization","site_admin":false},"repo":{"id":51062317,"name":"ManagementSystem","full_name":"XMLPro/ManagementSystem","owner":{"login":"XMLPro","id":6573415,"avatar_url":"https://avatars.githubusercontent.com/u/6573415?v=3","gravatar_id":"","url":"https://api.github.com/users/XMLPro","html_url":"https://github.com/XMLPro","followers_url":"https://api.github.com/users/XMLPro/followers","following_url":"https://api.github.com/users/XMLPro/following{/other_user}","gists_url":"https://api.github.com/users/XMLPro/gists{/gist_id}","starred_url":"https://api.github.com/users/XMLPro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XMLPro/subscriptions","organizations_url":"https://api.github.com/users/XMLPro/orgs","repos_url":"https://api.github.com/users/XMLPro/repos","events_url":"https://api.github.com/users/XMLPro/events{/privacy}","received_events_url":"https://api.github.com/users/XMLPro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/XMLPro/ManagementSystem","description":"備品を簡単に管理するためのシステム","fork":false,"url":"https://api.github.com/repos/XMLPro/ManagementSystem","forks_url":"https://api.github.com/repos/XMLPro/ManagementSystem/forks","keys_url":"https://api.github.com/repos/XMLPro/ManagementSystem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/XMLPro/ManagementSystem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/XMLPro/ManagementSystem/teams","hooks_url":"https://api.github.com/repos/XMLPro/ManagementSystem/hooks","issue_events_url":"https://api.github.com/repos/XMLPro/ManagementSystem/issues/events{/number}","events_url":"https://api.github.com/repos/XMLPro/ManagementSystem/events","assignees_url":"https://api.github.com/repos/XMLPro/ManagementSystem/assignees{/user}","branches_url":"https://api.github.com/repos/XMLPro/ManagementSystem/branches{/branch}","tags_url":"https://api.github.com/repos/XMLPro/ManagementSystem/tags","blobs_url":"https://api.github.com/repos/XMLPro/ManagementSystem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/XMLPro/ManagementSystem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/XMLPro/ManagementSystem/git/refs{/sha}","trees_url":"https://api.github.com/repos/XMLPro/ManagementSystem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/XMLPro/ManagementSystem/statuses/{sha}","languages_url":"https://api.github.com/repos/XMLPro/ManagementSystem/languages","stargazers_url":"https://api.github.com/repos/XMLPro/ManagementSystem/stargazers","contributors_url":"https://api.github.com/repos/XMLPro/ManagementSystem/contributors","subscribers_url":"https://api.github.com/repos/XMLPro/ManagementSystem/subscribers","subscription_url":"https://api.github.com/repos/XMLPro/ManagementSystem/subscription","commits_url":"https://api.github.com/repos/XMLPro/ManagementSystem/commits{/sha}","git_commits_url":"https://api.github.com/repos/XMLPro/ManagementSystem/git/commits{/sha}","comments_url":"https://api.github.com/repos/XMLPro/ManagementSystem/comments{/number}","issue_comment_url":"https://api.github.com/repos/XMLPro/ManagementSystem/issues/comments{/number}","contents_url":"https://api.github.com/repos/XMLPro/ManagementSystem/contents/{+path}","compare_url":"https://api.github.com/repos/XMLPro/ManagementSystem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/XMLPro/ManagementSystem/merges","archive_url":"https://api.github.com/repos/XMLPro/ManagementSystem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/XMLPro/ManagementSystem/downloads","issues_url":"https://api.github.com/repos/XMLPro/ManagementSystem/issues{/number}","pulls_url":"https://api.github.com/repos/XMLPro/ManagementSystem/pulls{/number}","milestones_url":"https://api.github.com/repos/XMLPro/ManagementSystem/milestones{/number}","notifications_url":"https://api.github.com/repos/XMLPro/ManagementSystem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/XMLPro/ManagementSystem/labels{/name}","releases_url":"https://api.github.com/repos/XMLPro/ManagementSystem/releases{/id}","deployments_url":"https://api.github.com/repos/XMLPro/ManagementSystem/deployments","created_at":"2016-02-04T08:27:32Z","updated_at":"2016-02-09T09:51:29Z","pushed_at":"2016-03-24T11:59:44Z","git_url":"git://github.com/XMLPro/ManagementSystem.git","ssh_url":"git@github.com:XMLPro/ManagementSystem.git","clone_url":"https://github.com/XMLPro/ManagementSystem.git","svn_url":"https://github.com/XMLPro/ManagementSystem","homepage":null,"size":8457,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"XMLPro:develop","ref":"develop","sha":"651398532ec974c6dcd2a970ddcac9fe4101d3cc","user":{"login":"XMLPro","id":6573415,"avatar_url":"https://avatars.githubusercontent.com/u/6573415?v=3","gravatar_id":"","url":"https://api.github.com/users/XMLPro","html_url":"https://github.com/XMLPro","followers_url":"https://api.github.com/users/XMLPro/followers","following_url":"https://api.github.com/users/XMLPro/following{/other_user}","gists_url":"https://api.github.com/users/XMLPro/gists{/gist_id}","starred_url":"https://api.github.com/users/XMLPro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XMLPro/subscriptions","organizations_url":"https://api.github.com/users/XMLPro/orgs","repos_url":"https://api.github.com/users/XMLPro/repos","events_url":"https://api.github.com/users/XMLPro/events{/privacy}","received_events_url":"https://api.github.com/users/XMLPro/received_events","type":"Organization","site_admin":false},"repo":{"id":51062317,"name":"ManagementSystem","full_name":"XMLPro/ManagementSystem","owner":{"login":"XMLPro","id":6573415,"avatar_url":"https://avatars.githubusercontent.com/u/6573415?v=3","gravatar_id":"","url":"https://api.github.com/users/XMLPro","html_url":"https://github.com/XMLPro","followers_url":"https://api.github.com/users/XMLPro/followers","following_url":"https://api.github.com/users/XMLPro/following{/other_user}","gists_url":"https://api.github.com/users/XMLPro/gists{/gist_id}","starred_url":"https://api.github.com/users/XMLPro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XMLPro/subscriptions","organizations_url":"https://api.github.com/users/XMLPro/orgs","repos_url":"https://api.github.com/users/XMLPro/repos","events_url":"https://api.github.com/users/XMLPro/events{/privacy}","received_events_url":"https://api.github.com/users/XMLPro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/XMLPro/ManagementSystem","description":"備品を簡単に管理するためのシステム","fork":false,"url":"https://api.github.com/repos/XMLPro/ManagementSystem","forks_url":"https://api.github.com/repos/XMLPro/ManagementSystem/forks","keys_url":"https://api.github.com/repos/XMLPro/ManagementSystem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/XMLPro/ManagementSystem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/XMLPro/ManagementSystem/teams","hooks_url":"https://api.github.com/repos/XMLPro/ManagementSystem/hooks","issue_events_url":"https://api.github.com/repos/XMLPro/ManagementSystem/issues/events{/number}","events_url":"https://api.github.com/repos/XMLPro/ManagementSystem/events","assignees_url":"https://api.github.com/repos/XMLPro/ManagementSystem/assignees{/user}","branches_url":"https://api.github.com/repos/XMLPro/ManagementSystem/branches{/branch}","tags_url":"https://api.github.com/repos/XMLPro/ManagementSystem/tags","blobs_url":"https://api.github.com/repos/XMLPro/ManagementSystem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/XMLPro/ManagementSystem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/XMLPro/ManagementSystem/git/refs{/sha}","trees_url":"https://api.github.com/repos/XMLPro/ManagementSystem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/XMLPro/ManagementSystem/statuses/{sha}","languages_url":"https://api.github.com/repos/XMLPro/ManagementSystem/languages","stargazers_url":"https://api.github.com/repos/XMLPro/ManagementSystem/stargazers","contributors_url":"https://api.github.com/repos/XMLPro/ManagementSystem/contributors","subscribers_url":"https://api.github.com/repos/XMLPro/ManagementSystem/subscribers","subscription_url":"https://api.github.com/repos/XMLPro/ManagementSystem/subscription","commits_url":"https://api.github.com/repos/XMLPro/ManagementSystem/commits{/sha}","git_commits_url":"https://api.github.com/repos/XMLPro/ManagementSystem/git/commits{/sha}","comments_url":"https://api.github.com/repos/XMLPro/ManagementSystem/comments{/number}","issue_comment_url":"https://api.github.com/repos/XMLPro/ManagementSystem/issues/comments{/number}","contents_url":"https://api.github.com/repos/XMLPro/ManagementSystem/contents/{+path}","compare_url":"https://api.github.com/repos/XMLPro/ManagementSystem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/XMLPro/ManagementSystem/merges","archive_url":"https://api.github.com/repos/XMLPro/ManagementSystem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/XMLPro/ManagementSystem/downloads","issues_url":"https://api.github.com/repos/XMLPro/ManagementSystem/issues{/number}","pulls_url":"https://api.github.com/repos/XMLPro/ManagementSystem/pulls{/number}","milestones_url":"https://api.github.com/repos/XMLPro/ManagementSystem/milestones{/number}","notifications_url":"https://api.github.com/repos/XMLPro/ManagementSystem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/XMLPro/ManagementSystem/labels{/name}","releases_url":"https://api.github.com/repos/XMLPro/ManagementSystem/releases{/id}","deployments_url":"https://api.github.com/repos/XMLPro/ManagementSystem/deployments","created_at":"2016-02-04T08:27:32Z","updated_at":"2016-02-09T09:51:29Z","pushed_at":"2016-03-24T11:59:44Z","git_url":"git://github.com/XMLPro/ManagementSystem.git","ssh_url":"git@github.com:XMLPro/ManagementSystem.git","clone_url":"https://github.com/XMLPro/ManagementSystem.git","svn_url":"https://github.com/XMLPro/ManagementSystem","homepage":null,"size":8457,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/XMLPro/ManagementSystem/pulls/53"},"html":{"href":"https://github.com/XMLPro/ManagementSystem/pull/53"},"issue":{"href":"https://api.github.com/repos/XMLPro/ManagementSystem/issues/53"},"comments":{"href":"https://api.github.com/repos/XMLPro/ManagementSystem/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/XMLPro/ManagementSystem/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/XMLPro/ManagementSystem/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/XMLPro/ManagementSystem/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/XMLPro/ManagementSystem/statuses/afa37c4a6e19e8dd8466a4f7ff53d47d7dc43e40"}}}}