﻿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
19358	About Loading Initial SQL Data	rsc_maceio@…	nobody	"from documentation:

''Django just looks for a file called sql/[modelname].sql, IN YOUR APP directory, where [modelname] is the model's name in lowercase''.

But this doesn't work when the models lives in app's subfolders. 

Ex:Project ""CMS"", App ""Blog"", models subfolder: ""models""
Model Person: /blog/models/person.py

Custom Initial SQL:
/blog/sql/person.sql doesn't work.

BUT:
/blog/models/sql/person.sql works fine. Like this:

''Django just looks for a file called sql/[modelname].sql, in your MODELS APP directory, where [modelname] is the model's name in lowercase''.


Sorry for by bad english, I hope that it's clear."	Bug	closed	Documentation	1.4	Normal	duplicate			Unreviewed	1	0	0	0	0	0
