✨ Feat: [#63] mongoDB 연동 설정
This commit is contained in:
9
nocodetools/apps.py
Normal file
9
nocodetools/apps.py
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
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()
|
||||||
Reference in New Issue
Block a user