{"action":"created","issue":{"url":"https://api.github.com/repos/muccg/django-iprestrict/issues/15","repository_url":"https://api.github.com/repos/muccg/django-iprestrict","labels_url":"https://api.github.com/repos/muccg/django-iprestrict/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/muccg/django-iprestrict/issues/15/comments","events_url":"https://api.github.com/repos/muccg/django-iprestrict/issues/15/events","html_url":"https://github.com/muccg/django-iprestrict/issues/15","id":172438793,"number":15,"title":"NoReverseMatch error with Django 1.9 on /admin/iprestrict/rule/ page","user":{"login":"roman-oxenuk","id":3830903,"avatar_url":"https://avatars.githubusercontent.com/u/3830903?v=3","gravatar_id":"","url":"https://api.github.com/users/roman-oxenuk","html_url":"https://github.com/roman-oxenuk","followers_url":"https://api.github.com/users/roman-oxenuk/followers","following_url":"https://api.github.com/users/roman-oxenuk/following{/other_user}","gists_url":"https://api.github.com/users/roman-oxenuk/gists{/gist_id}","starred_url":"https://api.github.com/users/roman-oxenuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roman-oxenuk/subscriptions","organizations_url":"https://api.github.com/users/roman-oxenuk/orgs","repos_url":"https://api.github.com/users/roman-oxenuk/repos","events_url":"https://api.github.com/users/roman-oxenuk/events{/privacy}","received_events_url":"https://api.github.com/users/roman-oxenuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-22T12:20:47Z","updated_at":"2016-08-23T17:18:31Z","closed_at":null,"body":"In Django 1.9 I get a NoReverseMatch error when I try to open an admin page with list of all rules (url: /admin/iprestrict/rule/)\r\n\r\nAs I understand, Django 1.9 creates url namespace when you [specify] (https://github.com/muccg/django-iprestrict/blob/master/iprestrict/urls.py#L5) app_name in your urls.py\r\nSo, because of that, django reverse function is not able to do reverse [here] (https://github.com/muccg/django-iprestrict/blob/master/iprestrict/models.py#L144) and [here] (https://github.com/muccg/django-iprestrict/blob/master/iprestrict/models.py#L150) "},"comment":{"url":"https://api.github.com/repos/muccg/django-iprestrict/issues/comments/241806919","html_url":"https://github.com/muccg/django-iprestrict/issues/15#issuecomment-241806919","issue_url":"https://api.github.com/repos/muccg/django-iprestrict/issues/15","id":241806919,"user":{"login":"sztamas","id":973139,"avatar_url":"https://avatars.githubusercontent.com/u/973139?v=3","gravatar_id":"","url":"https://api.github.com/users/sztamas","html_url":"https://github.com/sztamas","followers_url":"https://api.github.com/users/sztamas/followers","following_url":"https://api.github.com/users/sztamas/following{/other_user}","gists_url":"https://api.github.com/users/sztamas/gists{/gist_id}","starred_url":"https://api.github.com/users/sztamas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sztamas/subscriptions","organizations_url":"https://api.github.com/users/sztamas/orgs","repos_url":"https://api.github.com/users/sztamas/repos","events_url":"https://api.github.com/users/sztamas/events{/privacy}","received_events_url":"https://api.github.com/users/sztamas/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T17:18:31Z","updated_at":"2016-08-23T17:18:31Z","body":"Hi, thanks for raising the issue and for the PR.\r\nI ended up using a slightly different implementation, that also works on Django 1.7.\r\nI also found another related issue on the iprestrict test page. I will fix that as well in the next release."}}
{"actor":{"display_login":"sztamas"}}