Maxim Kurnikov 2559901ff3 more test folders
2019-02-06 20:56:44 +03:00
2019-02-06 20:56:44 +03:00
2019-02-06 20:56:44 +03:00
2019-02-05 14:30:23 +01:00
2019-01-22 19:13:07 +03:00
2019-02-04 18:46:13 +03:00
2018-07-29 20:19:43 +03:00
2018-12-03 02:05:41 +03:00
2019-01-30 17:33:14 +03:00
2018-12-22 05:18:27 +03:00
2019-02-04 18:47:01 +03:00

mypy logo

pep484 stubs for Django framework

Build Status Checked with mypy

This package contains type stubs and mypy plugin to provide more precise static types and type inference for Django framework. Django uses some Python "magic" that makes having precise types for some code patterns problematic. This is why we need to accompany the stubs with mypy plugins. The final goal is to be able to get precise types for most common patterns.

Installation

pip install django-stubs

To make mypy aware of the plugin, you need to add

[mypy]
plugins =
    mypy_django_plugin.main

in your mypy.ini file.

Also, it uses value of DJANGO_SETTINGS_MODULE from the environment, so set it before execution, otherwise some features will not work.

To get help

We have Gitter here https://gitter.im/mypy-django/Lobby.

If you think you have more generic typing issue, please refer to https://github.com/python/mypy and their Gitter.

Description
PEP-484 stubs for Django
Readme 3.8 MiB
Languages
Python 100%