forked from typeddjango/django-stubs
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
django-stubs.db.models.fields
: add db_comment in constructors (#250)
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.
- Loading branch information
1 parent
bf20ead
commit 4ced894
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters