## typeddjango/django-stubs — v0.12.1…v1.2.0

_138 commits._

### Features
- **Reorganize code a bit, add current directory to sys.path (#198)** (717be59)
- **Improves README with new example repo, python version matrix (#195)** (b939bc9)
- **add support for typechecking of filter/get/exclude arguments (#183)** (02bdf5b)
- **add mypy compatibility table (#190)** (e143ba5)
- **add some diagnostic for unused ignores for tests typechecking (#191)** (32c0cbc)
- **add unused ignores reporting (#188)** (7725b41)
- **add linting stubs with flake8-pyi and check for unused imports (#186)** (963d50c)
- **update import_all test, add some stubs for postgres (#178)** (a85dbff)
- **Add django.contrib.gis.db.models and django.contrib.gis.db.models.fields (#177)** (68aebe2)
- **add custom Field processing for mixins used in the Model subclasses (#167)** (23ad650)
- **add proper stubs for django.contrib.auth.models model fields (#170)** (64720f4)
- **Add property to forms.changed_data fixes #148 (#149)** (b8379d4)
- **Add 'django.core.cache.backends.memcached' stubs (#141)** (dce0c0e)
- **Add properties to runserver.Command (#135)** (7bf1664)
- **Merge pull request #109 from mkurnikov/new-semanal** (b4cd975)
- **add python3.6 tests typechecking** (bc42cc2)
- **add notes about new manager types to README** (0bb41bc)
- **add new config options to README** (8894de0)
- **add missing psycopg2 dependency** (64049b6)
- **rewrite pytest-mypy-plugin extension code to use new hook** (6332620)
- **add some support for proxy models** (df021f6)
- **tweak travis config to use new tests properly** (46c48b5)
- **add missing field methods** (5b2aacd)
- **add objects to model, trade false positive for false negative** (a0db24c)
- **add support for _meta.get_field() typechecking** (fc9843b)
- **add get_next_by_FOO, get_previous_by_FOO for date,datetime fields** (5bb1bc2)
- **add support for get_FIELD_display for choices fields** (1721c99)
- **add django.contrib.contenttypes to all tests by default** (bba6f76)
- **add Django dependency** (caf69ec)
- **add GenericForeignKey support, remove some false-positives** (f2e79d3)
- **add reverse lookups to values(), values_list()** (4f935ed)
- **add support for forms, values, values_list** (d53121b)
- **add settings support** (3c3122a)
- **add related managers support** (7b1b1b6)
- **add proper __init__, create() support** (2cb1f25)
- **new semanal wip 1** (b11a9a8)
- **add utils_tests test folder to typechecking (#106)** (b397ec0)
- **add correct return annotation to get_storage_class (#103)** (2f6af15)
- **add missing files throughout the codebase (#102)** (2799646)
- **Add typechecking for 'file_storage', 'files' test folders (#101)** (d8230a4)
- **Add timezone.localdate() (#87)** (db7b465)
- **Add get_candidate_relations_to_delete (#92)** (25165de)

### Fixes
- **fix annotation for BaseCommand.handle() (#201)** (dceb075)
- **Fix ForeignKey type for self-reference defined in the abstract model (#200)** (7e3f4bf)
- **Fix crash if model from same app referenced in RelatedField cannot be resolved (#199)** (db9ff6a)
- **Fix Paginator properties mistyped as Callables (#193)** (4d4b000)
- **fix compatibility with 0.730 (#189)** (be3fc25)
- **Fix type annotations for django.utils.safestring (#179)** (7407b93)
- **Fix typecheck tests ci (#165)** (2b53fa5)
- **WIP: fix scripts/typecheck_tests.py (#162)** (e3ea841)
- **Solve issue 154: Fix wrong type for size in File. (#156)** (0c3e06e)
- **Fix related fields inheritance from abstract models (#138)** (d7e8222)
- **Merge pull request #124 from K0Te/fix-email-annotations** (d315128)
- **Fix EmailMessage.attachements parameter annotation.** (bb08212)
- **fix additional mypy config and auto settings** (a0a2eca)
- **fix mypy errors** (4c21855)
- **fix merge artifact** (e6d7a57)
- **fix httprequest other fields** (39fb48b)
- **fix OneToOneField without related_name** (fee4aad)
- **Fix mypy==0.710 errors (#97)** (4e1c32f)
- **fix: remove SuccessMessageMixin.form_valid violation of Liskov substitution principle (#84)** (629ba95)
- **Fix type of prefix arg in staticfiles_urlpatterns (#74)** (d7d7e6c)

### Backend
- **Contexts can contain Any data (#192)** (acc3ca4)
- **Use runtime information to determine whether class is a models.Model subclass (#182)** (2c23d8e)
- **resolve_template accepts Sequences of str (#187)** (5910bd1)
- **Bump isort, use --diff (#164)** (afcd0d9)
- **related_name is Optional[str] (#176)** (d3dca5b)
- **Options.verbose_name_raw is always a string (#175)** (c69090e)
- **Split AddManagers for model in separate stages to process IncompleteDefnException properly (#171)** (29ac1c3)
- **cleanup some stubs in contrib.admin, contrib.admindocs (#169)** (a8fdd4c)
- **make types for generic mixins less strict (#168)** (813dd8c)
- **flake8: ignore certain errors for .pyi files (#159)** (5b9a467)
- **Adds syntax highlight** (4a4dc53)
- **Adds gitter icon** (77fd469)
- **Adds github tempaltes, refs #112 (#155)** (9291164)
- **Fixes travis badge** (caa0e60)
- **bump to 1.1.0** (de4fa92)
- **make ValuesQuerySet have proper Collection generic type (#140)** (fc9a335)
- **Merge pull request #139 from mkurnikov/none-to-optional-annotations** (5fc39ff)
- **stability fixes** (e95b40e)
- **replace None annotations with Optional[] around** (c91a6d1)
- **Return corresponding descriptors for some fields in class access (#137)** (0976721)
- **make first() an Optional, allow to specify QuerySet with one parameter (#136)** (656105b)
- **Fixes #127, adds urls.pyi for several contrib apps (#129)** (ff7bf33)
- **Fixes collectstatic storage type, closes #130 (#131)** (d94b7b0)
- **Removes .editorconfig, refs #132** (0545c2d)
- **Fixes yaml spacing, refs #132** (825931d)
- **Fixes .editorconfig, refs #132** (737fd23)
- **Refactors bad default values, now using Ellipsis (#132)** (7f47605)
- **Merge pull request #126 from rik/lazy-translation** (552de42)
- **Improve lazy translation functions** (a9978cc)
- **Merge pull request #119 from mkurnikov/subclass-queryset-proper-typing** (5d2efdb)
- **allow to subclass queryset without loss of typing** (27793ec)
- **bump version to 1.0.2** (dddcb20)
- **Mention solution to potential PYTHONPATH pitfall. (#115)** (ac40b80)
- **Remove psycopg2 from dependencies (#117)** (6b21a04)
- **values_list for related model id flat True (#113)** (735b58e)
- **enable mypy typechecking for plugin code** (1b6c337)
- **remove some asserts that could be validly triggered** (62dac1d)
- **allow to specify QuerySet with one parameter** (409c01e)
- **update setup.py** (6466c57)
- **csrf middleware callable can be none** (a019fe9)
- **enable tests typechecking using django submodule** (a97d760)
- **lint** (ae8e42d)
- **move configuration to [mypy.plugins.django-stubs] inside mypy config file** (b6a5cca)
- **create(id=None) is valid, if id is AutoField** (5779607)
- **lint fixes** (4dfa363)
- **cleanups** (2c001fd)
- **create dummy classes for custom_manager_of_model usecase** (d7d379e)
- **allow to use fields as Field objects outside Model classes** (6962b42)
- **cleanups** (df77299)
- **allow custom app label for ForeignKey** (b86d33c)
- **request.user has type of AUTH_USER_MODEL** (fa57fb0)
- **various fixes** (248504c)
- **remove dataclasses dependency** (07a9bcd)
- **remove runtime dependency on pytest-mypy-plugins** (6ece759)
- **one more edge case for values()** (bfa77ef)
- **cleanups, fallback to Any in some corner cases** (03b59b8)
- **more values(), values_list() cases** (0e72b2e)
- **remove -semanal suffix** (b81fbde)
- **remove old semanal plugin data** (dc6101b)
- **split helpers into smaller files** (9c5a6be)
- **Merge pull request #111 from rik/has_perm** (a9c1bcb)
- **Allow any `Collection` to be passed to `has_perms`** (f365297)
- **More accurate `PermissionsMixin.has_perm`** (6859ec9)
- **enable test folders: select_for_update, i18n, httpwrappers, auth_tests, extra_regress (#107)** (335c576)
- **Makes localtime/localdate accept optional params (#105)** (f7db296)
- **Make SuccessMessageMixin fully compatible with FormMixin (#86)** (861c665)
- **revert meta: Options annotation (#99)** (90cab6c)
- **Allow any iterable to be passed to method_decorator (#90)** (2295b14)
- **Update typecheck_tests to django 2.2 branch, remove unused ignores (#98)** (a77d5b2)
- **set version to 0.13.0, bump mypy to 0.710** (ea1294b)
- **do not release if uncommitted changes** (79d6917)
- **A couple of small fixes (#81)** (0e60b70)
- **django.contrib.messages.api: use HttpRequest instead of WSGIRequest (#73)** (dd5b98f)
- **Re-export names from django.core.cache.backend.base (#71)** (e634a5d)
- **Type non-parametrised views.decorators.http (#80)** (b667276)

### Chore
- **ci: minor cleanup (#161)** (82e3aa5)

_Recap by [Repo Wrapped](https://repowrapped.com/gh/typeddjango/django-stubs?utm_source=github-action)._