Thank you, Mike, that’s helpful!
On Aug 9, 2015, at 7:42 PM, Mike Dewhirst <mi...@dewhirst.com.au> wrote: > On Monday, August 10, 2015 at 8:34:28 AM UTC+10, Nan wrote: > Hi everyone -- > > I'm building a project that allows users to create mailing lists. In order > to create a mailing list, you must first create an account; in order to join > a mailing list, you don't have to have an account. Accounts are handled by > one Django app and mailing lists and list membership by another. > > However, creating an account and signing up for a mailing list both share > similar functionality in that in both cases you receive an email asking you > to confirm your email address/opt-in, and then another email confirming your > signup once you've validated. > > I'm torn on whether to handle this logic separately in the accounts and > mailing lists apps, vs. a third module that both use. If it makes a > difference, neither of these apps is intended to be pluggable -- they're > highly customized for a very specific business case. > > Eventually you want a library you can call from each app. I would start with > that in mind and write two apps exactly as they should be then refactor > commonly used functionality out into into that library. > > Mike > > > Any thoughts about how to approach this decision? > > Thanks! > Nan > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Django users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/django-users/7-AaBdaNznw/unsubscribe. > To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/f67f6abf-e0b9-40c5-b4be-71d1a1d7f7e8%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/00A698BE-0829-40BA-8332-9967F50307F6%40gmail.com. For more options, visit https://groups.google.com/d/optout.