Adding a title option to ModelAdmin.list_filter

2020-05-03 Thread Philipp DC
Hey, I recently took over a ticket regarding adding a title option to list_filter and I would like to hear your opinion on how the API for this should look like. The idea of this ticket

Re: Can you add a build-in template tags?

2009-10-18 Thread dc
Please read documentation http://docs.djangoproject.com/en/dev/ref/templates/builtins/#ssi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to

Re: shortcut proposal

2009-10-15 Thread dc
Note that there is another way: direct_to_template(request, 'template_name.html', context) But i think that fixing render_to_response is good idea. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: 1.2 Proposal: Extra template tags and filters

2009-08-11 Thread dc
> This leads naturally to pretty scare feature creep. If we have > startswith, why not ifendswith? ifcontains? ifdoesntcontain? > ifcontainssomewhereinthemiddleafterthethirdcharacter? Jacob, there is a ticket for ifin and ifnotin tags in DDN state [1]. Maybe it's time to close it in favour of

Re: 'week_day' starting with sunday as first day of a week need to be fixed

2009-03-06 Thread dc
Just my two cents. There is at least one other part of the framework which considers Sunday as the first day: django.utils.dateformat.DateFormat (and hence some template tags). Personally i find it annoying but at least this behaviour is consistent over the framework and that's good.

Re: MarkupField

2009-02-23 Thread dc
> * it removes the ability to provide multiple markup_types on a given field No if properly implemented. Again, see FileField upload_to for example. > * what is unpythonic about taking in two extra parameters to customize the > field? All markup functions take different arguments. Also

Re: MarkupField

2009-02-23 Thread dc
I think you are trying to do too many things in one place. Better concern on storing and retrieving formatted data but not on loading and configuring markup functions. Accept markup_func as argument and call it when saving. User will load markup function that he wants, and will configure it as he

Re: Make django debug page simple when develop ajax page(with firebug)

2008-12-03 Thread dc
> I think we can have a configure key in settings in the future. The > developers can choose which style of debug page to use, by which type > application they're developing. Have you tried DEBUG_PROPAGATE_EXCEPTIONS [1]? [1]

Re: Proposal: Optional {% default %} clause for the {% for %} template tag

2008-10-30 Thread dc
How about {% for item in items %} {% otherwise %} {% endfor %} form? And -1 for the {% else %}. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to