{"action":"created","issue":{"url":"https://api.github.com/repos/prashh/my_proj/issues/1","repository_url":"https://api.github.com/repos/prashh/my_proj","labels_url":"https://api.github.com/repos/prashh/my_proj/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/prashh/my_proj/issues/1/comments","events_url":"https://api.github.com/repos/prashh/my_proj/issues/1/events","html_url":"https://github.com/prashh/my_proj/pull/1","id":133100290,"number":1,"title":"Linking the backend to frontend","user":{"login":"abhijithanilkumar","id":8404278,"avatar_url":"https://avatars.githubusercontent.com/u/8404278?v=3","gravatar_id":"","url":"https://api.github.com/users/abhijithanilkumar","html_url":"https://github.com/abhijithanilkumar","followers_url":"https://api.github.com/users/abhijithanilkumar/followers","following_url":"https://api.github.com/users/abhijithanilkumar/following{/other_user}","gists_url":"https://api.github.com/users/abhijithanilkumar/gists{/gist_id}","starred_url":"https://api.github.com/users/abhijithanilkumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhijithanilkumar/subscriptions","organizations_url":"https://api.github.com/users/abhijithanilkumar/orgs","repos_url":"https://api.github.com/users/abhijithanilkumar/repos","events_url":"https://api.github.com/users/abhijithanilkumar/events{/privacy}","received_events_url":"https://api.github.com/users/abhijithanilkumar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-11T22:06:44Z","updated_at":"2016-03-02T11:21:17Z","closed_at":"2016-03-02T11:21:16Z","pull_request":{"url":"https://api.github.com/repos/prashh/my_proj/pulls/1","html_url":"https://github.com/prashh/my_proj/pull/1","diff_url":"https://github.com/prashh/my_proj/pull/1.diff","patch_url":"https://github.com/prashh/my_proj/pull/1.patch"},"body":"@akankshyakar @deeptir96 @prashh \r\n\r\nThere was something wrong with the views you wrote. I recommend Function-based views rather than Class-based views. They give more flexibility. Also, I have some suggestions : \r\n\r\n* Remove the .html from the urls.\r\n* Create a new django app and add models, views and urls. Classify them based on the functions. You have currently created all models in the ```accounts``` app which is a wrong practice. Create a new app, say ```website```.\r\n* The way you are handling the NC login, why a password there? You can just add a foreign key to the in-built ```User``` model. This will be easier and you will not have to handle passwords. Moreover, displaying passwords as it is, is not nice!\r\n\r\nMerge this Pull Request, and then you will be viewing the names of all items in the menu as an iterative list. \r\n\r\nYou can refer [this](https://github.com/IE-NITK/NITK-Student-Council-Website) repository for reference. It is a project that is built purely on Edge.\r\n\r\nCheers!\r\n"},"comment":{"url":"https://api.github.com/repos/prashh/my_proj/issues/comments/191193982","html_url":"https://github.com/prashh/my_proj/pull/1#issuecomment-191193982","issue_url":"https://api.github.com/repos/prashh/my_proj/issues/1","id":191193982,"user":{"login":"abhijithanilkumar","id":8404278,"avatar_url":"https://avatars.githubusercontent.com/u/8404278?v=3","gravatar_id":"","url":"https://api.github.com/users/abhijithanilkumar","html_url":"https://github.com/abhijithanilkumar","followers_url":"https://api.github.com/users/abhijithanilkumar/followers","following_url":"https://api.github.com/users/abhijithanilkumar/following{/other_user}","gists_url":"https://api.github.com/users/abhijithanilkumar/gists{/gist_id}","starred_url":"https://api.github.com/users/abhijithanilkumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhijithanilkumar/subscriptions","organizations_url":"https://api.github.com/users/abhijithanilkumar/orgs","repos_url":"https://api.github.com/users/abhijithanilkumar/repos","events_url":"https://api.github.com/users/abhijithanilkumar/events{/privacy}","received_events_url":"https://api.github.com/users/abhijithanilkumar/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T11:21:16Z","updated_at":"2016-03-02T11:21:16Z","body":"Closing!"}}