Skip to content

At least a few files incorrectly import Django settings #3392

Description

@ietf-svn-bot

owner:jennifer@painless-security.com resolution_fixed type_cleanup | by jennifer@painless-security.com


Per the Django settings documentation, the correct way to import settings is via from django.conf import settings. Several places use from ietf import settings.

Pragmatically speaking, using the from ietf form breaks the override_settings mechanism in potentially hard to diagnose ways.


Issue migrated from trac:3392 at 2022-03-04 09:12:41 +0000

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions