zulip/corporate
Zixuan James Li 4c3c976174 models: Implicitly type model fields with django-stubs.
Previously, we type the model fields with explicit type annotations
manually with the approximate types. This was because the lack of types
for Django.

django-stubs provides more specific types for all these fields that
incompatible with our previous approximate annotations. So now we can
remove the inline type annotations and rely on the types defined in the
stubs. This allows mypy to infer the types of the model fields for us.

Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2022-10-05 16:15:56 -07:00
..
lib billing: Fix licenses amount check during user signup/invitation. 2022-08-18 11:56:54 -07:00
management billing: Do subscription management in-house instead of with Stripe Billing. 2018-12-22 13:39:30 -08:00
migrations corporate/models: Modify Customer to accommodate self-hosted customers. 2021-11-30 15:20:33 -08:00
tests demo orgs: Adjust additional hunks involves upgrade string. 2022-08-29 12:17:09 -07:00
views portico: Change display name of non-profit org type. 2022-09-13 10:40:16 -07:00
__init__.py
models.py models: Implicitly type model fields with django-stubs. 2022-10-05 16:15:56 -07:00
urls.py urls: Extend documentation URL redirects system to corporate landing pages. 2022-08-31 15:01:29 -07:00