Hi all.
Is the any way to control upload process (max file size, etc.)? Great
framework but file upload can couse DoS.
For example:
class Account(models.Model):
user = models.OneToOneField(User)
birthday = models.DateField(blank=True, null=True)
icq = models.IntegerField(blank=True,
Adrian Holovaty wrote:
> I'd recommend handling this at the Apache level. See the
> LimitRequestBody directive:
>
> http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestbody
Thanks a lot!
--~--~-~--~~~---~--~~
You received this message because you are sub
Hi. I'm fighting with AJAX-based forms and dev process is stalled
because of such error:
Exception Type: TypeError
Exception Value:
'\xd0\x9e\xd0\xb1\xd1\x8f\xd0\xb7\xd0\xb0\xd1\x82\xd0\xb5\xd0\xbb\xd1\x8c\xd0\xbd\xd0\xbe\xd0\xb5
\xd0\xbf\xd0\xbe\xd0\xbb\xd0\xb5.' is not JSON ser
I use PC with linux. PC laptop is more than twice cheaper than Mac
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscr
The solution is:
return HttpResponse(simplejson.dumps("%s" % errors), 'text/javascript')
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googl
The real solution and patch: http://code.djangoproject.com/ticket/2727/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To uns
6 matches
Mail list logo