Skip to content

Replace aliased imports with their canonical name #1720

@matthiask

Description

@matthiask

See #1717

When I see a settings variable in a Django project I immediately assume that it's django.conf.settings

When I see dt_settings I have to look it up.

Also, override immediately tells me django.utils.translation.override. If it's not obvious I sometimes import the module and use the function as translation.override but that happens almost never.

It's a low priority issue but I think it should be changed if it's possible without breaking too many pull requests :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions