├── .dockerignore ├── .github └── workflows │ ├── publish.yml │ └── test.yml ├── .gitignore ├── .readthedocs.yaml ├── Dockerfile ├── LICENSE ├── README.md ├── conftest.py ├── django_sql_dashboard ├── __init__.py ├── admin.py ├── apps.py ├── migrations │ ├── 0001_initial.py │ ├── 0002_dashboard_permissions.py │ ├── 0003_update_metadata.py │ ├── 0004_add_description_help_text.py │ └── __init__.py ├── models.py ├── templates │ └── django_sql_dashboard │ │ ├── _css.html │ │ ├── _script.html │ │ ├── base.html │ │ ├── dashboard.html │ │ ├── saved_dashboard.html │ │ └── widgets │ │ ├── _base_widget.html │ │ ├── bar_label-bar_quantity.html │ │ ├── big_number-label.html │ │ ├── completed_count-total_count.html │ │ ├── default.html │ │ ├── error.html │ │ ├── html.html │ │ ├── markdown.html │ │ └── wordcloud_count-wordcloud_word.html ├── templatetags │ ├── __init__.py │ └── django_sql_dashboard.py ├── urls.py ├── utils.py └── views.py ├── docker-compose.yml ├── docs ├── .gitignore ├── Makefile ├── bar_label-bar_quantity.png ├── big_number-label.png ├── completed_count-total_count.png ├── conf.py ├── contributing.md ├── index.md ├── requirements.txt ├── saved-dashboards.md ├── security.md ├── setup.md ├── sql.md ├── widgets.md └── wordcloud_count-wordcloud_word.png ├── pyproject.toml ├── pytest.ini ├── pytest_plugins ├── __init__.py └── pytest_use_postgresql.py ├── setup.py └── test_project ├── config ├── __init__.py ├── asgi.py ├── settings.py ├── settings_interactive.py ├── urls.py └── wsgi.py ├── extra_models └── models.py ├── manage.py ├── test_dashboard.py ├── test_dashboard_permissions.py ├── test_docs.py ├── test_export.py ├── test_parameters.py ├── test_save_dashboard.py ├── test_utils.py ├── test_widgets.py └── wait-for-postgres.sh /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/.gitignore -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/README.md -------------------------------------------------------------------------------- /conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/conftest.py -------------------------------------------------------------------------------- /django_sql_dashboard/__init__.py: -------------------------------------------------------------------------------- 1 | urls = "django_sql_dashboard.urls" 2 | -------------------------------------------------------------------------------- /django_sql_dashboard/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/admin.py -------------------------------------------------------------------------------- /django_sql_dashboard/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/apps.py -------------------------------------------------------------------------------- /django_sql_dashboard/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/migrations/0001_initial.py -------------------------------------------------------------------------------- /django_sql_dashboard/migrations/0002_dashboard_permissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/migrations/0002_dashboard_permissions.py -------------------------------------------------------------------------------- /django_sql_dashboard/migrations/0003_update_metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/migrations/0003_update_metadata.py -------------------------------------------------------------------------------- /django_sql_dashboard/migrations/0004_add_description_help_text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/migrations/0004_add_description_help_text.py -------------------------------------------------------------------------------- /django_sql_dashboard/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_sql_dashboard/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/models.py -------------------------------------------------------------------------------- /django_sql_dashboard/templates/django_sql_dashboard/_css.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/templates/django_sql_dashboard/_css.html -------------------------------------------------------------------------------- /django_sql_dashboard/templates/django_sql_dashboard/_script.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/templates/django_sql_dashboard/_script.html -------------------------------------------------------------------------------- /django_sql_dashboard/templates/django_sql_dashboard/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/templates/django_sql_dashboard/base.html -------------------------------------------------------------------------------- /django_sql_dashboard/templates/django_sql_dashboard/dashboard.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/templates/django_sql_dashboard/dashboard.html -------------------------------------------------------------------------------- /django_sql_dashboard/templates/django_sql_dashboard/saved_dashboard.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/templates/django_sql_dashboard/saved_dashboard.html -------------------------------------------------------------------------------- /django_sql_dashboard/templates/django_sql_dashboard/widgets/_base_widget.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/templates/django_sql_dashboard/widgets/_base_widget.html -------------------------------------------------------------------------------- /django_sql_dashboard/templates/django_sql_dashboard/widgets/bar_label-bar_quantity.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/templates/django_sql_dashboard/widgets/bar_label-bar_quantity.html -------------------------------------------------------------------------------- /django_sql_dashboard/templates/django_sql_dashboard/widgets/big_number-label.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/templates/django_sql_dashboard/widgets/big_number-label.html -------------------------------------------------------------------------------- /django_sql_dashboard/templates/django_sql_dashboard/widgets/completed_count-total_count.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/templates/django_sql_dashboard/widgets/completed_count-total_count.html -------------------------------------------------------------------------------- /django_sql_dashboard/templates/django_sql_dashboard/widgets/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/templates/django_sql_dashboard/widgets/default.html -------------------------------------------------------------------------------- /django_sql_dashboard/templates/django_sql_dashboard/widgets/error.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/templates/django_sql_dashboard/widgets/error.html -------------------------------------------------------------------------------- /django_sql_dashboard/templates/django_sql_dashboard/widgets/html.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/templates/django_sql_dashboard/widgets/html.html -------------------------------------------------------------------------------- /django_sql_dashboard/templates/django_sql_dashboard/widgets/markdown.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/templates/django_sql_dashboard/widgets/markdown.html -------------------------------------------------------------------------------- /django_sql_dashboard/templates/django_sql_dashboard/widgets/wordcloud_count-wordcloud_word.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/templates/django_sql_dashboard/widgets/wordcloud_count-wordcloud_word.html -------------------------------------------------------------------------------- /django_sql_dashboard/templatetags/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_sql_dashboard/templatetags/django_sql_dashboard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/templatetags/django_sql_dashboard.py -------------------------------------------------------------------------------- /django_sql_dashboard/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/urls.py -------------------------------------------------------------------------------- /django_sql_dashboard/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/utils.py -------------------------------------------------------------------------------- /django_sql_dashboard/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/django_sql_dashboard/views.py -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | _build 2 | -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/bar_label-bar_quantity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/docs/bar_label-bar_quantity.png -------------------------------------------------------------------------------- /docs/big_number-label.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/docs/big_number-label.png -------------------------------------------------------------------------------- /docs/completed_count-total_count.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/docs/completed_count-total_count.png -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/contributing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/docs/contributing.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/docs/requirements.txt -------------------------------------------------------------------------------- /docs/saved-dashboards.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/docs/saved-dashboards.md -------------------------------------------------------------------------------- /docs/security.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/docs/security.md -------------------------------------------------------------------------------- /docs/setup.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/docs/setup.md -------------------------------------------------------------------------------- /docs/sql.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/docs/sql.md -------------------------------------------------------------------------------- /docs/widgets.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/docs/widgets.md -------------------------------------------------------------------------------- /docs/wordcloud_count-wordcloud_word.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/docs/wordcloud_count-wordcloud_word.png -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.isort] 2 | profile = "black" 3 | multi_line_output = 3 4 | -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/pytest.ini -------------------------------------------------------------------------------- /pytest_plugins/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pytest_plugins/pytest_use_postgresql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/pytest_plugins/pytest_use_postgresql.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/setup.py -------------------------------------------------------------------------------- /test_project/config/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_project/config/asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/test_project/config/asgi.py -------------------------------------------------------------------------------- /test_project/config/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/test_project/config/settings.py -------------------------------------------------------------------------------- /test_project/config/settings_interactive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/test_project/config/settings_interactive.py -------------------------------------------------------------------------------- /test_project/config/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/test_project/config/urls.py -------------------------------------------------------------------------------- /test_project/config/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/test_project/config/wsgi.py -------------------------------------------------------------------------------- /test_project/extra_models/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/test_project/extra_models/models.py -------------------------------------------------------------------------------- /test_project/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/test_project/manage.py -------------------------------------------------------------------------------- /test_project/test_dashboard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/test_project/test_dashboard.py -------------------------------------------------------------------------------- /test_project/test_dashboard_permissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/test_project/test_dashboard_permissions.py -------------------------------------------------------------------------------- /test_project/test_docs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/test_project/test_docs.py -------------------------------------------------------------------------------- /test_project/test_export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/test_project/test_export.py -------------------------------------------------------------------------------- /test_project/test_parameters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/test_project/test_parameters.py -------------------------------------------------------------------------------- /test_project/test_save_dashboard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/test_project/test_save_dashboard.py -------------------------------------------------------------------------------- /test_project/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/test_project/test_utils.py -------------------------------------------------------------------------------- /test_project/test_widgets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/test_project/test_widgets.py -------------------------------------------------------------------------------- /test_project/wait-for-postgres.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/django-sql-dashboard/HEAD/test_project/wait-for-postgres.sh --------------------------------------------------------------------------------