Saturday, January 12, 2013

Re: What's your opinion about nested apps?

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


Real Estate