diff --git a/djinit/templates/components/apps.py-tpl b/djinit/templates/components/apps.py-tpl index 94f6a3d..fdac009 100644 --- a/djinit/templates/components/apps.py-tpl +++ b/djinit/templates/components/apps.py-tpl @@ -1,6 +1,12 @@ from django.apps import AppConfig -class [[ app_name|title ]]Config(AppConfig): + +class [[ app_config_name ]]Config(AppConfig): default_auto_field = 'django.db.models.BigAutoField' +# @IF app_module + name = '[[ app_module ]]' +# @ENDIF +# @IF not app_module name = '[[ app_name ]]' +# @ENDIF