simonw / django-sql-dashboard

Django app for building dashboards using raw SQL queries
https://django-sql-dashboard.datasette.io/
Apache License 2.0
437 stars 37 forks source link

Setting to automatically upgrade old signed base64/JSON URLs #65

Closed simonw closed 3 years ago

simonw commented 3 years ago

Have an optional upgrade path (controlled by a setting, off by default) where if a signed ?sql= string appears to be a base64 encoded JSON object with a valid signature we decode that and redirect to the new-style raw SQL URLs

Originally posted by @simonw in https://github.com/simonw/django-sql-dashboard/issues/45#issuecomment-819221216

simonw commented 3 years ago

It's DASHBOARD_UPGRADE_OLD_BASE64_LINKS = True in settings.py.