Re: [New feature request] Prefer:Safe request header

2014-07-23 Thread Matthew Lauber
Possibly, write it up as a decorator? On Wed, Jul 23, 2014 at 9:05 AM, wrote: > Florian, thank you for your answer. > I'm totally fine with Request.META['prefer'], it seems to be a > straightforward solution. However, checking this dictionary in each view > that supports this feature and also a

Re: Proposal: Write unit tests for JavaScript

2014-04-17 Thread Matthew Lauber
Regarding running javascript tests, could we consider something like rhino? Just an off the top of my head suggestion. Would avoid node.js, not sure if it's an improvement though. Matt Lauber On Wed, Apr 16, 2014 at 9:20 PM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > > On Thu, Ap

Re: Proposal: ./manage check to look for models.BooleanField() without default= value.

2013-08-08 Thread Matthew Lauber
Maybe do this only for 1.6/1.7 to give a grace period to the change? On Thu, Aug 8, 2013 at 1:25 PM, Collin Anderson wrote: > The new ./manage check command is for helping people upgrade to a new > version of django. > https://docs.djangoproject.com/en/dev/ref/django-admin/#check > > django1.6 ch

Re: Proposal: Modifying the CSRF protection scheme

2013-07-29 Thread Matthew Lauber
As I understand (a), it sounds like an excellent scheme, and something that would be simple to update behind the scenes without unduly affecting application code. I'm more ambivalent about (b). Have you or anyone else started work on a patch/pull-request for this? On Sat, Jul 27, 2013 at 7:12