Support Django 3.1

This commit is contained in:
Jan-Jelle Kester 2020-08-31 13:57:10 +02:00
parent 2010b49d06
commit c619b8c606
4 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -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

View file

@ -1,4 +1,5 @@
# Library requirements
Django
django-jsonfield
python-dateutil

View file

@ -2,6 +2,7 @@
envlist =
{py35,py36,py37,py38}-django-22
{py36,py37,py38}-django-30
{py36,py37,py38}-django-31
[testenv]
setenv =