Re: a question about django admin and language

2016-02-26 Thread Will Harris
Hi Paul, If you want the admin site to behave differently than the main site, you could consider running two instances, one with the i18n activated for the main site, and one for admin users with it disabled. In production, from a security standpoint, it's a good idea to have the admin site run

Re: Debugging DJango app on production for High CPU Usage

2016-02-24 Thread Will Harris
Hey Web Architect, I guess you never got that DB dump running in development? ;-) Why don't you run some profiling middleware to see if you can some traces of the production system? Or how about New Relic or some such? That's pretty good at helping to identify problems spots in your stack. Fin

Re: Handling cookies that contain illegal values

2016-02-05 Thread Will Harris
issue can be fixed without cause security problems > but I'm not sure. Please follow > https://code.djangoproject.com/ticket/26158 and related Python tickets. > > On Friday, February 5, 2016 at 3:13:14 AM UTC-5, Will Harris wrote: >> >> Hey Daniel, >> >>

Re: Handling cookies that contain illegal values

2016-02-05 Thread Will Harris
Hey Daniel, Thanks for the reply. Unfortunately doing this in a custom middleware is not an option, as the this processing needs to take place at a very low level, at the point where the Request object is being built. By the time the request is passed in to the middleware layers for processing,