Ajout de "Sapin II" aux règles de typographie - #11
Open
mlemaybrief wants to merge 171 commits into
Open
Conversation
We now have an Admin class to apply typographie view to a model admin This move all the logic to one place. The fields to be processed need to be declated in the model. It can handle strings dict (for JSONField) ForeignKey and reverse ForeignKey OneToOne and reversed OneToOne ManyToMany and reversed ManyToMany If you want to apply typographie on a dict you need to provide an additional list with the list of the keys on which the typographic filter can be applied.
in cases whith a closing html tag + a space + an opening html tag the non breaking space might break and be removed
This reverts commit cc71c05.
Skip typographie on empty strings and keep None entries in nested lists and dict fields instead of coercing them. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.