kopia lustrzana https://github.com/OpenDroneMap/WebODM
14 wiersze
326 B
Python
14 wiersze
326 B
Python
from __future__ import unicode_literals
|
|
|
|
from django.apps import AppConfig
|
|
from .boot import boot
|
|
from webodm import settings
|
|
|
|
class MainConfig(AppConfig):
|
|
name = 'app'
|
|
verbose_name = 'Application'
|
|
|
|
def ready(self):
|
|
# Test cases call boot() independently
|
|
if not settings.TESTING:
|
|
boot() |