How i can get the current settings in a custom command and not the defaul setti开发者_运维技巧ngs?
With the attribut can_import_settings = True
in your class Command
from django.conf import settings
How i can get the current settings in a custom command and not the defaul setti开发者_运维技巧ngs?
With the attribut can_import_settings = True
in your class Command
from django.conf import settings
精彩评论