{"action":"created","issue":{"url":"https://api.github.com/repos/pytest-dev/pytest-django/issues/189","labels_url":"https://api.github.com/repos/pytest-dev/pytest-django/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/pytest-dev/pytest-django/issues/189/comments","events_url":"https://api.github.com/repos/pytest-dev/pytest-django/issues/189/events","html_url":"https://github.com/pytest-dev/pytest-django/issues/189","id":52966934,"number":189,"title":"Django 1.8 Support","user":{"login":"DavidMuller","id":4778701,"avatar_url":"https://avatars.githubusercontent.com/u/4778701?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidMuller","html_url":"https://github.com/DavidMuller","followers_url":"https://api.github.com/users/DavidMuller/followers","following_url":"https://api.github.com/users/DavidMuller/following{/other_user}","gists_url":"https://api.github.com/users/DavidMuller/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidMuller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidMuller/subscriptions","organizations_url":"https://api.github.com/users/DavidMuller/orgs","repos_url":"https://api.github.com/users/DavidMuller/repos","events_url":"https://api.github.com/users/DavidMuller/events{/privacy}","received_events_url":"https://api.github.com/users/DavidMuller/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-12-27T21:58:44Z","updated_at":"2015-01-02T20:45:13Z","closed_at":"2015-01-02T12:20:13Z","body":"Do you guys have a preliminary plan for supporting [Django 1.8](https://code.djangoproject.com/wiki/Version1.8Roadmap)?  \r\n\r\npytest-django is throwing:\r\n```python\r\n Failed: Database access not allowed, use the \"django_db\" mark to enable\r\n``` \r\nall over the place for Django 1.8 builds of Django Rest Framework (see [failed build example](https://travis-ci.org/tomchristie/django-rest-framework/jobs/45205560)).\r\n\r\nI was also having trouble getting even a simple project going (see [repository](https://github.com/DavidMuller/pytest_django_failure)):\r\n```python\r\nfrom django.test import TestCase\r\n\r\nclass FirstTestClass(TestCase):\r\n    def test_one(self):\r\n        self.assertEquals(0, 0)\r\n```\r\n\r\n```python\r\npython manage.py test\r\n\r\nCreating test database for alias 'default'...\r\n.\r\n----------------------------------------------------------------------\r\nRan 1 test in 0.000s\r\n```\r\n\r\nSame test fails with `py.test`:\r\n```python\r\n../../Envs/failure/lib/python2.7/site-packages/django/db/backends/__init__.py:151: in _cursor\r\n    return self.create_cursor()\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \r\n\r\nself = <django.db.backends.sqlite3.base.DatabaseWrapper object at 0x104f24ad0>\r\n\r\n    def create_cursor(self):\r\n>       return self.connection.cursor(factory=SQLiteCursorWrapper)\r\nE       ProgrammingError: Cannot operate on a closed database.\r\n\r\n../../Envs/failure/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py:425: ProgrammingError\r\n================================================================== 1 error in 0.17 seconds ===================================================================\r\n\r\n```\r\n\r\nI believe the Django 1.8 feature freeze is Jan 12th."},"comment":{"url":"https://api.github.com/repos/pytest-dev/pytest-django/issues/comments/68560698","html_url":"https://github.com/pytest-dev/pytest-django/issues/189#issuecomment-68560698","issue_url":"https://api.github.com/repos/pytest-dev/pytest-django/issues/189","id":68560698,"user":{"login":"DavidMuller","id":4778701,"avatar_url":"https://avatars.githubusercontent.com/u/4778701?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidMuller","html_url":"https://github.com/DavidMuller","followers_url":"https://api.github.com/users/DavidMuller/followers","following_url":"https://api.github.com/users/DavidMuller/following{/other_user}","gists_url":"https://api.github.com/users/DavidMuller/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidMuller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidMuller/subscriptions","organizations_url":"https://api.github.com/users/DavidMuller/orgs","repos_url":"https://api.github.com/users/DavidMuller/repos","events_url":"https://api.github.com/users/DavidMuller/events{/privacy}","received_events_url":"https://api.github.com/users/DavidMuller/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T20:45:13Z","updated_at":"2015-01-02T20:45:13Z","body":"Wow, thanks for such a quick fix. I am not near my machine at the moment, but will be there later today and can try it out. "}}