We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86dd334 commit 0cdf759Copy full SHA for 0cdf759
1 file changed
ietf/checks.py
@@ -12,7 +12,7 @@ def check_cdn_directory_exists(app_configs, **kwargs):
12
path will contain the datatracker release version.
13
"""
14
errors = []
15
- if not os.path.exists(settings.STATIC_ROOT):
+ if settings.SERVER_MODE == 'production' and not os.path.exists(settings.STATIC_ROOT):
16
errors.append(checks.Error(
17
"The static files directory has not been set up.",
18
hint="Please run 'ietf/manage.py collectstatic'.",
0 commit comments