{"action":"created","issue":{"url":"https://api.github.com/repos/pytest-dev/pytest-django/issues/609","repository_url":"https://api.github.com/repos/pytest-dev/pytest-django","labels_url":"https://api.github.com/repos/pytest-dev/pytest-django/issues/609/labels{/name}","comments_url":"https://api.github.com/repos/pytest-dev/pytest-django/issues/609/comments","events_url":"https://api.github.com/repos/pytest-dev/pytest-django/issues/609/events","html_url":"https://github.com/pytest-dev/pytest-django/issues/609","id":330081978,"node_id":"MDU6SXNzdWUzMzAwODE5Nzg=","number":609,"title":"'ignore_template_errors' not a registered marker","user":{"login":"jamesbeith","id":456480,"node_id":"MDQ6VXNlcjQ1NjQ4MA==","avatar_url":"https://avatars3.githubusercontent.com/u/456480?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesbeith","html_url":"https://github.com/jamesbeith","followers_url":"https://api.github.com/users/jamesbeith/followers","following_url":"https://api.github.com/users/jamesbeith/following{/other_user}","gists_url":"https://api.github.com/users/jamesbeith/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesbeith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesbeith/subscriptions","organizations_url":"https://api.github.com/users/jamesbeith/orgs","repos_url":"https://api.github.com/users/jamesbeith/repos","events_url":"https://api.github.com/users/jamesbeith/events{/privacy}","received_events_url":"https://api.github.com/users/jamesbeith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-07T01:02:17Z","updated_at":"2018-06-07T21:46:55Z","closed_at":null,"author_association":"NONE","body":"I tried to use the `ignore_template_errors` marker...\r\n\r\n```\r\nimport pytest\r\n\r\n@pytest.mark.ignore_template_errors\r\ndef test_foo():\r\n    pass\r\n```\r\n\r\nbut running the tests resulted in the following error...\r\n\r\n```\r\nAttributeError: 'ignore_template_errors' not a registered marker\r\n```\r\n\r\nWhen I run `pytest --markers` to see which markers exist for the test suite `ignore_template_errors` is not listed, but the `django_db` and `urls` markers from `pytest-django` are.\r\n\r\n```\r\n$ pytest --markers\r\n@pytest.mark.webtest\r\n@pytest.mark.django_db(transaction=False)\r\n@pytest.mark.urls(modstr)\r\n@pytest.mark.skip(reason=None)\r\n@pytest.mark.skipif(condition)\r\n@pytest.mark.xfail(condition, reason=None, run=True, raises=None, strict=False)\r\n@pytest.mark.parametrize(argnames, argvalues)\r\n@pytest.mark.usefixtures(fixturename1, fixturename2, ...)\r\n@pytest.mark.tryfirst\r\n@pytest.mark.trylast\r\n```\r\n\r\nI do not have `markers` declared in my `setup.cfg` file but do include `--fail-on-template-vars` in `addopts`.\r\n\r\n```\r\npytest-django==3.2.1\r\npytest==3.6.1\r\n```"},"comment":{"url":"https://api.github.com/repos/pytest-dev/pytest-django/issues/comments/395575924","html_url":"https://github.com/pytest-dev/pytest-django/issues/609#issuecomment-395575924","issue_url":"https://api.github.com/repos/pytest-dev/pytest-django/issues/609","id":395575924,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTU3NTkyNA==","user":{"login":"blueyed","id":9766,"node_id":"MDQ6VXNlcjk3NjY=","avatar_url":"https://avatars1.githubusercontent.com/u/9766?v=4","gravatar_id":"","url":"https://api.github.com/users/blueyed","html_url":"https://github.com/blueyed","followers_url":"https://api.github.com/users/blueyed/followers","following_url":"https://api.github.com/users/blueyed/following{/other_user}","gists_url":"https://api.github.com/users/blueyed/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyed/subscriptions","organizations_url":"https://api.github.com/users/blueyed/orgs","repos_url":"https://api.github.com/users/blueyed/repos","events_url":"https://api.github.com/users/blueyed/events{/privacy}","received_events_url":"https://api.github.com/users/blueyed/received_events","type":"User","site_admin":false},"created_at":"2018-06-07T21:46:55Z","updated_at":"2018-06-07T21:46:55Z","author_association":"CONTRIBUTOR","body":"Thanks for the report, https://github.com/pytest-dev/pytest-django/pull/610 should fix it."}}
{"actor":{"display_login":"blueyed"}}