title: App Engine Python: AttributeError: 'module' object has no attribute 'Stock'
body: <p>I am getting this error just in production. On localhost it works well.</p>
  
  <pre><code>Traceback (most recent call last):
    File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 701, in __call__
      handler.get(*groups)
    File "/base/data/home/apps/s~ordenaacoes/2.357768699674437719/controllers/mainh.py", line 74, in get
      'stocks': goodStocks(),
    File "/base/data/home/apps/s~ordenaacoes/2.357768699674437719/controllers/mainh.py", line 108, in goodStocks
      goodStocks = memcache.get("goodStocks")
    File "/base/python_runtime/python_lib/versions/1/google/appengine/api/memcache/__init__.py", line 574, in get
      results = rpc.get_result()
    File "/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 592, in get_result
      return self.__get_result_hook(self)
    File "/base/python_runtime/python_lib/versions/1/google/appengine/api/memcache/__init__.py", line 639, in __get_hook
      self._do_unpickle)
    File "/base/python_runtime/python_lib/versions/1/google/appengine/api/memcache/__init__.py", line 271, in _decode_value
      return do_unpickle(value)
    File "/base/python_runtime/python_lib/versions/1/google/appengine/api/memcache/__init__.py", line 412, in _do_unpickle
      return unpickler.load()
    File "/base/python_runtime/python_dist/lib/python2.5/pickle.py", line 852, in load
      dispatch[key](self)
    File "/base/python_runtime/python_dist/lib/python2.5/pickle.py", line 1084, in load_global
      klass = self.find_class(module, name)
    File "/base/python_runtime/python_dist/lib/python2.5/pickle.py", line 1119, in find_class
      klass = getattr(mod, name)
  AttributeError: 'module' object has no attribute 'Stock'
  </code></pre>
  
  <p>Stock is one class of my models. I tested with python 2.5 on localhost too.</p>
  
  <p>The line that gives the error is the access to memcache (get function).<br>
  I have changed the project and maybe the type of the data I put in memcache is different.  Do I have some way to clean the data on memcache?</p>
  
  <p>Any idea?</p>