Skip to content

Refresh Auto Reload django-shell with imports and variables on code change #75

@NXPY123

Description

@NXPY123

Every time I make a code change, I have to quit the Django shell, restart it and reimport modules, reinitialize variables, etc. While the shell can execute code from a Python file, it would be nice to have a shell with an auto-reload option that can restart with the code changes while the imports and initializations remain intact.

The issue I'm talking about is described here: https://stackoverflow.com/questions/3772260/how-to-reload-modules-in-django-shell

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