{"action":"closed","issue":{"url":"https://api.github.com/repos/systers/portal/issues/94","labels_url":"https://api.github.com/repos/systers/portal/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/systers/portal/issues/94/comments","events_url":"https://api.github.com/repos/systers/portal/issues/94/events","html_url":"https://github.com/systers/portal/issues/94","id":58111861,"number":94,"title":"Rename Community.community_admin to Community.admin","user":{"login":"ana-balica","id":2039122,"avatar_url":"https://avatars.githubusercontent.com/u/2039122?v=3","gravatar_id":"","url":"https://api.github.com/users/ana-balica","html_url":"https://github.com/ana-balica","followers_url":"https://api.github.com/users/ana-balica/followers","following_url":"https://api.github.com/users/ana-balica/following{/other_user}","gists_url":"https://api.github.com/users/ana-balica/gists{/gist_id}","starred_url":"https://api.github.com/users/ana-balica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ana-balica/subscriptions","organizations_url":"https://api.github.com/users/ana-balica/orgs","repos_url":"https://api.github.com/users/ana-balica/repos","events_url":"https://api.github.com/users/ana-balica/events{/privacy}","received_events_url":"https://api.github.com/users/ana-balica/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/systers/portal/labels/easy%20TODO","name":"easy TODO","color":"DCFF00"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-18T19:01:47Z","updated_at":"2015-02-27T10:53:02Z","closed_at":"2015-02-27T10:53:02Z","body":"At first we created our `Community` model with the field called `community_admin` to denote the Community admin, of course. So we ended up with some redundancy - `community.community_admin`.\r\n\r\nStart with the renaming the field from `community_admin` to `admin`. Afterwards run migrations - `python systers_portal/manage.py makemigrations` and `python systers_portal/manage.py migrate`.\r\n\r\nSearch for all the usages across the project and make the change. The task seems trivial, but unfortunately spawns across multiple files. Be sure to run tests and flake8.\r\n\r\nGood luck :)"}}