Hi,
I have one question regarding the set of cookie when we return http
204 code in the http response.
If I set the response status code as 204 and also set the cookie in
the response header, will the cookie be set on the client side or will
this fail and get ignored by the browsers? Any
Has django been designed to take advantage of multicore machine? Is
there a way to boost the performance of a django server on multicore
machine? Any thoughts? Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hi,
Has anyone had the experience to deploy django apps to multiple
servers to increase serving capacity? Is there any references or best
practice documents we could refer to?
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Hi,
My form always gets is_valid() as False. Some validation is wrong.
Is there any error message I could dump from form or form.cleaned_data
to understand why is_valid() is always false?
thanks.
--~--~-~--~~~---~--~~
You received this message because you are
Hi,
I have to load lots of float numbers into my html pages in list or
list of list format. Even though django template allows me to use a
filter to control the precision of float numbers it is still a pain.
So are the use of "%.2f" each to dump the float numbers.
Does anyone know whether
hi,
i pass in one list of list into my template and want to iterate the
list in template language. for example, list1 = [ [1,2], [3,4] ]
initially i thought of using:
{% for a in list1 %}
a[0]a[1]
{% endfor %}
but i received this error:
Could not parse the remainder: '[0]' from 'a[0]'
any
Hi,
I defined a form to load data from HttpRequest in views.py. For the
same function, sometimes, I need to pass a POST request while some
times I need to pass in a GET request.
For POST, I used
MyForm(request.POST)
to load the data and it works well.
For GET method, MyForm(request.POST)
is there an easy way to control the precision for float values? for
example, i have this in my template:
where float p = 0.1234123413 but i only want to show p with 3 digits
after dot like 0.123. is there a predefined way to control the
precision in the rendering of template instead of having
Hi,
I am using the latest django development version and have some problem
with the render_to_response to render a template. Here is a short
snippet:
return render_to_response('index.html', {
'form': form,
'ops' : ops,
})
form comes from a newly defined data form
9 matches
Mail list logo