Last active
September 5, 2019 04:54
-
-
Save daimon99/3c46739e213b162bea940257534cb31e to your computer and use it in GitHub Desktop.
django manytomany 字段扁平展示
This file contains 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
@admin.register(m.Article) | |
class ArticleAdmin(admin.ModelAdmin): | |
class Media: | |
css = { | |
'all': ('admin/css/articleadmin.css',) | |
} |
This file contains 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
.related-widget-wrapper>ul { | |
display: flex !important; | |
} |
Author
daimon99
commented
Sep 5, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment