Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update list of default fields for list_model_info command #1930

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

Merged
merged 1 commit into from
May 15, 2025

Conversation

TomasLoow
Copy link
Contributor

@TomasLoow TomasLoow commented Apr 23, 2025

Add a few methods that have been added in newer Django versions to the default_methods list for the list_model_info command. This prevents them from being listed under every model in the project.

Method names added to the list:

  • adelete
  • arefresh_from_db
  • asave
  • get_constraints
  • validate_constraints

Add a few missing methods that have been added in newer Django versions
to the default methods list for list_model_info

- adelete
- arefresh_from_db
- asave
- get_constraints
- validate_constraints
@trbs trbs merged commit 60c4a7c into django-extensions:main May 15, 2025
11 checks passed
@trbs
Copy link
Member

trbs commented May 15, 2025

Thanks !

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