If I have 2 Django apps, how could I share a common library between both? I was thinking about a third library project, that I shortcut to in the other 2 projects locally, & on production replace the shortcut with the whole Library folder. would something like this work? and if so, how would I switch out the shortcut for the actual folder on release?
I reckon you want to share code among apps on different servers.
There are 2 methods you can use to achieve that:
Publishing to PyPI:
Read and follow this article
Use it from your github:
Follow the above(Publishing to PyPI) article till the publishing part. After that follow this article.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With