On 11/29/06, Mikko Suniala <[EMAIL PROTECTED]> wrote:
>
>
> I did a quick search but found nothing about this issue. I have splitted
> my models across multiple files as described in
> http://code.djangoproject.com/wiki/CookBookSplitModelsToFiles. The manager
> action "sqlinitialdata" did not seem to find my sql files. After some
> investigation I found out that the manager application is searching for
> files with a path like <appname>/models/sql/<modelname>.sql rather than
> <appname>/sql/<modelname>.sql (as is the case when a single model file
> (models.py) is used).
>
> Is this a bug or is it just me?


Sounds like a bug in the way that manage.py discovers the module in which
the sql files are located. This is entirely possible, as the 'split models
across files' approach isn't the common use case for Django models.

Yours,
Russ Magee %-)


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to