How many ways can django import a module?
Grep is hard for this.
In .py files
"import (.*)\..*"
"from (.*)\..* import .*"
"patterns\(['"](.*)['"]"
"url(r?['"].*, ['"](.*)"
In INSTALLED_APPS and other settings.
Am I missing any? Better question: Why do I have to wonder if I'm missing any?
Grep is hard for this.
In .py files
"import (.*)\..*"
"from (.*)\..* import .*"
"patterns\(['"](.*)['"]"
"url(r?['"].*, ['"](.*)"
In INSTALLED_APPS and other settings.
Am I missing any? Better question: Why do I have to wonder if I'm missing any?