You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As Django's default handling of the HEAD method as GET, it would be beneficial to include data in the form even when a HEAD method is requested to align with Django's expected behavior.
To support HEAD method we can do: if self.request.method in ['GET', 'HEAD']: