Skip to content

Commit

Permalink
bump version, fix py38 support
Browse files Browse the repository at this point in the history
  • Loading branch information
conformist-mw committed Nov 13, 2023
1 parent 359fdb3 commit 3e87f01
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 0.4.0

- integrate github actions
- fix py38 support

## 0.3.1

- fix an unclosed curly bracket
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Django Queries Count

[![check](https://github.com/conformist-mw/django-query-counter/actions/workflows/check.yml/badge.svg)](https://github.com/conformist-mw/django-query-counter/actions/workflows/check.yml)
[![PyPI version](https://badge.fury.io/py/django-query-counter.svg)](https://badge.fury.io/py/django-query-counter)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-query-counter)
![PyPI - Versions from Framework Classifiers](https://img.shields.io/pypi/frameworkversions/django/django-query-counter)
Expand Down
2 changes: 1 addition & 1 deletion query_counter/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.3.1'
__version__ = '0.4.0'

try:
import django
Expand Down
2 changes: 1 addition & 1 deletion query_counter/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def get_table(self, stats):
tablefmt=_get_value('DQC_TABULATE_FMT'),
)

def generate_all_queries_lines(self) -> list[str]:
def generate_all_queries_lines(self) -> List[str]:
lines = []
for query, count in Counter(
[q['sql'] for q in self.queries],
Expand Down

0 comments on commit 3e87f01

Please sign in to comment.