Re: [GSoC] Switching to Jinja2 proposal

2014-02-12 Thread Gwildor Sok
There are a few problems with Christian's assumptions: * Not everyone uses a JS Framework. Personally, we use a lot of static pages, and when we do want to do some fancy stuff, we use pjaxto replace content on the page, but in the backend this is still do

Re: bootstrap default admin theme

2014-02-12 Thread Gwildor Sok
This looks pretty slick. The styling the admin uses currently really needs an update, and in that way this project could be a really nice boost and/or contribution. I'm not entirely sure however that having Bootstrap as a major dependency is the way to go. Perhaps it's better to keep it a bit s

Re: allow list_display in admin to traverse onetoonfields and foreign key relations

2014-02-26 Thread Gwildor Sok
Personally I usually use lambda's, which saves another line of code: class ChoiceAdmin(admin.ModelAdmin): question__text = lambda s, o: o.question.text list_display = ('pk', 'question__text', 'choice_text', 'votes') On Wednesday, February 26, 2014 6:49:51 AM UTC+1, Zach Borboa wrote: >

Re: [GSOC] Shifting to Py.Test and Improving the Test Suite

2014-02-27 Thread Gwildor Sok
Personally I'm a big fan of Py.test, simply because it's so simple and Pythonic to use. Simple functions with simple assert statements. That's all. For me this significantly lowers the threshold to write tests and requires less effort, which in the end results in way more tests written in Py.te

Re: Add support for get_or_none?

2014-03-17 Thread Gwildor Sok
Actually, at the moment you can't have a column named "defaults" either if you want to use your model with the current get_or_create function, so naming a keyword argument like that is not that uncommon. On Sunday, March 16, 2014 6:39:47 PM UTC+1, Cal Leeming [Simplicity Media Ltd] wrote: > > S

Re: [GSoC] Switching to Jinja2 proposal

2014-03-23 Thread Gwildor Sok
So, there won't be a GSoC project for this, but it would be a shame to let the lengthy discussion and momentum generated go to waste. Can a decision on this matter be made and implemented regardless of the GSoC projects? Personally, I'm all for it, mostly because of the speed gained, which would

Re: Built-in support for Jinja2 in Django

2014-10-02 Thread Gwildor Sok
It's good to see something happening after the lengthy discussion of last February on this mailing list. Thank you for taking initiative in this. I believe this will be a great addition to make Django even better. On Thursday, October 2, 2014 1:28:01 AM UTC+2, Russell Keith-Magee wrote: > > > On