Hi Andreas,

My rule of thumb is "does this works without the other?" Do your customer
app works without the booking app? Then they are two different apps, with
the second using the first as dependency.

But, then again, I had some people suggesting this wasn't good enough (for
deployment reasons, IIRC). I still use on my personal projects, though.

On Thu, Feb 22, 2018 at 5:44 AM, Cictani <andreas.weg...@gmail.com> wrote:

> Hi,
>
> I'm just beginning developing a new app(s) and I'm wondering when I need
> to add a new app. if one app uses models from another app is that a hint
> that these two apps are acutally one app or is this still ok in terms of
> good design?
>
> Let's say I have a customer app (with customer models, admins etc) and a
> booking app which of course uses the customer model. Would it be good to
> have two apps or would it be actually only a booking app which includes all
> the models, logic etc from the customer app?
>
> Thanks in advance
>
> Andreas
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@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/65aac79d-064f-4142-96e0-4f9592cd6862%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/65aac79d-064f-4142-96e0-4f9592cd6862%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Julio Biason*, Sofware Engineer
*AZION*  |  Deliver. Accelerate. Protect.
Office: +55 51 3083 8101 <callto:+555130838101>  |  Mobile: +55 51
<callto:+5551996209291>*99907 0554*

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/CAEM7gE219JrG0p8qeOtRQqL-kd19hPMFvy%3DxHfrkeVVH%2BqLGLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to