On 2020-03-02 18:35, Anna Sidwell wrote:
> Is there any particular reason why it shouldn't look like a button
> instead of a link?

The concern isn't how it looks (with CSS you can make a button look
like a link, or make a link look like a button).

An <a href="…"> does the logout action via a GET (and is the problem
at hand) while a <button>/<submit> does the logout action via the
form method and can be either a GET (which would still a problem) or a
POST (the goal).

-tkc





-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/20200302143452.2e889388%40bigbox.attlocal.net.

Reply via email to