{"action":"created","issue":{"url":"https://api.github.com/repos/karrde/ffg_swrpg/issues/11","repository_url":"https://api.github.com/repos/karrde/ffg_swrpg","labels_url":"https://api.github.com/repos/karrde/ffg_swrpg/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/karrde/ffg_swrpg/issues/11/comments","events_url":"https://api.github.com/repos/karrde/ffg_swrpg/issues/11/events","html_url":"https://github.com/karrde/ffg_swrpg/issues/11","id":35728373,"number":11,"title":"Adversary talent level","user":{"login":"karrde","id":204303,"avatar_url":"https://avatars.githubusercontent.com/u/204303?v=3","gravatar_id":"","url":"https://api.github.com/users/karrde","html_url":"https://github.com/karrde","followers_url":"https://api.github.com/users/karrde/followers","following_url":"https://api.github.com/users/karrde/following{/other_user}","gists_url":"https://api.github.com/users/karrde/gists{/gist_id}","starred_url":"https://api.github.com/users/karrde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karrde/subscriptions","organizations_url":"https://api.github.com/users/karrde/orgs","repos_url":"https://api.github.com/users/karrde/repos","events_url":"https://api.github.com/users/karrde/events{/privacy}","received_events_url":"https://api.github.com/users/karrde/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/karrde/ffg_swrpg/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-06-14T13:32:15Z","updated_at":"2016-04-20T12:39:03Z","closed_at":null,"body":"For Adversary list it might be useful to have what level of Adversary tallet the NPC has to be able to sort by that field.  This would let the person have a climbing scale of bad guys."},"comment":{"url":"https://api.github.com/repos/karrde/ffg_swrpg/issues/comments/212407202","html_url":"https://github.com/karrde/ffg_swrpg/issues/11#issuecomment-212407202","issue_url":"https://api.github.com/repos/karrde/ffg_swrpg/issues/11","id":212407202,"user":{"login":"karrde","id":204303,"avatar_url":"https://avatars.githubusercontent.com/u/204303?v=3","gravatar_id":"","url":"https://api.github.com/users/karrde","html_url":"https://github.com/karrde","followers_url":"https://api.github.com/users/karrde/followers","following_url":"https://api.github.com/users/karrde/following{/other_user}","gists_url":"https://api.github.com/users/karrde/gists{/gist_id}","starred_url":"https://api.github.com/users/karrde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karrde/subscriptions","organizations_url":"https://api.github.com/users/karrde/orgs","repos_url":"https://api.github.com/users/karrde/repos","events_url":"https://api.github.com/users/karrde/events{/privacy}","received_events_url":"https://api.github.com/users/karrde/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T12:39:03Z","updated_at":"2016-04-20T12:39:03Z","body":"My apps/model seperation might have bit me here.  From the template perspective I might need to build some function calls to get the proper seperation by rank.  I can do the following at the shell:\r\n\r\n```\r\n>>> t.adversary_set.filter(talententry__talent__name=t.name).all()\r\n[<Adversary: Elaiza>, <Adversary: Emperor's Hand>, <Adversary: Forsaken Jedi>, <Adversary: Jedi-in-hiding>]\r\n>>> t.adversary_set.filter(talententry__talent__name=t.name,talententry__rank=2).all()\r\n[<Adversary: Emperor's Hand>]\r\n>>> t.adversary_set.filter(talententry__talent__name=t.name,talententry__rank=3).all()\r\n[<Adversary: Elaiza>, <Adversary: Forsaken Jedi>, <Adversary: Jedi-in-hiding>]\r\n\r\n```\r\n\r\nBut since I can't do that in the template I can't easily extend the Talent model from the Adversary app.  There may be some combination of extension of the Adversary model in conjunction with a view that allows me to do this seamlessly otherwise I've got cross dependancies and I don't want that.\r\n\r\nIn the mean time I've added a list of Adversaries to the talent page regardless of rank."}}