title: Relative import in Django
body: <p>I am currently developing a client/server application. Client and server are both Django projects.</p>
  
  <p>I would like to import client models in the server application. Here is the arborescence of my files :</p>
  
  <pre><code>client/
      fileapp/
          __init__.py
          models.py
          ...
      client/
          __init__.py
          ...
      manage.py
  
  server/
      fileapp/
          __init__.py
          views.py
          ...
      server/
          __init__.py
          ...
      manage.py
  </code></pre>
  
  <p>I would like in my server project, import client/fileapp/models. I try to do this with Django shell and make relative import with that instruction :</p>
  
  <pre><code>&gt;&gt;&gt; from ..client.fileapp.models import *
  Traceback (most recent call last):
    File "&lt;console&gt;", line 1, in &lt;module&gt;
  ImportError: No module named client.fileapp.models
  </code></pre>
  
  <p>I also try to append the client path to sys.path but it doesn't work either. If you know how to do kind of that mechanism, please tell me.</p>
  
  <p>Thank you.</p>