Skip to content

Commit 1055db3

Browse files
command fixes
1 parent 1c5bb6e commit 1055db3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

django_js_reverse/management/commands/collectstatic_js_reverse.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818

1919
class Command(BaseCommand):
2020
help = 'Creates a static urls-js file for django-js-reverse'
21-
requires_system_checks = False
21+
requires_system_checks = [Tags.staticfiles, Tags.models]
22+
2223
def get_location(self):
2324
output_path = getattr(settings, 'JS_REVERSE_OUTPUT_PATH', JS_OUTPUT_PATH)
2425
if output_path:

0 commit comments

Comments
 (0)