Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add typing of django.db.migrations.autodetector #2149

Merged
merged 1 commit into from
May 12, 2024

Conversation

JaeHyuckSa
Copy link
Contributor

@JaeHyuckSa JaeHyuckSa commented May 11, 2024

I have made things!

I added the typing of 'django.db.migrations.autodetector'.

  • django.db.migrations.autodetector.MigrationAutodetector
    • django.db.migrations.autodetector.MigrationAutodetector.create_altered_constraints
    • django.db.migrations.autodetector.MigrationAutodetector.create_renamed_fields
    • django.db.migrations.autodetector.MigrationAutodetector.generate_added_constraints
    • django.db.migrations.autodetector.MigrationAutodetector.generate_altered_db_table_comment
    • django.db.migrations.autodetector.MigrationAutodetector.generate_removed_altered_unique_together
    • django.db.migrations.autodetector.MigrationAutodetector.generate_removed_constraints
    • django.db.migrations.autodetector.MigrationAutodetector.generate_renamed_indexes

I've confirmed with version 5.0.4 that the function generate_removed_altered_index_together will indeed be removed in Django version 5.1

Related issues

Upstream PR:

Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

Thanks!

@sobolevn sobolevn merged commit f3dcf83 into typeddjango:master May 12, 2024
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants