Discussion:
Shared code best practices
pratibha sharma
2018-11-26 14:31:34 UTC
Permalink
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?
--
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.
Saurabh Agrawal
2018-11-26 14:47:54 UTC
Permalink
Hi

The can be kept in independent modules which can then be imported in
various apps. At least that's what I do. :-)
Post by pratibha sharma
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?
--
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
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
<https://groups.google.com/d/msgid/django-users/618d8976-9bae-426e-a27a-5bba06bf70e1%40googlegroups.com?utm_medium=email&utm_source=footer>
.
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+***@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/CAL1UH0ufn1zer%3DEafmfBsPKk446Vvng-gcTXCBvHn4Fv7HKWVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...