mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
Add InvenTree/apps.py
This commit is contained in:
parent
5b68d82fa3
commit
1532a0c3a1
12
InvenTree/InvenTree/apps.py
Normal file
12
InvenTree/InvenTree/apps.py
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from django.apps import AppConfig
|
||||||
|
|
||||||
|
|
||||||
|
class InvenTreeConfig(AppConfig):
|
||||||
|
name = 'InvenTree'
|
||||||
|
|
||||||
|
def ready(self):
|
||||||
|
|
||||||
|
print("Starting background tasks")
|
||||||
|
pass
|
@ -188,6 +188,7 @@ INSTALLED_APPS = [
|
|||||||
'build.apps.BuildConfig',
|
'build.apps.BuildConfig',
|
||||||
'common.apps.CommonConfig',
|
'common.apps.CommonConfig',
|
||||||
'company.apps.CompanyConfig',
|
'company.apps.CompanyConfig',
|
||||||
|
'InvenTree.apps.InvenTreeConfig',
|
||||||
'label.apps.LabelConfig',
|
'label.apps.LabelConfig',
|
||||||
'order.apps.OrderConfig',
|
'order.apps.OrderConfig',
|
||||||
'part.apps.PartConfig',
|
'part.apps.PartConfig',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user