Behavior of ModelAdmin.fieldsets with 'classes': ('collapse',) when fieldset name is None.

2018-01-28 Thread Douglas Miranda
Hello, I don't know if this was debated before, but I think the behavior of Collapsed fieldsets on Django Admin could confuse some devs. Here is the example: Consider the django.contrib.auth.

Re: Consider renaming `mark_safe` to `dangerously_trust_html` (etc)

2018-02-15 Thread Douglas Miranda
I think this can mislead the developers to think mark_safe solves it all. The forums are full of answers with *Use mark_safe;* *Use htmlfield|safe;* Maybe Django should start warning about mark_safe on the logs, then change the behavior. (Or even deprecate and remove) Things like this we tend

Re: Consider renaming `mark_safe` to `dangerously_trust_html` (etc)

2018-02-22 Thread Douglas Miranda
Yes, people read *mark_safe* as *MAKE_safe*, I'm not sure yet, but I'm liking the idea of *trust_html*, I feel like more developers will understand what they're doing. Maybe the docs could have more detailed notes about HTML inputs that you want to mark them safe, one thing is trust "" another