The same reason you'd nest Python modules: the scope of the app is broad or complex enough to justify separating into more discrete components, yet those components are not independent from each other or from the top-level app.
_Nik On 1/12/2013 4:37 PM, Sithembewena Lloyd Dube wrote: > Why does this sort of nesting even occur? Why not use the generic > Django project/ app structure, where you have a project and apps under > a project, instead of apps under other apps? Why would it ever be > necessary to 'nest' apps in other apps? > > On Sat, Jan 12, 2013 at 11:02 PM, Sam Solomon <sss...@gmail.com > <mailto:sss...@gmail.com>> wrote: > > We've not had any trouble and we have a very nested structure: > > project/main_app/sub_apps/ > > project has manage.py, main_app has main urls.py, etc. > > sub_apps have models/views/urls, etc. > > We also have: > > project/main_app/utils/other_apps/ with no issues (and utils and > other_apps both have models, even though utils/models.py may not > have been the best decision). > > Also note that many third party apps do stuff like this too > (django-allauth is one that comes to mind). > -- > You received this message because you are subscribed to the Google > Groups "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/XOwYE_Yj9vQJ. > > To post to this group, send email to django-users@googlegroups.com > <mailto:django-users@googlegroups.com>. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com > <mailto:django-users%2bunsubscr...@googlegroups.com>. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > > > > -- > Regards, > Sithu Lloyd Dube -- > 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 > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.