title: Django/Python: Import once, use everywhere
body: <p>I have the following structure for my <code>views</code> directory.</p>
  
  <pre><code>views
  |--__init__.py
  |--a_management.py
  |--b_management.py
  |--c_management.py
  |--d_management.py
  |--e_management.py
  </code></pre>
  
  <p>and <code>__init__.py</code> starts with the following:</p>
  
  <pre><code>from a_management import *
  from b_management import *
  from c_management import *
  from d_management import *
  from e_management import *
  .........
  ...etc...
  .........
  </code></pre>
  
  <p>In each of the files (<code>a_management.py</code>,<code>b_management.py</code>...) I need to write the same code importing modules:</p>
  
  <pre><code>import sys,os
  from django.shortcuts import render, redirect
  from django.http import HttpResponseRedirect
  .........
  ...etc...
  .........
  </code></pre>
  
  <p>Is it possible to perform all the module imports only in <code>__init__.py</code>? </p>
  
  <p>When I tried, it still seems like the imports are not found and I get errors like: <code>NameError: global name 'sys' is not defined</code></p>