Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ COPY optional-requirements.txt /app/

# Install any needed packages specified in requirements.txt
RUN pip install Django==1.11.17
RUN pip install future==0.18.2
RUN pip install -r requirements.txt
RUN pip install -r optional-requirements.txt

Expand Down
2 changes: 1 addition & 1 deletion explorer/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals


from django.db import models, migrations
import django.db.models.deletion
Expand Down
2 changes: 1 addition & 1 deletion explorer/migrations/0002_auto_20150501_1515.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals


from django.db import models, migrations

Expand Down
2 changes: 1 addition & 1 deletion explorer/migrations/0003_query_snapshot.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals


from django.db import models, migrations

Expand Down
2 changes: 1 addition & 1 deletion explorer/migrations/0004_querylog_duration.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals


from django.db import migrations, models

Expand Down
2 changes: 1 addition & 1 deletion explorer/migrations/0005_querychangelog.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2022-03-25 05:46
from __future__ import unicode_literals


from django.conf import settings
from django.db import migrations, models
Expand Down
2 changes: 1 addition & 1 deletion explorer/migrations/0006_auto_20230207_0103.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals


from django.db import models, migrations

Expand Down
4 changes: 2 additions & 2 deletions explorer/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
is_pii_masked_for_user,
mask_player_pii,
)
from future.utils import python_2_unicode_compatible

from django.db import models, DatabaseError
from time import time
from django.urls import reverse
Expand All @@ -39,7 +39,7 @@
logger = logging.getLogger(__name__)


@python_2_unicode_compatible

class Query(models.Model):
title = models.CharField(max_length=255)
sql = models.TextField()
Expand Down
11 changes: 7 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ def read(fname):

setup(
name = "django-sql-explorer-squad",
version = "0.9.25",
author = "Chris Clark",
author_email = "chris@untrod.com",
version = "0.9.28",
author = "Hemendra sharma",
author_email = "hemendra.sharma@squadstack.com",
description = ("A pluggable app that allows users (admins) to execute SQL,"
" view, and export the results. Inspired by Stack Exchange Data Explorer."),
license = "MIT",
Expand All @@ -31,6 +31,9 @@ def read(fname):
'Framework :: Django :: 1.7',
'Framework :: Django :: 1.8',
'Framework :: Django :: 1.9',
'Framework :: Django :: 1.10',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
Expand All @@ -43,7 +46,7 @@ def read(fname):
'six>=1.10.0',
# custom deps
'ago==0.0.93',
'future==0.18.2' # py2/3 compatible libraries

],
include_package_data=True,
zip_safe = False,
Expand Down