Re: What's your opinion about nested apps?
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 <sssbox@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).--To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/XOwYE_Yj9vQJ.
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+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home