10 lines
260 B
Python
10 lines
260 B
Python
from django.apps import AppConfig
|
|
from common.utils.mongodb import connect_colio_mongo
|
|
|
|
class NocodetoolsConfig(AppConfig):
|
|
# default_auto_field = 'django.db.models.BigAutoField'
|
|
name = 'nocodetools'
|
|
|
|
def ready(self):
|
|
connect_colio_mongo()
|