Yashashvi Dave
8909cb1d15
custom fields: Allow list of users in user type of custom fields.
...
Allow user to add more than one user-value in user type of custom
fields.
Tweaked by tabbott to improve the models.py code and type annotations.
2018-06-16 09:37:49 -07:00
Yashashvi Dave
e82c879b85
custom fields: Add user type of custom fields.
...
Fixes #8878
2018-05-27 23:01:21 -07:00
Umair Khan
cf2f6b38dd
profile: Add choice field.
...
Fixes part of #8878
2018-04-26 00:35:51 -07:00
Umair Khan
4ea3e8003a
profile: Create mypy types for profile data.
...
This makes the code more readable.
2018-04-25 23:28:27 -07:00
neiljp (Neil Pilgrim)
b79c3840da
mypy: Introduce strict definition of Validator into types.py.
2018-03-16 11:16:38 -07:00
neiljp (Neil Pilgrim)
17937175ac
mypy: Centralize ViewFuncT definition into new file zerver/lib/types.py.
...
Originally was going to centralize this in zerver/lib/request.pyi, but this
file is not visible at run-time, being only a stub. The matching request.py
file seemed inappropriate, as it doesn't actually use ViewFuncT.
2018-03-15 14:16:40 -07:00