Is a good practice to put app inside another?

15 views
Skip to first unread message

Neto

unread,
Jun 3, 2016, 8:37:56 PM6/3/16
to Django users
My project has several apps, some of them depend on others, it is ok to add for example 3 apps within another app?

Carl Meyer

unread,
Jun 3, 2016, 10:51:57 PM6/3/16
to django...@googlegroups.com
On 06/03/2016 01:37 PM, Neto wrote:
> My project has several apps, some of them depend on others, it is ok to
> add for example 3 apps within another app?

Yep, there's nothing wrong with this. An "app" is just a Python package;
nesting Python packages to achieve a logical grouping/hierarchy is a
perfectly reasonable thing to do.

Carl

signature.asc

Luis Zárate

unread,
Jun 4, 2016, 12:03:44 AM6/4/16
to django...@googlegroups.com
Django contrib is a good example of how put app inside other package.
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/575209E6.6080709%40oddbird.net.
> For more options, visit https://groups.google.com/d/optout.
>

--
"La utopía sirve para caminar" Fernando Birri



Reply all
Reply to author
Forward
0 new messages