[Django]-Any benefits of turning libraries for Django into an App?

2👍

You’ll have to make it an app if you want to provide templates, template tags or filters with your library. Otherwise, Django won’t pick them up.

1👍

In my opinion, there is no benefits for middleware and decorators. My rule of thumb: If it has a model and/or views, I’ll make it an app..

Even for custom template tags I chose to make it an egg and import it into the apps that will be using it.

Good question.

0👍

IMO it’s handy to instantly see the list of used apps/libraries- if you miss anything, you can just pip install or easy_install it in the blink of an eye.

👤fest

Leave a comment