Skip to content

Ajout de "Sapin II" aux règles de typographie - #11

Open
mlemaybrief wants to merge 171 commits into
oysnet:masterfrom
briefmnews:master
Open

Ajout de "Sapin II" aux règles de typographie#11
mlemaybrief wants to merge 171 commits into
oysnet:masterfrom
briefmnews:master

Conversation

@mlemaybrief

Copy link
Copy Markdown

No description provided.

cirotix and others added 30 commits November 26, 2019 10:09
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants