Hacker News new | ask | show | jobs
by ds_opseeker 717 days ago
Just discovered this and got the test project up and running... but wondering how to enable CSV import?

The "upload csv file" box does not show up in the test project.

1 comments

You got it! You'll need three values set in settings.py:

https://github.com/explorerhq/django-sql-explorer/blob/64170...

  def user_uploads_enabled():
      return (EXPLORER_USER_UPLOADS_ENABLED and
              EXPLORER_DB_CONNECTIONS_ENABLED and
              S3_BUCKET is not None)

It should be in the docs, but I'll make sure it's more prominent!