Commit d5df6a0
authored
Rename
In Django 4.0 `forms.Form.get_context` was introduced for passing form context in templates.
https://docs.djangoproject.com/en/4.0/ref/forms/api/#django.forms.Form.get_context
Due to this we have a clash, as django-mail-auth uses function with the same name, but for different purpose:
```python
BaseLoginForm.get_context() missing 2 required positional arguments: 'request' and 'user'
```BaseLoginForm.get_context to avoid clash with Django internals (#40)1 parent 1d4c869 commit d5df6a0
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
0 commit comments