From a352d4c05c1a394320b630844f8611686e9f7b48 Mon Sep 17 00:00:00 2001 From: Chris Clark Date: Thu, 20 Jun 2024 21:21:17 -0400 Subject: [PATCH] 5.0b3 --- HISTORY.rst | 2 +- explorer/__init__.py | 2 +- .../connections/database_connection_detail.html | 14 +++++++++----- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index d373dff3..8f28e0b2 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -5,7 +5,7 @@ Change Log This document records all notable changes to `django-sql-explorer `_. This project adheres to `Semantic Versioning `_. -`5.0.b2`_ (2024-06-17) +`5.0.b3`_ (2024-06-20) =========================== * Manage DB connections via the UI (and/or Django Admin). Set EXPLORER_DB_CONNECTIONS_ENABLED diff --git a/explorer/__init__.py b/explorer/__init__.py index abbb9748..34c44e5b 100644 --- a/explorer/__init__.py +++ b/explorer/__init__.py @@ -3,7 +3,7 @@ "minor": 0, "patch": 0, "releaselevel": "beta", - "serial": 2 + "serial": 3 } diff --git a/explorer/templates/connections/database_connection_detail.html b/explorer/templates/connections/database_connection_detail.html index 29f6c673..dea0487e 100644 --- a/explorer/templates/connections/database_connection_detail.html +++ b/explorer/templates/connections/database_connection_detail.html @@ -15,21 +15,25 @@

Connection Details

Engine {{ object.get_engine_display }} + + Host + {{ object.host }} + {% if not object.is_upload %} User {{ object.user }} - - Host - {{ object.host }} - Port {{ object.port }} {% endif %} - Edit + {% if object.is_upload %} + The source of this connection is an uploaded file. + {% endif %} + Edit + {% endblock %}