mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-19 04:31:11 +00:00
Throw warning on missing CSS rather than error, so that tests can still run on Dj1.7
This commit is contained in:
parent
beb8f8bc4e
commit
53fb42f275
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import os
|
||||
|
||||
from django.core.checks import Error, register
|
||||
from django.core.checks import Warning, register
|
||||
|
||||
|
||||
@register()
|
||||
|
|
@ -21,10 +21,10 @@ def css_install_check(app_configs, **kwargs):
|
|||
""" % css_path
|
||||
|
||||
errors.append(
|
||||
Error(
|
||||
Warning(
|
||||
"CSS for the Wagtail admin is missing",
|
||||
hint=error_hint,
|
||||
id='wagtailadmin.E001',
|
||||
id='wagtailadmin.W001',
|
||||
)
|
||||
)
|
||||
return errors
|
||||
|
|
|
|||
Loading…
Reference in a new issue