diff --git a/auditlog_tests/test_settings.py b/auditlog_tests/test_settings.py index e8ac594..eb05b48 100644 --- a/auditlog_tests/test_settings.py +++ b/auditlog_tests/test_settings.py @@ -3,6 +3,8 @@ Settings file for the Auditlog test suite. """ import os +DEBUG = True + SECRET_KEY = 'test' INSTALLED_APPS = [ @@ -11,6 +13,7 @@ INSTALLED_APPS = [ 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.admin', + 'django.contrib.staticfiles', 'auditlog', 'auditlog_tests', ] @@ -41,6 +44,7 @@ TEMPLATES = [ 'DIRS': [], 'OPTIONS': { 'context_processors': [ + 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ] @@ -48,6 +52,8 @@ TEMPLATES = [ }, ] +STATIC_URL = '/static/' + ROOT_URLCONF = 'auditlog_tests.urls' USE_TZ = True diff --git a/docs/source/installation.rst b/docs/source/installation.rst index 9f7c2a8..4833db7 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -14,7 +14,7 @@ The repository can be found at https://github.com/jjkester/django-auditlog/. - Python 3.5 or higher - Django 2.2 or higher -Auditlog is currently tested with Python 3.5 - 3.8 and Django 2.2 and 3.0. The latest test report can be found +Auditlog is currently tested with Python 3.5 - 3.8 and Django 2.2, 3.0 and 3.1. The latest test report can be found at https://travis-ci.org/jjkester/django-auditlog. Adding Auditlog to your Django application diff --git a/requirements.txt b/requirements.txt index 7616965..7f57516 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ # Library requirements +Django django-jsonfield python-dateutil diff --git a/tox.ini b/tox.ini index 16f700f..39fbea2 100644 --- a/tox.ini +++ b/tox.ini @@ -2,6 +2,7 @@ envlist = {py35,py36,py37,py38}-django-22 {py36,py37,py38}-django-30 + {py36,py37,py38}-django-31 [testenv] setenv =