Skip to content

Commit

Permalink
drop support of Python 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Jan 31, 2020
1 parent 32cf7ae commit 2dcf7ad
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 11 deletions.
8 changes: 0 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ sudo: false
language: python

python:
- "3.5"
- "3.6"
- "3.7"

Expand All @@ -28,13 +27,6 @@ install:
- pip install -r requirements.txt

matrix:
exclude:
- python: "3.5"
env: DJANGO_VERSION="Django>=3.0,<3.1"
- python: "3.5"
env: DJANGO_VERSION="--pre Django>=3.1,<3.2"
- python: "3.5"
env: DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz'
allow_failures:
- env: DJANGO_VERSION="--pre Django>=3.1,<3.2"
- env: DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz'
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Changelog
* faster queries
* add Django 3.0 support
* invalidate cache on models save
* dropped support of Python 3.5 (in which cache invalidation does not work)

0.14.0 (2020-01-28)
------------------
Expand Down
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ This is application is fork of `django-admin-tools-stats <https://github.com/are

.. image:: https://github.com/PetrDlouhy/django-admin-charts/raw/develop/docs/source/_static/admin_dashboard.png

============
Requirements
============

Django>=2.0, Python>3.6

============
Installation
Expand Down
2 changes: 0 additions & 2 deletions admin_tools_stats/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ def get_context_data(self, *args, interval=None, graph_key=None, **kwargs):
class ChartDataView(TemplateView):
template_name = 'admin_tools_stats/chart_data.html'

cache_cache_name = "pages"

def get_context_data(self, *args, interval=None, graph_key=None, **kwargs):
context = super().get_context_data(*args, **kwargs)
interval = self.request.GET.get('select_box_interval', interval)
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ def parse_dependency_links(file_name):
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries :: Python Modules'
Expand Down

0 comments on commit 2dcf7ad

Please sign in to comment.