Skip to content

Commit

Permalink
docs: breakage of Format button if CSRF_COOKIE_HTTPONLY = True (Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lawson89 authored Oct 10, 2022
1 parent d50dfa5 commit 65019a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ Power tips
the SQL editor area.
- Hit the "Format" button to format and clean up your SQL (this is
non-validating -- just formatting).
- If you find the "Format" button is not working, it may be due to the
following setting ``CSRF_COOKIE_HTTPONLY = True`` which prevents
client javascript from reading the CSRF cookie (see Django docs).
- Use the Query Logs feature to share one-time queries that aren't
worth creating a persistent query for. Just run your SQL in the
playground, then navigate to ``/logs`` and share the link
Expand Down

0 comments on commit 65019a0

Please sign in to comment.