﻿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
2982	[patch] allow replacing models.py with a subpackage models/__init__.py	Bastian Kleineidam <calvin@…>	nobody	"Hi,

if you have a lot of models, or even a model hierarchy, one might want to convert the plain models.py into a package models/!__init!__.py.
However, the !ModelBase class cannot cope with models in subpackages, since it always chooses the second-last module part as app name. This patch fixes this by looking for the module part before ''models''.
"	enhancement	closed	Database layer (models, ORM)		normal	duplicate		ferringb@…	Accepted	1	0	1	1	0	0
