Re: URL namespaces

2015-06-07 Thread Tai Lee
I still think that even though `get_absolute_url` might be disliked these days for various reasons, it is very common in the wild and is a perfect example of a legitimate need to be able to reverse URLs in code that executes in response to a request, but that doesn't have the request passed to

Re: URL namespaces

2015-06-07 Thread Marten Kenbeek
So 2) has been fixed (#24904 and #24906), and I got a PR for 1) (https://github.com/django/django/pull/4724). About #24127: I see a few options here: 1. A context processor or similar that sets `current_app` if it isn't set. By default `current_app` doesn't exist, so there's a good dist

Re: Making management forms for formsets optional

2015-06-07 Thread Shai Berger
Semi-devil's-advocate suggestion: Replace the management form with a management field, a hidden field with name = "__manage__%s" % (formsetname) and value="x" Then instead of taking the number of forms from a field on a management form, we can just take the accumulated leng