Bug 16331 - Update django settings import
Summary: Update django settings import
Status: IN PROGRESS REVIEW
Alias: None
Product: Layer Index
Classification: Yocto Project Subprojects
Component: Layer Index (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium enhancement
Target Milestone: 6.2
Assignee: Tim Orling
QA Contact: apoorv sangal
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2026-06-24 17:38 UTC by Piotr Buliński
Modified: 2026-10-27 04:40 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Buliński 2026-06-24 17:38:00 UTC
Per https://docs.djangoproject.com/en/6.0/topics/settings/#using-settings-in-python-code, we should not be importing Django settings as `import settings`, but rather `from django.conf import settings`.