4 Commits
Author SHA1 Message Date
David Smith 2e84c03632 Made BaseContext __setitem__ and __getitem__ consistant. (#1040)
* Made BaseContext __setitem__ and __getitem__ consistant.

* Standardised ContextKeys
2022-07-13 09:48:33 +03:00
David Smith f8cc99ca3b Improved return type of render_to_string(). (#1036) 2022-06-30 10:16:07 +03:00
David Smith 926661ab4a Improved type of template.loader.get_template() (#1011)
* Improved type of template.loader.get_template()

* Removed Optional from return type.

* Edits.
2022-06-27 00:48:10 +03:00
David SmithandNikita Sobolev 44157a4b03 BaseContext.__copy__ (#1012)
* Improved BaseContext.__copy__()

* Update django-stubs/template/context.pyi

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>

* Updated __copy__ to use private name.

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-06-25 11:57:04 +03:00