title: Error importing module
body: <p>I'm developing an application using django 1.2 on Google-app-engine (SDK 1.7.5). When I test the application locally using the dev_appserver it works, and it works also when I upload it on Google's servers. The problem is that the application doesn't work if I try with a newer SDK (I tried version 1.8.0) locally.
  This is the error reported: </p>
  
  <blockquote>
    <p>ImproperlyConfigured: Error importing middleware
    authentication.middleware: "No module named authentication.models"</p>
  </blockquote>
  
  <p>In MIDDLEWARE_CLASSES I import:</p>
  
  <blockquote>
  <pre><code>'authentication.middleware.AccessFilterMiddleware'
  </code></pre>
  </blockquote>
  
  <p>that I've developed. The problem is that inside that module I import "models" that is in the root directory (the folder in which is contained the authentication package), but it tries to search it inside authentication package. I've also tried to use</p>
  
  <pre><code>import .. models
  </code></pre>
  
  <p>but in that case the error thrown is:</p>
  
  <blockquote>
    <p>ValueError: Attempted relative import beyond toplevel package</p>
  </blockquote>
  
  <p>Thank you</p>