{"action":"created","issue":{"url":"https://api.github.com/repos/ababic/wagtailmodeladmin/issues/6","labels_url":"https://api.github.com/repos/ababic/wagtailmodeladmin/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/ababic/wagtailmodeladmin/issues/6/comments","events_url":"https://api.github.com/repos/ababic/wagtailmodeladmin/issues/6/events","html_url":"https://github.com/ababic/wagtailmodeladmin/issues/6","id":101380054,"number":6,"title":"Extend support to models other than Page models and Snippets","user":{"login":"ababic","id":7779588,"avatar_url":"https://avatars.githubusercontent.com/u/7779588?v=3","gravatar_id":"","url":"https://api.github.com/users/ababic","html_url":"https://github.com/ababic","followers_url":"https://api.github.com/users/ababic/followers","following_url":"https://api.github.com/users/ababic/following{/other_user}","gists_url":"https://api.github.com/users/ababic/gists{/gist_id}","starred_url":"https://api.github.com/users/ababic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ababic/subscriptions","organizations_url":"https://api.github.com/users/ababic/orgs","repos_url":"https://api.github.com/users/ababic/repos","events_url":"https://api.github.com/users/ababic/events{/privacy}","received_events_url":"https://api.github.com/users/ababic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ababic/wagtailmodeladmin/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ababic/wagtailmodeladmin/labels/major%20refactoring","name":"major refactoring","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ababic/wagtailmodeladmin/milestones/1","html_url":"https://github.com/ababic/wagtailmodeladmin/milestones/v2.0","labels_url":"https://api.github.com/repos/ababic/wagtailmodeladmin/milestones/1/labels","id":1257917,"number":1,"title":"v2.0","description":"","creator":{"login":"ababic","id":7779588,"avatar_url":"https://avatars.githubusercontent.com/u/7779588?v=3","gravatar_id":"","url":"https://api.github.com/users/ababic","html_url":"https://github.com/ababic","followers_url":"https://api.github.com/users/ababic/followers","following_url":"https://api.github.com/users/ababic/following{/other_user}","gists_url":"https://api.github.com/users/ababic/gists{/gist_id}","starred_url":"https://api.github.com/users/ababic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ababic/subscriptions","organizations_url":"https://api.github.com/users/ababic/orgs","repos_url":"https://api.github.com/users/ababic/repos","events_url":"https://api.github.com/users/ababic/events{/privacy}","received_events_url":"https://api.github.com/users/ababic/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":3,"state":"open","created_at":"2015-08-17T09:40:54Z","updated_at":"2015-08-24T16:54:08Z","due_on":"2015-11-30T00:00:00Z","closed_at":null},"comments":1,"created_at":"2015-08-17T09:41:07Z","updated_at":"2015-08-24T16:54:08Z","closed_at":"2015-08-24T16:54:08Z","body":"The idealistic scenario would be to have a single ModelAdmin class that will work with any model (not restricted to Pages or Snippets), and do away with SnippetModelAdmin and PageModelAdmin all together. \r\n\r\nIt wouldn't be too much of a stretch to do some working-out in __init__ to check wether the Model supplied extends Page or not (in fact, i'm pretty sure we do that somewhere), and base any differences in functionality on that.  \r\n\r\nThe tricky part will be adding a generic add/edit interface fo non-page and non-snippet models."},"comment":{"url":"https://api.github.com/repos/ababic/wagtailmodeladmin/issues/comments/134298181","html_url":"https://github.com/ababic/wagtailmodeladmin/issues/6#issuecomment-134298181","issue_url":"https://api.github.com/repos/ababic/wagtailmodeladmin/issues/6","id":134298181,"user":{"login":"ababic","id":7779588,"avatar_url":"https://avatars.githubusercontent.com/u/7779588?v=3","gravatar_id":"","url":"https://api.github.com/users/ababic","html_url":"https://github.com/ababic","followers_url":"https://api.github.com/users/ababic/followers","following_url":"https://api.github.com/users/ababic/following{/other_user}","gists_url":"https://api.github.com/users/ababic/gists{/gist_id}","starred_url":"https://api.github.com/users/ababic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ababic/subscriptions","organizations_url":"https://api.github.com/users/ababic/orgs","repos_url":"https://api.github.com/users/ababic/repos","events_url":"https://api.github.com/users/ababic/events{/privacy}","received_events_url":"https://api.github.com/users/ababic/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T16:54:08Z","updated_at":"2015-08-24T16:54:08Z","body":"Fixed in version 2.0, which is now live"}}