On 7/12/07, LaundroMat <[EMAIL PROTECTED]> wrote:
...
> I don't exactly see what you'd want to do this though. It's a lot
> easier to stick to the standard.

Perhaps he's using a source control system with pessimistic locking.

So, yeah, you can do this:

app_dir/
  models.py -> "from sub_model import *"
  sub_model.py -> define some models here.

The important thing, though, is that your models need to be accessible
as app_dir.models.*; Django makes that pathing assumption right now.
There's some desire, but no urgency, to remove that limitation.

For now, just use import *.  :)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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