python:inspect.getmembers to locals() vs import
<p>in django, instead of </p>

<pre><code>from app.models import xxx,xxx,xxx
</code></pre>

<p>I can</p>

<pre><code>from app import models as app_models
for name,value in inspect.getmembers(app_models, predicate=inspect.isclass):
    locals()[name] = value
</code></pre>

<p>Does this has any drawbacks? what's the difference between these two pattern?</p>
