mirror of
https://github.com/ae-utbm/sith.git
synced 2025-03-10 07:17:11 +00:00
14 lines
350 B
Python
14 lines
350 B
Python
from django.contrib.staticfiles.management.commands.runserver import (
|
|
Command as Runserver,
|
|
)
|
|
|
|
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)
|