Re: Weird problem in common_settings include

2012-12-13 Thread florian iragne
Ok, i've get rid of my "special" mobile_manage.py and pass the --settings option when i start the fcgi process (i use nginx+fcgi, no mod_wsgi). Using manage.py, with each settings file, i can verify that the INSTALLED_APPS is correct and complete. However, i still get the error any idea? th

Re: selecting an item whose relations are all in some desired set

2016-05-17 Thread Florian Iragne
Le 17/05/2016 16:18, David Xiao a écrit : Hi Florian, That's technically correct, but the universe of all possible items might be very large or even infinite so it's not really practical to do it that way. I understand, but i don't now your case precisely. In my case, i do this for a few t

cache.get_or_set : function name is misleading

2016-08-31 Thread Florian Iragne
Hi, I wanted to refactor my code using cache.get_or_set instead of using cache.get and then check for None and so on However, after a few tests, it seems that get_or_set does not work as its name suggests: it is more get_or_add than get_or_set Looking at the source code, it indeed does a ge