MCPcopy Index your code

hub / github.com/typeddjango/django-stubs / types & classes

Types & classes149 in github.com/typeddjango/django-stubs

↓ 48 callersClassMPGeneric
Create a data class to hold metadata about the generic classes needing monkeypatching. The `version` param is optional, and a value of `None` mea
ext/django_stubs_ext/patch.py:44
↓ 10 callersClassDjangoPluginConfig
mypy_django_plugin/config.py:64
↓ 3 callersClassClassWithAtomicMethod
tests/assert_type/db/test_transaction.py:55
↓ 3 callersClassM2MThrough
mypy_django_plugin/transformers/manytomany.py:17
↓ 2 callersClassM2MArguments
mypy_django_plugin/transformers/manytomany.py:28
↓ 2 callersClassM2MTo
mypy_django_plugin/transformers/manytomany.py:22
↓ 2 callersClassMyModel
tests/assert_type/views/test_generic.py:13
↓ 2 callersClassS
tests/assert_type/utils/test_encoding.py:20
↓ 1 callersClassBarConfig
tests/assert_type/apps/test_config.py:13
↓ 1 callersClassBazConfig
tests/assert_type/apps/test_config.py:22
↓ 1 callersClassDecoratedView
tests/assert_type/utils/test_decorators.py:46
↓ 1 callersClassDjangoContext
mypy_django_plugin/django/context.py:114
↓ 1 callersClassFieldDescriptorTypes
mypy_django_plugin/transformers/fields.py:117
↓ 1 callersClassFieldTypeArgs
mypy_django_plugin/lib/helpers.py:439
↓ 1 callersClassFoo
tests/assert_type/utils/test_functional.py:15
↓ 1 callersClassFooBarConfig
tests/assert_type/apps/test_config.py:31
↓ 1 callersClassGenericInheritanceVisitor
AST visitor to find classes inheriting from `typing.Generic` in stubs.
tests/test_generic_consistency.py:20
↓ 1 callersClassLookupsAreUnsupported
mypy_django_plugin/django/context.py:81
↓ 1 callersClassManager
tests/assert_type/contrib/auth/test_models.py:11
↓ 1 callersClassMyDeleteView
tests/assert_type/views/test_generic.py:40
↓ 1 callersClassMyDetailView
tests/assert_type/views/test_generic.py:16
↓ 1 callersClassMyListView
tests/assert_type/views/test_generic.py:26
↓ 1 callersClassMyModel
tests/assert_type/db/models/fields/test_files.py:8
↓ 1 callersClassOther
tests/assert_type/db/models/fields/test_related_descriptors.py:10
↓ 1 callersClassParentObjInline
tests/assert_type/contrib/admin/test_options.py:183
↓ 1 callersClassPersonFieldsetListAdmin
tests/assert_type/contrib/admin/test_utils.py:41
↓ 1 callersClassPersonFieldsetTupleAdmin
tests/assert_type/contrib/admin/test_utils.py:53
↓ 1 callersClassPersonListAdmin
tests/assert_type/contrib/admin/test_utils.py:31
↓ 1 callersClassPersonTupleAdmin
tests/assert_type/contrib/admin/test_utils.py:36
ClassActionModel
tests/assert_type/contrib/admin/test_decorators.py:88
ClassActionModelAdmin
tests/assert_type/contrib/admin/test_decorators.py:120
ClassAddAnnotateUtilities
Creates a model subclass that will be used when the model's manager/queryset calls 'annotate' to hold on to attributes that Django adds to a
mypy_django_plugin/transformers/models.py:208
ClassAddDefaultManagerAttribute
mypy_django_plugin/transformers/models.py:480
ClassAddDefaultPrimaryKey
mypy_django_plugin/transformers/models.py:278
ClassAddExtraFieldMethods
mypy_django_plugin/transformers/models.py:629
ClassAddManagers
mypy_django_plugin/transformers/models.py:360
ClassAddPrimaryKeyAlias
mypy_django_plugin/transformers/models.py:308
ClassAddRelatedModelsId
mypy_django_plugin/transformers/models.py:321
ClassAddReverseLookups
mypy_django_plugin/transformers/models.py:507
ClassAnnotations
Use as `Annotations[MyTypedDict]`
ext/django_stubs_ext/annotations.py:13
ClassAnotherModel
tests/assert_type/contrib/admin/test_options.py:104
ClassAnyAttrAllowed
ext/django_stubs_ext/types.py:9
ClassArrayField
mypy_django_plugin/django/context.py:31
ClassAuthor
tests/assert_type/db/models/fields/test_related.py:6
ClassBadConverter
tests/assert_type/urls/test_converters.py:25
ClassBadForm
tests/assert_type/forms/test_fields_choices.py:46
ClassBam
tests/assert_type/utils/test_functional.py:89
ClassBananaman
tests/assert_type/utils/test_decorators.py:35
ClassBar
tests/assert_type/utils/test_functional.py:31
ClassBaseEmptyChoices
tests/assert_type/db/models/test_enums.py:88
ClassBaz
tests/assert_type/utils/test_functional.py:44
ClassBigIntConverter
tests/assert_type/urls/test_converters.py:11
ClassBook
tests/assert_type/db/models/fields/test_related.py:10
ClassBrokenCustomCommonMiddleware
tests/assert_type/middleware/test_middleware.py:26
ClassBrokenCustomLocaleMiddleware
tests/assert_type/middleware/test_middleware.py:34
ClassBrokenCustomRedirectFallbackMiddleware
tests/assert_type/middleware/test_middleware.py:48
ClassConfirmForm
tests/assert_type/views/test_generic.py:37
ClassConstants
tests/assert_type/db/models/test_enums.py:81
ClassCustomCommonMiddleware
tests/assert_type/middleware/test_middleware.py:22
ClassCustomLocaleMiddleware
tests/assert_type/middleware/test_middleware.py:30
ClassCustomRedirectFallbackMiddleware
tests/assert_type/middleware/test_middleware.py:38
ClassCustomRedirectFallbackMiddleware2
tests/assert_type/middleware/test_middleware.py:43
ClassDeckModel
tests/assert_type/db/models/test_enums.py:126
ClassDirection
tests/assert_type/db/models/_enums.py:9
ClassDisplayModel
tests/assert_type/contrib/admin/test_decorators.py:13
ClassDisplayModelAdmin
tests/assert_type/contrib/admin/test_decorators.py:39
ClassDjangoModel
A small wrapper around a django model runtime object and associated mypy type info
mypy_django_plugin/lib/helpers.py:225
ClassDjangoTypeMetadata
mypy_django_plugin/lib/helpers.py:74
ClassExampleTestCase
tests/assert_type/test/test_testcase.py:9
ClassExplicitIncorrectMigration
tests/assert_type/db/migrations/test_classvar.py:17
ClassExplicitMigration
tests/assert_type/db/migrations/test_classvar.py:11
ClassFieldsetWorkaroundAdmin
tests/assert_type/contrib/admin/test_options.py:117
ClassFooConfig
tests/assert_type/apps/test_config.py:8
ClassFormFirstView
tests/assert_type/forms/test_forms.py:24
ClassFullAdminModel
tests/assert_type/contrib/admin/test_options.py:20
ClassFullAdminModelForm
tests/assert_type/contrib/admin/test_options.py:30
ClassFullModelAdmin
tests/assert_type/contrib/admin/test_options.py:34
ClassGender
tests/assert_type/db/models/test_enums.py:60
ClassImplicitMigration
tests/assert_type/db/migrations/test_classvar.py:22
ClassIncompleteDefnException
mypy_django_plugin/lib/helpers.py:148
ClassInjectAnyAsBaseForNestedMeta
Replaces class MyModel(models.Model): class Meta: pass with class MyModel(models.Model):
mypy_django_plugin/transformers/models.py:247
ClassInlineChildModel
tests/assert_type/contrib/admin/test_options.py:179
ClassInlineParentModel
tests/assert_type/contrib/admin/test_options.py:175
ClassIntegerChoices
tests/assert_type/forms/test_fields_choices.py:56
ClassInvalidActionSignatureAdmin
tests/assert_type/contrib/admin/test_options.py:163
ClassInvalidActionSignatureModel
tests/assert_type/contrib/admin/test_options.py:156
ClassInvalidFormfieldOverridesAdmin
tests/assert_type/contrib/admin/test_options.py:148
ClassInvalidGenericModel
tests/assert_type/contrib/admin/test_options.py:167
ClassInvalidGenericModelAdmin
tests/assert_type/contrib/admin/test_options.py:171
ClassInvalidRadioFieldsKeyAdmin
tests/assert_type/contrib/admin/test_options.py:144
ClassInvalidRadioFieldsValueAdmin
tests/assert_type/contrib/admin/test_options.py:140
ClassJoker
tests/assert_type/db/models/test_enums.py:133
ClassManyRelatedManager
ext/django_stubs_ext/db/models/manager.py:27
ClassMedal
tests/assert_type/db/models/test_enums.py:68
ClassMeta
tests/assert_type/db/models/test_managers.py:21
ClassMeta
tests/assert_type/db/models/test_base.py:15
ClassMeta
tests/assert_type/db/models/test_base.py:20
ClassMeta
tests/assert_type/db/models/test_base.py:34
ClassMetaclassAdjustments
mypy_django_plugin/transformers/models.py:989
ClassMissingFieldsetFieldsAdmin
tests/assert_type/contrib/admin/test_options.py:134
next →1–100 of 149, ranked by callers