Database migrations

2016-03-04 Thread raoul
e way to go, because if you are doing this in PROD you will loose all your data. I don't get the logic behind this. Some of you must have experience with making major change to you PROD web application. How did you made sure all the data is preserved? Cheers, Raoul -- You received thi

Re: variable to a template

2016-03-02 Thread raoul
Hi Luca, Did {{ a }} solve the problem? Cheers, Raoul On Wednesday, March 2, 2016 at 2:12:46 PM UTC+1, luca72 wrote: > > Thanks now it works > > Luca > > Il giorno mercoledì 2 marzo 2016 14:05:24 UTC+1, Andreas Schosser ha > scritto: >> >> Hi Luca, &g

Re: Need help with custom search using admin queryset

2012-01-20 Thread Raoul
Is there nobody using such extended search functions in Django? Does anyone have a similar method for filtering querysets before returning to admin result list? Thanks for any hint! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to th

Need help with custom search using admin queryset

2011-12-14 Thread Raoul
ize, when I dig into a result with e.g: print qs[0].__dict__ I have for all results the same model. In the admin UI, I can see near the search button "0 results (19 total)". What am I missing? Maybe someone can help me to find the error. I am running trunk version due to the new SimpleL

Localization without translation

2011-10-27 Thread Raoul
Hi, is it possible to have localization available without translation? I've tried to figure this out without much success. What I did was removing the default LANGUAGE_CODE so that Django has to check HTTP_ACCEPT_LANGUAGE header. After that I set USE_I18N = False in my settings and leave USE_L10N

Re: django.core.cache._cache error in returning dict

2011-02-12 Thread Raoul
Hi Tom, thanks for your remarks, this was the explication I was lookiing for to not submit a bug report. I'm aware that I use private lookups, as in the public API I don't see a dump all. With my current implementation I'm able to run what I need. Cheers, Raoul -- You receiv

django.core.cache._cache error in returning dict

2011-02-11 Thread Raoul
kle.dumps(cache._cache) to serialize the output and download to my Cacti server to have some nice graphs, but instead I had to use something like: map = {} for key in cache._cache.keys(): map[key] = cache.get(key) # Serialise map stats = pickle.dumps(map) If more people share my opinion,