I would like to know what is the best import strategy in applications for reusing django.
Say I have an application called usefulapp. In my application, I need to access, say, models. Should I use explicit import like:
import usefulapp.models
or just, since I'm inside this application, I could use:
import models
Which one is recommended?
Are there any flaws in using the second approach?
source
share