0👍
✅
Doh. Apparently my actual template had action="/login"
but when I typed it in the example here it had an end slash, I re-added the end slash and that was it.
2👍
Are you passing the user
variable to your template context? Either explicitly, or via a context processor?
- [Answered ]-Downloading file from FileField in Django with a HTTP link in a HTML file
- [Answered ]-Using RenderContext in render_to_string in Django 1.10
- [Answered ]-Most effective way to get number of items with similar value in a Django Query
Source:stackexchange.com