Skip to content

Removed old manual import in the shell #1899

Merged
ekohl merged 1 commit into
DjangoGirls:masterfrom
raffaellasuardini:master
Jun 5, 2026
Merged

Removed old manual import in the shell #1899
ekohl merged 1 commit into
DjangoGirls:masterfrom
raffaellasuardini:master

Conversation

@raffaellasuardini

Copy link
Copy Markdown
Contributor

Changes in this pull request:

I removed the following lines since in Django 5.2 has the automatic import for shell so there is no need to import the model

>>> from blog.models import Post

@ekohl ekohl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we updated in 5132e10 to 5.2, this should be OK. I didn't verify it myself, but trusting it based on the linked release note.

@ekohl ekohl merged commit 109bcca into DjangoGirls:master Jun 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants