Re: Django clustering - How to manage Image uploading

2015-09-09 Thread nsbk
Or set up an NFS share if you don't want to rely on third party services https://help.ubuntu.com/14.04/serverguide/network-file-system.html On Wednesday, 9 September 2015 13:54:46 UTC+2, Gabriele Morgante wrote: > > Hi, > > I developed a Django 1.8.4 webapp and now I've to deploy it in production

select_related() estrange behaviour

2013-02-14 Thread nsbk
Hi, I am using select_related in a loop in order to reduce database hits. The weird thing is that I get a different result set when using select_related(); This is not the actual code, but a simple example that illustrates the problem: >>> rr = > RouteTableRangeProvider.objects.filter(routeta

Display related field in queryset

2010-12-13 Thread nsbk
Hello, I'm using http://code.google.com/p/django-jqgrid/ to display grids into a Django application. Since I'm pretty new to Django I don't know how to tell Django to retrurn the value of the related field instead of the id of the related field. What I do now is: travels = Travel.objects.values('d

Re: Makemessages with Templates - Not Working

2010-10-04 Thread nsbk
is that I edit django.po to complete the translation and then issue compilemessages again. Even it works, the translation is not showing up on the application. Am I missing something? If I issue the commands from the root of my project, django.po is not created anywhere. Thanks, nsbk On Sep 27