On Tue, 2006-08-15 at 20:42 -0700, [EMAIL PROTECTED] wrote:
[...]
> project/
>       main/
>               models.py
>               views.py
>       app1/
>               views.py
>       app2/
>               views.py
>       utilities/
>               __init__.py (utility functions)
>       macros/
>               a.py
>               b.py
>               ...etc
>       middleware/
>       context_processors/
>       templates/
>               base.html
>               main/
>                       ...
>               app1/
>                       ...
>               app2/
>                       ...
> 
> Basically just trying to split it all up into sensible sub-units. I've
> even toyed with moving models.py up a level as it's not really "main"
> material, but it's common to all of the applications.

I suspect there will be technical/sanity reasons why that will be a bit
tricky. We expect "models" to be under an application directory (one of
the applications you mention in the INSTALLED_APPS list). So if you
lifted models.py up a directory, you would need to list your project/
directory in its own INSTALLED_APPS list.

Cheers,
Malcolm




--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to