14 lines
350 B
Python
Raw Normal View History

from django.contrib.staticfiles.management.commands.runserver import (
Command as Runserver,
)
2025-02-15 12:15:08 +01:00
from staticfiles.processors import OpenApi
class Command(Runserver):
"""Light wrapper around default runserver that integrates javascirpt auto bundling."""
def run(self, **options):
OpenApi.compile()
super().run(**options)