Thanks guys, I appreciate it.
On Oct 2, 3:29 am, bruno desthuilliers <[EMAIL PROTECTED]>
wrote:
> On 2 oct, 07:33, Travis Parker <[EMAIL PROTECTED]> wrote:
>
> > Instead of calling render_to_response on an empty template file you
> > could simply return an empty django.http.HttpResponse and avoid
On 2 oct, 07:33, Travis Parker <[EMAIL PROTECTED]> wrote:
> Instead of calling render_to_response on an empty template file you
> could simply return an empty django.http.HttpResponse and avoid the
> templating system overhead.
>
> I would generally send *something* in the response, even if just
Instead of calling render_to_response on an empty template file you
could simply return an empty django.http.HttpResponse and avoid the
templating system overhead.
I would generally send *something* in the response, even if just
{"success": true}, to leave space for specific error reporting later
Hi everyone,
I have a view to do some re-ordering of a list via ajax:
@staff_member_required
def reorder(request):
collections = Collection.objects.all()
if request.method == 'POST':
pk_ids = request.POST['pk_ids'].split(',')
length = len(pk_ids)
for collection
4 matches
Mail list logo