Hi,

I think this question is more suitable with StackOverflow, and I noticed
you already posted a question there.
http://stackoverflow.com/questions/13914983/is-gae-memcache-intended-to-work-with-django-1-4-correcly

Let's keep the conversation for this question on StackOverflow.

Thanks,


On Tue, Dec 18, 2012 at 9:12 AM, <[email protected]> wrote:

> I am not sure whether this is the correct place to post such kind of
> question, but still.
>
> I am working on a project written with use of Django framework and
> running on GAE instances. It also uses Google's memcache as a default
> cache backend. This project was developed with use of Django 1.3 and it
> works on it nicely. But recently we tried to run our project on Django 1.4
> and run into a strange exception: argument of type 'Client' is not
> iterable.
>
> The reason for this exception lies in 
> this<https://github.com/django/django/commit/c11f9c3193901215ec79732af6ab6c66b3c1c2ba#L0R31>
>  commit.
> Here are two lines that have been added since Django 1.3:
>
>     if (KEY_PREFIX + session_key) in cache:
>         return True
>
> These lines assume that cache object is iterable. Cache object itself is
> an instance ofgoogle.appengine.api.memcache.Client class as specified in
> project's settings.py. This class indeed does not provide an iterable
> interface.
>
> So my question: how is (if it is) memcache supposed to work with Django
> 1.4?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/CzTGLvr80cgJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>



-- 
Takashi Matsuo | Developers Advocate | [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to