Re: 5-for-1?

2011-06-18 Thread Stephen Burrows
Thanks for having a look at the ticket. I'd be happy to rewrite the patch to include **kwargs support, if that's what people want. However, there's no precedent in django for a tag accepting args *and* kwargs (that I am aware of.) What would the syntax look like? {% simple_tag arg1 arg2 with hi="l

Re: Javascript Testing

2011-06-18 Thread Justin Holmes
A javascript testing framework is most desirable. Thanks for your work so far - what can we do? On Sat, Jun 18, 2011 at 8:15 PM, Julien Phalip wrote: > Hi Sean, > > On Jun 18, 4:24 am, Sean Bleier wrote: >> Hello everyone, >> >> A couple months ago I started work on a django branch [1] (with th

Re: Javascript Testing

2011-06-18 Thread Julien Phalip
Hi Sean, On Jun 18, 4:24 am, Sean Bleier wrote: > Hello everyone, > > A couple months ago I started work on a django branch [1] (with the help of > @jezdez) that introduces a framework for writing javascript unit tests using > QUnit[2].  I started with QUnit because Django already included jQuery

Re: Removal of DictCursor from raw query.. why??

2011-06-18 Thread Cal Leeming [Simplicity Media Ltd]
Hi all, I've created a ticket for this to get a final decision and feedback: https://code.djangoproject.com/ticket/16293 Cal On Fri, Jun 17, 2011 at 6:53 PM, akaariai wrote: > On Jun 17, 8:02 pm, Ian Kelly wrote: > > The thing is, this is a DB API snippet, not a Django snippet > > specifica

Re: Template Engine Compilation and Runtime Refactoring Progress

2011-06-18 Thread Armin Ronacher
Hi, On Jun 17, 2:18 pm, Anatoly Vostryakov wrote: >   I've thought today. May be it will possible to add support of > parameters for functions or object methods in django templates. > I mean, something like this in django template: The compiler is able to handle this case, but the syntax of the D

Re: 5-for-1?

2011-06-18 Thread Sam Bull
Hey, I've got a reusable app that offers the functionality you're looking for, I think. I just commented on the ticket, so I hope this doesn't count as double-posting, but you can check it out here: https://github.com/trapeze/fancy_tag It's got unit tests, keyword argument support (like the ne

Re: Javascript Testing

2011-06-18 Thread Luke Plant
Hi Sean, > A couple months ago I started work on a django branch [1] (with the help > of @jezdez) that introduces a framework for writing javascript unit > tests using QUnit[2]. I started with QUnit because Django already > included jQuery in the admin and seemed like a natural extension, but it

Re: Logging configuration and handle_uncaught_exception

2011-06-18 Thread Vinay Sajip
On Jun 17, 1:48 pm, Matt Bennett wrote: > > This is a case for a custom Filter object [1]. The filter object > > implementation would only be a few lines, to reject logging when DEBUG > > is True, and can be attached to the admin email handler in the default > > logging configuration. [2] This way

Re: 5-for-1?

2011-06-18 Thread Jannis Leidel
On 18.06.2011, at 03:38, Stephen Burrows wrote: > I would love it if someone could look at 13956 [1] > > [1] http://code.djangoproject.com/ticket/13956 I'd like to repeat my concerns from the ticket that it seems odd to extend the helper tags with support for *args but leaving out **kwargs. If t

Re: 5-for-1?

2011-06-18 Thread Julien Phalip
On Jun 18, 11:38 am, Stephen Burrows wrote: > I would love it if someone could look at 13956 [1] RFC'd, thanks ;) Julien -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.