Humanize duration fields

2021-01-11 Thread Yasiel Cabrera
Hey guys, I'm starting this thread to consult if make sense add a new filter (naturalduration) in django.contrib.humanize to humanize duration fields. Duration fields are native in django since 1.8 version I believe but there is not native way to humanize them as I see. If you approve the prop

Adding Origin header checking to CSRF middleware (#16010)

2021-01-11 Thread Tim Graham
Hello, I've updated this 10 year old patch but some more changes are needed. I'll target it for Django 4.0. https://code.djangoproject.com/ticket/16010 https://github.com/django/django/pull/13829 Here are a few design decisions and questions that have come up: 1. It seems the main reason this w