Shared code best practices

19 views
Skip to first unread message

pratibha sharma

unread,
Nov 26, 2018, 9:31:34 AM11/26/18
to Django users
Hi,

I have some functions which are used by multiple apps in my codebase.

Functions are like send email, custom exception etc.

Is there any best practices for keeping shared code?

Saurabh Agrawal

unread,
Nov 26, 2018, 9:48:42 AM11/26/18
to django...@googlegroups.com
Hi

The can be kept in independent modules which can then be imported in various apps. At least that's what I do. :-)

--
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/618d8976-9bae-426e-a27a-5bba06bf70e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages