Fellow Report - October 29, 2016

2016-10-29 Thread Tim Graham
I will be in Amsterdam next week for the Django Under the Hood conference. Look forward to seeing many of you there. Triaged --- https://code.djangoproject.com/ticket/27377 - Clarify that prepopulated_fields doesn't work with OneToOneField (accepted) https://code.djangoproject.com/tick

Re: Should we move filesizeformat to django.contrib.humanize?

2016-10-29 Thread Tim Graham
Adding a helper function that does the formatting make sense in the spirit of #27106. Putting that helper in humanize makes logical sense, however, it would be slightly unclean to have a built-in template tag depend on a contrib app and I'm not sure that deprecating in the built-in filter in fa

Should we move filesizeformat to django.contrib.humanize?

2016-10-29 Thread João Sampaio
Hi. Currently, if we want to convent a filesize from bytes to a human-readable size, we have to do: from django.template.defaultfilters import filesizeformat print(filesizeformat(size_in_bytes)) How about we move that filter into django.contrib.humanize? Maybe the filter would