Skip to content

Possible circular import issue?  #1

@GVRV

Description

@GVRV

G'day,

I was just searching around for sample code dealing with the ideal location to register receivers in Django applications and came across this example. I'm not quite sure, but I think there might be a circular import issue in your profile app code wherein models.py is importing * from receivers.py and receivers.py is importing a model from models.py. Wouldn't it be better to move the import for receivers.py in __init__.py instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions