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 db_comment attribute in Fields classes #250

Merged
merged 1 commit into from
Jun 14, 2024
Merged

Add db_comment attribute in Fields classes #250

merged 1 commit into from
Jun 14, 2024

Conversation

florentinl
Copy link

This commit adds the db-comment attribute to the Field class and to the constructor of Fields.

The attribute was added in Django 4.2: https://docs.djangoproject.com/fr/5.0/ref/models/fields/#db-comment.

We use it extensively in our codebase and this leads to currently making Fields untypable for us.

Hope this helps.

@sbdchd sbdchd merged commit 4ced894 into sbdchd:main Jun 14, 2024
1 of 2 checks 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