Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: use "db" with "live_server", not "transactional_db" #221

Closed
wants to merge 1 commit into from

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Mar 19, 2015

"transactional_db" is slower and has drawbacks. Using "db" instead
seems to work.

See also https://code.djangoproject.com/timeline?from=2014-10-13T05%3A15%3A40-05%3A00&precision=second.

@blueyed
Copy link
Contributor Author

blueyed commented Mar 19, 2015

It is required after all.. but I've found some local tests that obviously don't need it.

@blueyed blueyed closed this Mar 19, 2015
@blueyed
Copy link
Contributor Author

blueyed commented Mar 20, 2015

FWIW, it might be possible for/with SQLite's in-memory-db, which then used connection.allow_thread_sharing.

Might be worth to improve it for this case, which appears to be often used in tests.

@blueyed blueyed reopened this Mar 20, 2015
@landscape-bot
Copy link

Code Health
Code quality remained the same when pulling 0569b70 on blueyed:use-db-with-live_server into 1e72766 on pytest-dev:master.

@blueyed
Copy link
Contributor Author

blueyed commented May 8, 2015

Closing this for now.

@blueyed blueyed closed this May 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants