explorerhq / sql-explorer

SQL reporting that Just Works. Fast, simple, and confusion-free. Write and share queries in a delightful SQL editor, with AI assistance.
https://www.sqlexplorer.io
Other
2.74k stars 363 forks source link

<INVALID: query.sql> #673

Open gabriels1234 opened 2 days ago

gabriels1234 commented 2 days ago

version: django-sql-explorer==5.2 (updated from django-sql-explorer==2.3)

image

I couldn't find anything related.

Will update if I get more findings.

marksweb commented 2 days ago

What have you dont that's lead you to this page?

gabriels1234 commented 2 days ago

Clicked on the Playground link, I believe. will update.

gabriels1234 commented 2 days ago

Now I'm getting this:

BadSignature at /explorer/play/

image


Tried reverting versions, etc. will start afresh and see what happens.

gabriels1234 commented 2 days ago

Confirmed: running ==5.2 accessed via: /explorer/play

image
gabriels1234 commented 2 days ago

@marksweb I reverted to 3.2 and the issue is still there (it's a local copy, can destroy the db and try over and over). At this point I'd say the issue is in my code (maybe?), but just in case I'd check <textarea class="form-control" cols="40" id="id_sql" name="sql" rows="20">{{ query.sql }}</textarea> that has no checks for query.sql to exist. I can leave with: for the time being.