Closed aschemschat closed 11 years ago
Interesting!
I totally forgot this use case (I never call reverse()
for unnamed url).
I will look at it but I will provide an optionnal setting because it an generate a lot of noise if enabled by default!
Thanks for the fix :)
Just a quick question (Maybe suggestion?):
sometimes i dont have supplied names for my views, maybe like this:
which results in only beeing able to do the following, because new_object is not found
If, in the utils.py, the function
_get_urls(...)
is modified as follows, there would be a default for the name:which would be resolved in JS as:
Maybee class-based views may mess that up, but a type-check of function would prevent that and also maybe include a Setting to prevent this. Would this be an idea worth implementing?
Greetings and thanks for the great util-package :)