Re: Template-based widget rendering

2016-05-16 Thread Carl Meyer
On 05/16/2016 01:48 AM, Claude Paroz wrote: > Le samedi 14 mai 2016 16:03:57 UTC+2, Tim Graham a écrit : > > (...) > > I guess it will affect every project that uses the admin. I can't > think of a simple solution other than adding a system check upgrade > warning to detect this s

Re: re-thinking middleware

2016-05-16 Thread Carl Meyer
The technical board has approved DEP 5, and since the patch [1] is also ready to go, I moved it straight to Final state. Thanks to everyone who contributed to the discussion, and especially to Florian and Tim for the patch. Carl [1] https://github.com/django/django/pull/6501 -- You receive

Re: [RFC] Test methods filtering on tests run

2016-05-16 Thread Josh Smeaton
Hi Antonio I have the same problem when running tests in Django's test suite. When there's a failure, I have to copy the test path, paste that, then copy the failing test. The entire path to the test isn't printed in the failures. I'd be a big fan of *some* kind of implementation that allows me

Should we require pytz for timezone support in Django?

2016-05-16 Thread Josh Smeaton
While writing timezone tests for https://github.com/django/django/pull/6243 I ran into some issues where pytz seemed to be required for just about every database and platform combination except postgres on linux. The docs for timezone support (https://docs.djangoproject.com/en/dev/topics/i18n/t

Re: Template-based widget rendering

2016-05-16 Thread Carl Meyer
Hi Tim, On 05/14/2016 08:03 AM, Tim Graham wrote: > While testing this, I ran into a shortcoming with the fallback strategy > for backwards-compatibility. > > If you have a DjangoTemplates backend configured with 'APP_DIRS': True > (as in the tutorial) and you try to visit /admin/auth/user/#/chan

[RFC] Test methods filtering on tests run

2016-05-16 Thread Journeyman
Hello everyone, my name is Antonio, I'm using Django 1.9 and first of all I'd like to thank you all contributors for the amazing framework I can work with. I've just joined the django-dev mailing list to ask your opinion on a really trivial patch I thought implementing. Our backend server h

Re: Template-based widget rendering

2016-05-16 Thread Tim Graham
Carl, there are other widgets such as admin/widgets/related_widget_wrapper.html which include the built-in widget templates. It's actually a variable include, {% include widget.template_name %}, so copying the included template isn't feasible in this case. Claude, I'm not quite sure what the i

Re: Template-based widget rendering

2016-05-16 Thread Claude Paroz
...always consider templates (not forms, sorry ) in django.forms ... -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to djang

Re: Template-based widget rendering

2016-05-16 Thread Claude Paroz
Le samedi 14 mai 2016 16:03:57 UTC+2, Tim Graham a écrit : > > (...) > > I guess it will affect every project that uses the admin. I can't think > of a simple solution other than adding a system check upgrade warning to > detect this situation ('django.contrib.admin' in INSTALLED_APPS but not >