Skip to content

Commit

Permalink
Remove wagtailmodeladmin extra css
Browse files Browse the repository at this point in the history
  • Loading branch information
willbarton committed Jan 11, 2023
1 parent 5d5e8ad commit fe03d28
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion treemodeladmin/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ def get_parent_field(self):

def get_index_view_extra_css(self):
css = [
"wagtailmodeladmin/css/index.css",
"treemodeladmin/css/index.css",
]
css.extend(self.index_view_extra_css)
Expand Down
1 change: 1 addition & 0 deletions treemodeladmin/tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"wagtail.snippets",
"wagtail.sites",
"wagtail.users",
"wagtail.contrib.styleguide",
)

if wagtail.VERSION >= (3, 0):
Expand Down
2 changes: 0 additions & 2 deletions treemodeladmin/tests/test_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ def test_get_index_view_extra_css(self):
self.assertEqual(
self.author_model_admin.get_index_view_extra_css(),
[
"wagtailmodeladmin/css/index.css",
"treemodeladmin/css/index.css",
"authors.css",
],
Expand All @@ -86,7 +85,6 @@ def test_get_index_view_extra_css_none(self):
self.assertEqual(
self.plain_model_admin.get_index_view_extra_css(),
[
"wagtailmodeladmin/css/index.css",
"treemodeladmin/css/index.css",
],
)
Expand Down

0 comments on commit fe03d28

Please sign in to comment.