﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27078	"Simplify ""if"" logic inside SQLite's DatabaseCreation._get_test_db_name()"	Chris Jerdonek	Chris Jerdonek	"This ticket is to simplify the ""if"" logic inside the SQLite backend's `DatabaseCreation._get_test_db_name()` method somewhat. [https://github.com/django/django/blob/ff445f4c19a0fdf6696c99efefa38b1409b8709f/django/db/backends/sqlite3/creation.py#L12 Here] is a link to the method implementation.

The logic can be simplified by, for example, (1) eliminating the need to nest the ""if"" blocks twice, and (2) having the `return ':memory:'` code path be handled by the same code path as `return test_database_name`.
"	Cleanup/optimization	closed	Database layer (models, ORM)	dev	Normal	fixed			Accepted	0	0	0	0	0	0
