mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-03-16 22:20:26 +00:00
Support Django 3.1
This commit is contained in:
parent
2010b49d06
commit
c619b8c606
4 changed files with 9 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
# Library requirements
|
||||
Django
|
||||
django-jsonfield
|
||||
python-dateutil
|
||||
|
||||
|
|
|
|||
1
tox.ini
1
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 =
|
||||
|
|
|
|||
Loading…
Reference in a new issue