django import settings variables

# Import the settings module from the Django package
from django.conf import settings

# Access a specific variable from the settings module
variable_value = settings.VARIABLE_NAME