Anthony Ricaud
|
bf604a0398
|
Add BaseForm._html_output (#364)
|
2020-04-30 14:36:55 +03:00 |
|
Anthony Ricaud
|
557b7a4fa3
|
Add new View.setup method introduced in Django 2.2 (#233)
https://docs.djangoproject.com/en/2.2/ref/class-based-views/base/#django.views.generic.base.View.setup
https://github.com/django/django/blob/2.2/django/views/generic/base.py#L83-L87
|
2019-11-20 23:49:38 +03:00 |
|
Anthony Ricaud
|
acc3ca4205
|
Contexts can contain Any data (#192)
|
2019-09-28 21:38:04 +03:00 |
|
Anthony Ricaud
|
5910bd1b25
|
resolve_template accepts Sequences of str (#187)
- resolve_template is checking for lists or tuples so let's use a generic Sequence
- Union[Template, Template] seemed redundant
|
2019-09-25 23:32:23 +03:00 |
|
Anthony Ricaud
|
a9978cc021
|
Improve lazy translation functions
The lazy versions have the same signature as the non-lazy versions
|
2019-08-09 12:37:17 +01:00 |
|
Anthony Ricaud
|
f365297baf
|
Allow any Collection to be passed to has_perms
|
2019-07-21 02:09:05 +01:00 |
|
Anthony Ricaud
|
6859ec94b6
|
More accurate PermissionsMixin.has_perm
It only accepts `str` for `perm`
|
2019-07-19 12:42:03 +01:00 |
|
Anthony Ricaud
|
b66727657d
|
Type non-parametrised views.decorators.http (#80)
Fixes `error: Untyped decorator makes function "view" untyped`
|
2019-05-17 20:40:40 +03:00 |
|